|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.cometway.om.ObjectType
com.cometway.om.ObjectID
public class ObjectID
This class uniquely identifies an Object contained within an ObjectManager.
| Field Summary | |
|---|---|
protected java.lang.String |
id
|
| Fields inherited from class com.cometway.om.ObjectType |
|---|
type |
| Constructor Summary | |
|---|---|
ObjectID(java.lang.String objectID)
Takes a fully qualified type/id string using the format "type|id". |
|
ObjectID(java.lang.String type,
java.lang.String id)
Object type and id parameters must be only alphanumeric characters including underscores ('_'). |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
Returns true of the specified Object is equal to this one. |
java.lang.String |
getID()
Returns the ID for this class. |
int |
hashCode()
Returns the hashcode for this class. |
java.lang.String |
toString()
Returns this type as a String. |
| Methods inherited from class com.cometway.om.ObjectType |
|---|
getType |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String id
| Constructor Detail |
|---|
public ObjectID(java.lang.String type,
java.lang.String id)
public ObjectID(java.lang.String objectID)
| Method Detail |
|---|
public java.lang.String getID()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
ObjectType
equals in class ObjectTypepublic java.lang.String toString()
ObjectType
toString in class ObjectType
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||