|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
A representation of a unique identity held by various cog-core objects. An
Identity is a URI, collectively composed of a
namespece and value. A sample
Identity looks as follows:
urn:<namespace>:<value>
| Method Summary | |
boolean |
equals(Identity id)
Compares this Identity. |
String |
getNameSpace()
Returns the namespace for this Identity. |
long |
getValue()
Returns the value for this Identity. |
void |
setNameSpace(String namespace)
Sets the namespace for this Identity. |
void |
setValue(long value)
Sets the value for this Identity. |
| Method Detail |
public void setNameSpace(String namespace)
Identity.
namespace - a string representing the namespace for this
Identity.public String getNameSpace()
Identity.
Identitypublic void setValue(long value)
Identity.
value - a numeric value representing the namespace for this
Identity.public long getValue()
Identity.
Identitypublic boolean equals(Identity id)
Identity.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||