|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sas.hls.common.AbstractIdentifiable
public abstract class AbstractIdentifiable
An abstract parent class for objects implementing the Identifiable interface.
Constructor Summary | |
---|---|
AbstractIdentifiable()
Zero-arg constructor |
|
AbstractIdentifiable(String objectType)
Constructor |
|
AbstractIdentifiable(String objectType,
String identifier)
Constructor |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getIdentifier()
Get the identifier of this object. |
String |
getObjectType()
Get the object type of this item. |
int |
hashCode()
|
void |
setIdentifier(String identifier)
Set the identifier of this object. |
void |
setObjectType(String objectType)
Set the type of object this represents. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractIdentifiable()
public AbstractIdentifiable(String objectType)
objectType
- the type of object being created.public AbstractIdentifiable(String objectType, String identifier)
objectType
- the type of object being created.identifier
- the identifier of the object being created.Method Detail |
---|
public String getIdentifier()
Identifiable
getIdentifier
in interface Identifiable
public String getObjectType()
Identifiable
getObjectType
in interface Identifiable
public void setIdentifier(String identifier)
identifier
- public void setObjectType(String objectType)
objectType
- public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |