|
Oracle Role Manager Java API Reference 10g (10.1.4) E12031-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.iam.rm.server_api.EntityKey
public class EntityKey
A Serializable identifier for objects from the server.
Constructor Summary | |
---|---|
EntityKey(java.lang.String encodedValue) Creates a new EntityKey from its string encoded form from toString() . |
|
EntityKey(java.lang.String type, long uniqueId) Creates a new EntityKey from its constituent data. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getType() Gets the root type of object for this key. |
long |
getUniqueId() Gets the unique identifier for this object. |
int |
hashCode() |
java.lang.String |
toString() |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EntityKey(java.lang.String type, long uniqueId)
type
- root type of object for this key. Must not be null.uniqueId
- the unique identifier for this objectpublic EntityKey(java.lang.String encodedValue) throws java.text.ParseException
toString()
.
encodedValue
- encoded string value for this keyjava.text.ParseException
- if the encoded value is in the wrong formatMethod Detail |
---|
public java.lang.String getType()
String
representing the root type of object for this key.public long getUniqueId()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
Oracle Role Manager Java API Reference 10g (10.1.4) E12031-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |