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 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
-
-
-
-
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:EntityRecord
Returns PK of changed model.- Specified by:
getPK
in interfaceEntityRecord
-
getType
public java.lang.String getType()
Description copied from interface:EntityRecord
Returns type code of changed model.- Specified by:
getType
in interfaceEntityRecord
-
getVersion
public long getVersion()
Description copied from interface:EntityRecord
Returns version for optimistic counter.- Specified by:
getVersion
in interfaceEntityRecord
- Returns:
- version for optimistic counter
-
-