@MappedSuperclass public abstract class BaseEntity extends NetworkedEntity
SimpleEntity), this class has
also a version (used for
optimistic locking) and has a defining Network| Constructor and Description |
|---|
BaseEntity() |
| Modifier and Type | Method and Description |
|---|---|
DataTranslationType |
getDataTranslationType()
If this entity allows data translation, should return the translation type
|
EntityLogType |
getLogType()
If this entity generates log then it must returns its
EntityLogType. |
java.lang.Integer |
getVersion() |
getNetwork, isGlobalclone, equals, getId, getId, getIds, getUniqueIds, getUniqueIds, hashCode, isPersistent, isTransient, toStringpublic DataTranslationType getDataTranslationType()
public EntityLogType getLogType()
EntityLogType.EntityLogType. Null means it doesn't allow log.public java.lang.Integer getVersion()