Class AbstractEntityRecord

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected static long INITIAL_VERSION  
    • Constructor Summary

      Constructors 
      Constructor Description
      AbstractEntityRecord​(PK pk, java.lang.String type, long version)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      PK getPK()
      Returns PK of changed model.
      java.lang.String getType()
      Returns type code of changed model.
      long getVersion()
      Returns version for optimistic counter.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface de.hybris.platform.directpersistence.record.EntityRecord

        accept
    • Constructor Detail

      • AbstractEntityRecord

        public AbstractEntityRecord​(PK pk,
                                    java.lang.String type,
                                    long version)
    • Method Detail

      • getType

        public java.lang.String getType()
        Description copied from interface: EntityRecord
        Returns type code of changed model.
        Specified by:
        getType in interface EntityRecord
      • getVersion

        public long getVersion()
        Description copied from interface: EntityRecord
        Returns version for optimistic counter.
        Specified by:
        getVersion in interface EntityRecord
        Returns:
        version for optimistic counter