@MappedSuperclass public abstract class WebCmsObjectInheritanceSuperClass<T extends WebCmsObjectInheritanceSuperClass<T>> extends WebCmsObjectSuperClass<T>
WebCmsObjectSuperClass with the base columns for a joined inheritance strategy, using an object type discriminator column.
Implementing entities should have their discriminator column named object_type and should map it readonly to getObjectType().| Modifier and Type | Field and Description |
|---|---|
static String |
DISCRIMINATOR_COLUMN
Name of the discriminator column, mapped readonly.
|
| Modifier | Constructor and Description |
|---|---|
protected |
WebCmsObjectInheritanceSuperClass() |
protected |
WebCmsObjectInheritanceSuperClass(Long id,
Long newEntityId,
String objectId,
String createdBy,
Date createdDate,
String lastModifiedBy,
Date lastModifiedDate,
WebCmsDomain domain) |
| Modifier and Type | Method and Description |
|---|---|
abstract String |
getObjectType() |
getObjectCollectionId, getObjectId, setObjectIdgetCreatedBy, getCreatedDate, getLastModifiedBy, getLastModifiedDate, setCreatedBy, setCreatedDate, setLastModifiedBy, setLastModifiedDateequals, getNewEntityId, hashCode, isNew, setId, setNewEntityId, toDtoclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitforObjectId, isNewgetDomain, setDomainpublic static final String DISCRIMINATOR_COLUMN
public abstract String getObjectType()
Copyright © 2020. All rights reserved.