public abstract class AbstractRevisionable extends AbstractIdentifiable implements Revisionable
Revisionable
interface.REVISION_ATTRIBUTE
Constructor and Description |
---|
AbstractRevisionable(String typeId,
String id,
long revision)
Constructs an
AbstractRevisionable with the specified object type and identifier. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
long |
getRevision() |
int |
hashCode() |
String |
toString() |
getId, getTypeId
public AbstractRevisionable(String typeId, String id, long revision)
AbstractRevisionable
with the specified object type and identifier.typeId
- the object type of the object, typically set by implementing classes.id
- the unique identifier for the object instance.revision
- The internal revision number.public long getRevision()
getRevision
in interface Revisionable
public int hashCode()
hashCode
in class AbstractIdentifiable
public boolean equals(Object obj)
equals
in class AbstractIdentifiable
public String toString()
toString
in class AbstractIdentifiable
<i>Copyright (c) 2022, SAS Institute Inc., Cary, NC, USA</i>