public class OID extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
int |
hashCode
pre-created hasCode to improve performance *
|
Object |
oid
The identity.
|
String |
pcClass
The PersistenceCapable class name
|
String |
toString
pre-created toString to improve performance *
|
| Constructor and Description |
|---|
OID()
Creates an OID with the no value.
|
OID(String str)
Constructs an OID from its string representation that is
consistent with the output of toString().
|
OID(String pcClass,
Object object)
Create a string datastore identity
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Equality operator.
|
Object |
getNewObjectIdCopy()
Returns copy of the requested oid to be accessed by the user.
|
String |
getPcClass()
Accessor for the PC class name
|
int |
hashCode()
Accessor for the hashcode
|
Object |
keyValue()
Provides the OID in a form that can be used by the database as a key.
|
String |
toString()
Returns the string representation of the OID.
|
public final Object oid
public final String pcClass
public final String toString
public final int hashCode
public OID()
public OID(String pcClass, Object object)
pcClass - The PersistenceCapable class that this representsobject - The valuepublic OID(String str) throws IllegalArgumentException
str - the string representation of an OID.IllegalArgumentException - if the given string representation is not valid.toStringpublic Object getNewObjectIdCopy()
public Object keyValue()
public boolean equals(Object obj)
public int hashCode()
public String toString()
public String getPcClass()
Copyright © 2003-2014 The Apache Software Foundation. All Rights Reserved.