Package com.sas.lsaf.core
Class AbstractIdentifiable
java.lang.Object
com.sas.lsaf.core.AbstractIdentifiable
- All Implemented Interfaces:
Identifiable,Serializable
- Direct Known Subclasses:
AbstractRevisionable,AclMembers,AclOwner,AnalysisDataset,AnalysisResult,AttributeDefinition,AttributeValue,AuditEntry,CompletedElement,DictionaryDescriptor,Element,ExternalDictionary,GlobalPrivilege,GroupDescriptor,MembershipDescriptor,ModelDescriptor,ObjectIdentity,ProcessDefinitionInfo,ProcessFlowDescriptor,RepositoryItem,RoleDescriptor,ScheduleDescriptor,ScopedPrivilege,SectionDescriptor,Session,SharedWorkspaceEntry,StandardDescriptor,Study,TlfDescriptor,TypeDescriptor,UserDescriptor
An abstract parent class for objects implementing the
Identifiable interface.- Since:
- 1.1
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
AbstractIdentifiable
Constructor.- Parameters:
typeId- the object type of the object, typically set by implementing classes.id- the unique identifier for the object instance.
-
-
Method Details
-
getId
Description copied from interface:IdentifiableReturns the unique identifier for this object instance. In most cases, this value will beUUID.randomUUID()but it is up to specific implementations to decide.- Specified by:
getIdin interfaceIdentifiable- Returns:
- the unique identifier for this object instance.
-
getTypeId
Description copied from interface:IdentifiableReturns the identifying type for this object. This type identifier may be defined in theTypeServicebut that is not a requirement. The type should be sufficiently unique within the system that implementers can identify their own object instances and provide lookup routines when necessary.- Specified by:
getTypeIdin interfaceIdentifiable- Returns:
- the identifying type for this object.
-
hashCode
public int hashCode() -
equals
-
toString
-