public class MappedSuperclass extends java.lang.Object implements Mapping, Keyable<java.lang.String>
Java class for mapped-superclass complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="mapped-superclass"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="id-class" type="{http://java.sun.com/xml/ns/persistence/orm}id-class" minOccurs="0"/> <element name="exclude-default-listeners" type="{http://java.sun.com/xml/ns/persistence/orm}emptyType" minOccurs="0"/> <element name="exclude-superclass-listeners" type="{http://java.sun.com/xml/ns/persistence/orm}emptyType" minOccurs="0"/> <element name="entity-listeners" type="{http://java.sun.com/xml/ns/persistence/orm}entity-listeners" minOccurs="0"/> <element name="pre-persist" type="{http://java.sun.com/xml/ns/persistence/orm}pre-persist" minOccurs="0"/> <element name="post-persist" type="{http://java.sun.com/xml/ns/persistence/orm}post-persist" minOccurs="0"/> <element name="pre-remove" type="{http://java.sun.com/xml/ns/persistence/orm}pre-remove" minOccurs="0"/> <element name="post-remove" type="{http://java.sun.com/xml/ns/persistence/orm}post-remove" minOccurs="0"/> <element name="pre-update" type="{http://java.sun.com/xml/ns/persistence/orm}pre-update" minOccurs="0"/> <element name="post-update" type="{http://java.sun.com/xml/ns/persistence/orm}post-update" minOccurs="0"/> <element name="post-load" type="{http://java.sun.com/xml/ns/persistence/orm}post-load" minOccurs="0"/> <element name="attributes" type="{http://java.sun.com/xml/ns/persistence/orm}attributes" minOccurs="0"/> </sequence> <attribute name="access" type="{http://java.sun.com/xml/ns/persistence/orm}access-type" /> <attribute name="class" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="metadata-complete" type="{http://www.w3.org/2001/XMLSchema}boolean" /> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected AccessType |
access |
protected Attributes |
attributes |
protected java.lang.String |
clazz |
protected java.lang.String |
description |
protected EntityListeners |
entityListeners |
protected EmptyType |
excludeDefaultListeners |
protected EmptyType |
excludeSuperclassListeners |
protected IdClass |
idClass |
protected java.lang.Boolean |
metadataComplete |
protected PostLoad |
postLoad |
protected PostPersist |
postPersist |
protected PostRemove |
postRemove |
protected PostUpdate |
postUpdate |
protected PrePersist |
prePersist |
protected PreRemove |
preRemove |
protected PreUpdate |
preUpdate |
Constructor and Description |
---|
MappedSuperclass() |
MappedSuperclass(java.lang.String clazz) |
Modifier and Type | Method and Description |
---|---|
void |
addField(Field field) |
AccessType |
getAccess()
Gets the value of the access property.
|
Attributes |
getAttributes()
Gets the value of the attributes property.
|
java.lang.String |
getClazz()
Gets the value of the clazz property.
|
java.lang.String |
getDescription()
Gets the value of the description property.
|
EntityListeners |
getEntityListeners()
Gets the value of the entityListeners property.
|
IdClass |
getIdClass()
Gets the value of the idClass property.
|
java.lang.String |
getKey()
Gets the immutable key for this object.
|
PostLoad |
getPostLoad()
Gets the value of the postLoad property.
|
PostPersist |
getPostPersist()
Gets the value of the postPersist property.
|
PostRemove |
getPostRemove()
Gets the value of the postRemove property.
|
PostUpdate |
getPostUpdate()
Gets the value of the postUpdate property.
|
PrePersist |
getPrePersist()
Gets the value of the prePersist property.
|
PreRemove |
getPreRemove()
Gets the value of the preRemove property.
|
PreUpdate |
getPreUpdate()
Gets the value of the preUpdate property.
|
boolean |
isExcludeDefaultListeners()
Gets the value of the excludeDefaultListeners property.
|
boolean |
isExcludeSuperclassListeners()
Gets the value of the excludeSuperclassListeners property.
|
java.lang.Boolean |
isMetadataComplete()
Gets the value of the metadataComplete property.
|
void |
setAccess(AccessType value)
Sets the value of the access property.
|
void |
setAttributes(Attributes value)
Sets the value of the attributes property.
|
void |
setClazz(java.lang.String value)
Sets the value of the clazz property.
|
void |
setDescription(java.lang.String value)
Sets the value of the description property.
|
void |
setEntityListeners(EntityListeners value)
Sets the value of the entityListeners property.
|
void |
setExcludeDefaultListeners(boolean value)
Sets the value of the excludeDefaultListeners property.
|
void |
setExcludeSuperclassListeners(boolean value)
Sets the value of the excludeSuperclassListeners property.
|
void |
setIdClass(IdClass value)
Sets the value of the idClass property.
|
void |
setMetadataComplete(java.lang.Boolean value)
Sets the value of the metadataComplete property.
|
void |
setPostLoad(PostLoad value)
Sets the value of the postLoad property.
|
void |
setPostPersist(PostPersist value)
Sets the value of the postPersist property.
|
void |
setPostRemove(PostRemove value)
Sets the value of the postRemove property.
|
void |
setPostUpdate(PostUpdate value)
Sets the value of the postUpdate property.
|
void |
setPrePersist(PrePersist value)
Sets the value of the prePersist property.
|
void |
setPreRemove(PreRemove value)
Sets the value of the preRemove property.
|
void |
setPreUpdate(PreUpdate value)
Sets the value of the preUpdate property.
|
protected java.lang.String description
protected IdClass idClass
protected EmptyType excludeDefaultListeners
protected EmptyType excludeSuperclassListeners
protected EntityListeners entityListeners
protected PrePersist prePersist
protected PostPersist postPersist
protected PreRemove preRemove
protected PostRemove postRemove
protected PreUpdate preUpdate
protected PostUpdate postUpdate
protected PostLoad postLoad
protected Attributes attributes
protected AccessType access
protected java.lang.String clazz
protected java.lang.Boolean metadataComplete
public MappedSuperclass()
public MappedSuperclass(java.lang.String clazz)
public java.lang.String getDescription()
getDescription
in interface Mapping
String
public void setDescription(java.lang.String value)
setDescription
in interface Mapping
value
- allowed object is
String
public IdClass getIdClass()
getIdClass
in interface Mapping
IdClass
public void setIdClass(IdClass value)
setIdClass
in interface Mapping
value
- allowed object is
IdClass
public boolean isExcludeDefaultListeners()
isExcludeDefaultListeners
in interface Mapping
boolean
public void setExcludeDefaultListeners(boolean value)
setExcludeDefaultListeners
in interface Mapping
value
- allowed object is
boolean
public boolean isExcludeSuperclassListeners()
isExcludeSuperclassListeners
in interface Mapping
boolean
public void setExcludeSuperclassListeners(boolean value)
setExcludeSuperclassListeners
in interface Mapping
value
- allowed object is
boolean
public EntityListeners getEntityListeners()
getEntityListeners
in interface Mapping
EntityListeners
public void setEntityListeners(EntityListeners value)
setEntityListeners
in interface Mapping
value
- allowed object is
EntityListeners
public PrePersist getPrePersist()
getPrePersist
in interface Mapping
PrePersist
public void setPrePersist(PrePersist value)
setPrePersist
in interface Mapping
value
- allowed object is
PrePersist
public PostPersist getPostPersist()
getPostPersist
in interface Mapping
PostPersist
public void setPostPersist(PostPersist value)
setPostPersist
in interface Mapping
value
- allowed object is
PostPersist
public PreRemove getPreRemove()
getPreRemove
in interface Mapping
PreRemove
public void setPreRemove(PreRemove value)
setPreRemove
in interface Mapping
value
- allowed object is
PreRemove
public PostRemove getPostRemove()
getPostRemove
in interface Mapping
PostRemove
public void setPostRemove(PostRemove value)
setPostRemove
in interface Mapping
value
- allowed object is
PostRemove
public PreUpdate getPreUpdate()
getPreUpdate
in interface Mapping
PreUpdate
public void setPreUpdate(PreUpdate value)
setPreUpdate
in interface Mapping
value
- allowed object is
PreUpdate
public PostUpdate getPostUpdate()
getPostUpdate
in interface Mapping
PostUpdate
public void setPostUpdate(PostUpdate value)
setPostUpdate
in interface Mapping
value
- allowed object is
PostUpdate
public PostLoad getPostLoad()
getPostLoad
in interface Mapping
PostLoad
public void setPostLoad(PostLoad value)
setPostLoad
in interface Mapping
value
- allowed object is
PostLoad
public Attributes getAttributes()
getAttributes
in interface Mapping
Attributes
public void setAttributes(Attributes value)
setAttributes
in interface Mapping
value
- allowed object is
Attributes
public AccessType getAccess()
getAccess
in interface Mapping
AccessType
public void setAccess(AccessType value)
setAccess
in interface Mapping
value
- allowed object is
AccessType
public java.lang.String getClazz()
public void setClazz(java.lang.String value)
public java.lang.Boolean isMetadataComplete()
isMetadataComplete
in interface Mapping
Boolean
public void setMetadataComplete(java.lang.Boolean value)
setMetadataComplete
in interface Mapping
value
- allowed object is
Boolean