|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.openjpa.xmlstore.ObjectData
public final class ObjectData
In-memory form of data in datastore backing a single persistent object.
Constructor Summary | |
---|---|
ObjectData(Object oid,
ClassMetaData meta)
Create the object without underlying data. |
Method Summary | |
---|---|
Object |
clone()
Clone this data. |
Object |
getField(int num)
Get the data for the field with the given index. |
Object |
getId()
Getter for oid. |
ClassMetaData |
getMetaData()
Get the metadata associated with the type of persistent object for which this data applies. |
Long |
getVersion()
Get the version number of the object. |
void |
load(OpenJPAStateManager sm,
BitSet fields,
FetchConfiguration fetch)
Load the data and version information for this object into the given state manager. |
void |
load(OpenJPAStateManager sm,
FetchConfiguration fetch)
Load the data and version information for this object into the given state manager. |
void |
setField(int num,
Object val)
Set the data for the field with the given index. |
void |
setVersion(Long version)
Set the version number of the object. |
void |
store(OpenJPAStateManager sm)
Store the data and version information for this object from the given state manager. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ObjectData(Object oid, ClassMetaData meta)
Method Detail |
---|
public Object getId()
public Object getField(int num)
public void setField(int num, Object val)
public void setVersion(Long version)
public Long getVersion()
public ClassMetaData getMetaData()
public void load(OpenJPAStateManager sm, FetchConfiguration fetch)
public void load(OpenJPAStateManager sm, BitSet fields, FetchConfiguration fetch)
public void store(OpenJPAStateManager sm)
public Object clone()
clone
in class Object
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |