Class ObjectDescriptor
- java.lang.Object
-
- org.eclipse.persistence.internal.sessions.remote.ObjectDescriptor
-
- All Implemented Interfaces:
java.io.Serializable
public class ObjectDescriptor extends java.lang.Object implements java.io.SerializableStores object description. The object descriptor is constructed and serialized as part of transporter.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.ObjectkeyA primary keyprotected java.lang.ObjectobjectThe domain objectprotected longreadTimeThe read time for the objectprotected java.lang.ObjectwriteLockValueA write lock value
-
Constructor Summary
Constructors Constructor Description ObjectDescriptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectgetKey()Return primary key values of an associated objectjava.lang.ObjectgetObject()Return the domain objectlonggetReadTime()Return the read time of the associated objectjava.lang.ObjectgetWriteLockValue()Return the write lock value of an associated objectvoidsetKey(java.lang.Object key)Set primary key values of an associated objectvoidsetObject(java.lang.Object object)Set an objectvoidsetReadTime(long readTime)Set the read timevoidsetWriteLockValue(java.lang.Object writeLockValue)Set write lock value of an associated object
-
-
-
Method Detail
-
getKey
public java.lang.Object getKey()
Return primary key values of an associated object
-
getObject
public java.lang.Object getObject()
Return the domain object
-
getReadTime
public long getReadTime()
Return the read time of the associated object
-
getWriteLockValue
public java.lang.Object getWriteLockValue()
Return the write lock value of an associated object
-
setKey
public void setKey(java.lang.Object key)
Set primary key values of an associated object
-
setObject
public void setObject(java.lang.Object object)
Set an object
-
setReadTime
public void setReadTime(long readTime)
Set the read time
-
setWriteLockValue
public void setWriteLockValue(java.lang.Object writeLockValue)
Set write lock value of an associated object
-
-