Package com.sas.lsaf.core
Class AbstractRevisionable
java.lang.Object
com.sas.lsaf.core.AbstractIdentifiable
com.sas.lsaf.core.AbstractRevisionable
- All Implemented Interfaces:
Identifiable,Revisionable,Serializable
- Direct Known Subclasses:
TlfTemplate
Abstract implementation of the
Revisionable interface.- Since:
- 2.5
- See Also:
-
Field Summary
Fields inherited from interface com.sas.lsaf.core.Revisionable
REVISION_ATTRIBUTE -
Constructor Summary
ConstructorsConstructorDescriptionAbstractRevisionable(String typeId, String id, long revision) Constructs anAbstractRevisionablewith the specified object type and identifier. -
Method Summary
Methods inherited from class com.sas.lsaf.core.AbstractIdentifiable
getId, getTypeId
-
Constructor Details
-
AbstractRevisionable
Constructs anAbstractRevisionablewith the specified object type and identifier.- Parameters:
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.
-
-
Method Details
-
getRevision
public long getRevision()- Specified by:
getRevisionin interfaceRevisionable
-
hashCode
public int hashCode()- Overrides:
hashCodein classAbstractIdentifiable
-
equals
- Overrides:
equalsin classAbstractIdentifiable
-
toString
- Overrides:
toStringin classAbstractIdentifiable
-