| Oracle Repository API and Model Reference Guide |
java.lang.Object | +--oracle.repos.services.RID
This class acts as a wrapper for a Repository instance ID - it contains both the IRID and IVID components of a versioned object instance, expressed as range-safe oracle.repos.services.GID types.
oracle.repos.services.GID| Field Summary | |
(package private)
oracle.repos.services.GID |
m_gidIRID |
(package private)
oracle.repos.services.GID |
m_gidIVID |
| Constructor Summary |
RID(oracle.repos.services.GID gidIRID,
oracle.repos.services.GID gidIVID) Creates a RID instance from an IRID/IVID pair |
RID(Number nIRID,
Number nIVID) Utility constructor to create a new RID based on an IRID/IVID pair expressed as Numbers. |
RID(String str) Utility constructor to create a new RID based on an IRID/IVID pair as a concatentated string (as returned by toString() method) |
RID(String strIRID,
String strIVID) Utility constructor to create a new RID based on an IRID/IVID pair expressed as strings. |
| Method Summary | |
boolean |
equals(Object obj) Equality operator for RID values. |
oracle.repos.services.GID |
getIRID() Returns the IRID component of this object version instance ID |
oracle.repos.services.GID |
getIVID() Returns the IVID component of this object version instance ID |
int |
hashCode() Method added at the BM hacker team. |
boolean |
isNull() |
void |
resetIVID(oracle.repos.services.GID ivid) |
String |
toString() Express this RID value as a string. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
oracle.repos.services.GID m_gidIRID
oracle.repos.services.GID m_gidIVID
| Constructor Detail |
public RID(oracle.repos.services.GIDgidIRID,oracle.repos.services.GIDgidIVID)
gidIRID - the instance IRIDgidIVID - the instance IVID
public RID(String strIRID,
String strIVID)
throws NumberFormatException
strIRID - the instance IRID stringstrIVID - the instance IVID string
public RID(String str)
throws NumberFormatException
the - string representation
public RID(Number nIRID,
Number nIVID)
nIRID - the instance IRID NumbernIVID - the instance IVID Number
| Method Detail |
public oracle.repos.services.GID getIRID()
public oracle.repos.services.GID getIVID()
public String toString()
public void resetIVID(oracle.repos.services.GID ivid)
public boolean equals(Object obj)
obj - the reference object with which to compare.public int hashCode()
public boolean isNull()
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |