Class ObjectDescriptor

  • All Implemented Interfaces:
    java.io.Serializable

    public class ObjectDescriptor
    extends java.lang.Object
    implements java.io.Serializable
    Stores 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.Object key
      A primary key
      protected java.lang.Object object
      The domain object
      protected long readTime
      The read time for the object
      protected java.lang.Object writeLockValue
      A write lock value
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object getKey()
      Return primary key values of an associated object
      java.lang.Object getObject()
      Return the domain object
      long getReadTime()
      Return the read time of the associated object
      java.lang.Object getWriteLockValue()
      Return the write lock value of an associated object
      void setKey​(java.lang.Object key)
      Set primary key values of an associated object
      void setObject​(java.lang.Object object)
      Set an object
      void setReadTime​(long readTime)
      Set the read time
      void setWriteLockValue​(java.lang.Object writeLockValue)
      Set write lock value of an associated object
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • key

        protected java.lang.Object key
        A primary key
      • writeLockValue

        protected java.lang.Object writeLockValue
        A write lock value
      • object

        protected java.lang.Object object
        The domain object
      • readTime

        protected long readTime
        The read time for the object
    • Constructor Detail

      • ObjectDescriptor

        public ObjectDescriptor()
    • 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