|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sas.hls.common.ObjectIdentity
public class ObjectIdentity
ObjectIdentity uniquely identifies an object anywhere in the system. It is a combination of identifier and object type.
Constructor Summary | |
---|---|
ObjectIdentity()
Zero-arg constructor for an ObjectIdentity. |
|
ObjectIdentity(String objectType,
String identifier)
Constructor for an ObjectIdentity taking the object type and identifier. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
Indicate whether some other object is "equal to" this one. |
String |
getIdentifier()
Get the identifier of the object this objectIdentity refers to. |
String |
getObjectType()
Get the type of object this objectIdentity refers to. |
int |
hashCode()
Return a hash code value for the object. |
void |
setIdentifier(String identifier)
Set the identifier of this objectIdentity. |
void |
setObjectType(String objectType)
Set the objectType of this objectIdentity. |
String |
toString()
Return a string representation of the object. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ObjectIdentity()
public ObjectIdentity(String objectType, String identifier)
objectType
- The type of object this objectIdentity refers to.identifier
- The identifier of the object this objectIdentity refers to.Method Detail |
---|
public String getObjectType()
getObjectType
in interface Identifiable
public String getIdentifier()
getIdentifier
in interface Identifiable
public void setIdentifier(String identifier)
identifier
- the identifier to setpublic void setObjectType(String objectType)
objectType
- the objectType to setpublic boolean equals(Object obj)
equals
in class Object
Object.equals(java.lang.Object)
public int hashCode()
hashCode
in class Object
Object.hashCode()
public String toString()
toString
in class Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |