Module org.eclipse.persistence.core
Class ObjectDescriptor
java.lang.Object
org.eclipse.persistence.internal.sessions.remote.ObjectDescriptor
- All Implemented Interfaces:
Serializable
Stores object description. The object descriptor is constructed and serialized as part of transporter.
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetKey()
Return primary key values of an associated objectReturn the domain objectlong
Return the read time of the associated objectReturn the write lock value of an associated objectvoid
Set primary key values of an associated objectvoid
Set an objectvoid
setReadTime
(long readTime) Set the read timevoid
setWriteLockValue
(Object writeLockValue) Set write lock value of an associated object
-
Field Details
-
key
A primary key -
writeLockValue
A write lock value -
object
The domain object -
readTime
protected long readTimeThe read time for the object
-
-
Constructor Details
-
ObjectDescriptor
public ObjectDescriptor()
-
-
Method Details
-
getKey
Return primary key values of an associated object -
getObject
Return the domain object -
getReadTime
public long getReadTime()Return the read time of the associated object -
getWriteLockValue
Return the write lock value of an associated object -
setKey
Set primary key values of an associated object -
setObject
Set an object -
setReadTime
public void setReadTime(long readTime) Set the read time -
setWriteLockValue
Set write lock value of an associated object
-