Class AbstractEntityRecord
- java.lang.Object
-
- de.hybris.platform.directpersistence.record.impl.AbstractEntityRecord
-
- All Implemented Interfaces:
EntityRecord,Record
- Direct Known Subclasses:
AbstractModificationRecord,DeleteRecord
public abstract class AbstractEntityRecord extends java.lang.Object implements EntityRecord
Abstract record implementing PK and table name.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface de.hybris.platform.directpersistence.record.EntityRecord
EntityRecord.EntityRecordVisitor<V>
-
-
Field Summary
Fields Modifier and Type Field Description protected static longINITIAL_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 PKgetPK()Returns PK of changed model.java.lang.StringgetType()Returns type code of changed model.longgetVersion()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
-
-
-
-
Field Detail
-
INITIAL_VERSION
protected static final long INITIAL_VERSION
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AbstractEntityRecord
public AbstractEntityRecord(PK pk, java.lang.String type, long version)
-
-
Method Detail
-
getPK
public PK getPK()
Description copied from interface:EntityRecordReturns PK of changed model.- Specified by:
getPKin interfaceEntityRecord
-
getType
public java.lang.String getType()
Description copied from interface:EntityRecordReturns type code of changed model.- Specified by:
getTypein interfaceEntityRecord
-
getVersion
public long getVersion()
Description copied from interface:EntityRecordReturns version for optimistic counter.- Specified by:
getVersionin interfaceEntityRecord- Returns:
- version for optimistic counter
-
-