Top Description Fields Constructors Methods
org.hibernate.boot.jaxb.mapping.spi

public Class JaxbMappedSuperclass

extends Object
implements Serializable, EntityOrMappedSuperclass, LifecycleCallbackContainer, ManagedType
Class Inheritance
All Implemented Interfaces
org.hibernate.boot.jaxb.mapping.spi.ManagedType, org.hibernate.boot.jaxb.mapping.spi.LifecycleCallbackContainer, org.hibernate.boot.jaxb.mapping.spi.EntityOrMappedSuperclass, java.io.Serializable
Annotations
@XmlAccessorType:FIELD
@XmlType
name:mapped-superclass
namespace:http://xmlns.jcp.org/xml/ns/persistence/orm
propOrder:description, idClass, excludeDefaultListeners, excludeSuperclassListeners, entityListeners, prePersist, postPersist, preRemove, postRemove, preUpdate, postUpdate, postLoad, attributes
Imports
java.io.Serializable, javax.persistence.AccessType, javax.xml.bind.annotation.XmlAccessType, .XmlAccessorType, .XmlAttribute, .XmlElement, .XmlType, javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter

Defines the settings and mappings for a mapped superclass. Is allowed to be sparsely populated and used in conjunction with the annotations. Alternatively, the metadata-complete attribute can be used to indicate that no annotations are to be processed If this is the case then the defaulting rules will be recursively applied. @Target(TYPE) @Retention(RUNTIME) public @interface MappedSuperclass{}

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://xmlns.jcp.org/xml/ns/persistence/orm}id-class" minOccurs="0"/>
        <element name="exclude-default-listeners" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}emptyType" minOccurs="0"/>
        <element name="exclude-superclass-listeners" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}emptyType" minOccurs="0"/>
        <element name="entity-listeners" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}entity-listeners" minOccurs="0"/>
        <element name="pre-persist" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}pre-persist" minOccurs="0"/>
        <element name="post-persist" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}post-persist" minOccurs="0"/>
        <element name="pre-remove" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}pre-remove" minOccurs="0"/>
        <element name="post-remove" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}post-remove" minOccurs="0"/>
        <element name="pre-update" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}pre-update" minOccurs="0"/>
        <element name="post-update" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}post-update" minOccurs="0"/>
        <element name="post-load" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}post-load" minOccurs="0"/>
        <element name="attributes" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}attributes" minOccurs="0"/>
      </sequence>
      <attribute name="class" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
      <attribute name="access" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}access-type" />
      <attribute name="metadata-complete" type="{http://www.w3.org/2001/XMLSchema}boolean" />
    </restriction>
  </complexContent>
</complexType>

Field Summary

Modifier and TypeField and Description
protected AccessType
protected JaxbAttributes
protected String
protected String
protected JaxbEntityListeners
protected JaxbEmptyType
protected JaxbEmptyType
protected JaxbIdClass
protected Boolean
protected JaxbPostLoad
protected JaxbPostPersist
protected JaxbPostRemove
protected JaxbPostUpdate
protected JaxbPrePersist
protected JaxbPreRemove
protected JaxbPreUpdate

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public AccessType

Returns:

possible object is String
getAccess
()

Implements org.hibernate.boot.jaxb.mapping.spi.ManagedType.getAccess.

Gets the value of the access property.
public JaxbAttributes
public String
public String
public JaxbEntityListeners

Returns:

possible object is JaxbEntityListeners
getEntityListeners
()

Implements org.hibernate.boot.jaxb.mapping.spi.EntityOrMappedSuperclass.getEntityListeners.

Gets the value of the entityListeners property.
public JaxbEmptyType

Returns:

possible object is JaxbEmptyType
getExcludeDefaultListeners
()

Implements org.hibernate.boot.jaxb.mapping.spi.EntityOrMappedSuperclass.getExcludeDefaultListeners.

Gets the value of the excludeDefaultListeners property.
public JaxbEmptyType

Returns:

possible object is JaxbEmptyType
getExcludeSuperclassListeners
()

Implements org.hibernate.boot.jaxb.mapping.spi.EntityOrMappedSuperclass.getExcludeSuperclassListeners.

Gets the value of the excludeSuperclassListeners property.
public JaxbIdClass

Returns:

possible object is JaxbIdClass
getIdClass
()

Implements org.hibernate.boot.jaxb.mapping.spi.EntityOrMappedSuperclass.getIdClass.

Gets the value of the idClass property.
public JaxbPostLoad
public JaxbPostPersist
public JaxbPostRemove
public JaxbPostUpdate
public JaxbPrePersist
public JaxbPreRemove
public JaxbPreUpdate
public Boolean

Returns:

possible object is Boolean
isMetadataComplete
()

Implements org.hibernate.boot.jaxb.mapping.spi.ManagedType.isMetadataComplete.

Gets the value of the metadataComplete property.
public void
setAccess(AccessType
allowed object is String
value
)

Implements org.hibernate.boot.jaxb.mapping.spi.ManagedType.setAccess.

Sets the value of the access property.
public void
setAttributes(JaxbAttributes
allowed object is JaxbAttributes
value
)

Implements org.hibernate.boot.jaxb.mapping.spi.EntityOrMappedSuperclass.setAttributes.

Sets the value of the attributes property.
public void
public void
public void
public void
setExcludeDefaultListeners(JaxbEmptyType
allowed object is JaxbEmptyType
value
)

Implements org.hibernate.boot.jaxb.mapping.spi.EntityOrMappedSuperclass.setExcludeDefaultListeners.

Sets the value of the excludeDefaultListeners property.
public void
setExcludeSuperclassListeners(JaxbEmptyType
allowed object is JaxbEmptyType
value
)

Implements org.hibernate.boot.jaxb.mapping.spi.EntityOrMappedSuperclass.setExcludeSuperclassListeners.

Sets the value of the excludeSuperclassListeners property.
public void
setIdClass(JaxbIdClass
allowed object is JaxbIdClass
value
)

Implements org.hibernate.boot.jaxb.mapping.spi.EntityOrMappedSuperclass.setIdClass.

Sets the value of the idClass property.
public void
setMetadataComplete(Boolean
allowed object is Boolean
value
)

Implements org.hibernate.boot.jaxb.mapping.spi.ManagedType.setMetadataComplete.

Sets the value of the metadataComplete property.
public void
public void
public void
public void
public void
public void
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

accessback to summary
protected AccessType access
Annotations
@XmlAttribute
name:access
@XmlJavaTypeAdapter:Adapter1
attributesback to summary
protected JaxbAttributes attributes
Annotations
@XmlElement
namespace:http://xmlns.jcp.org/xml/ns/persistence/orm
clazzback to summary
protected String clazz
Annotations
@XmlAttribute
name:class
required:true
descriptionback to summary
protected String description
Annotations
@XmlElement
namespace:http://xmlns.jcp.org/xml/ns/persistence/orm
entityListenersback to summary
protected JaxbEntityListeners entityListeners
Annotations
@XmlElement
name:entity-listeners
namespace:http://xmlns.jcp.org/xml/ns/persistence/orm
excludeDefaultListenersback to summary
protected JaxbEmptyType excludeDefaultListeners
Annotations
@XmlElement
name:exclude-default-listeners
namespace:http://xmlns.jcp.org/xml/ns/persistence/orm
excludeSuperclassListenersback to summary
protected JaxbEmptyType excludeSuperclassListeners
Annotations
@XmlElement
name:exclude-superclass-listeners
namespace:http://xmlns.jcp.org/xml/ns/persistence/orm
idClassback to summary
protected JaxbIdClass idClass
Annotations
@XmlElement
name:id-class
namespace:http://xmlns.jcp.org/xml/ns/persistence/orm
metadataCompleteback to summary
protected Boolean metadataComplete
Annotations
@XmlAttribute
name:metadata-complete
postLoadback to summary
protected JaxbPostLoad postLoad
Annotations
@XmlElement
name:post-load
namespace:http://xmlns.jcp.org/xml/ns/persistence/orm
postPersistback to summary
protected JaxbPostPersist postPersist
Annotations
@XmlElement
name:post-persist
namespace:http://xmlns.jcp.org/xml/ns/persistence/orm
postRemoveback to summary
protected JaxbPostRemove postRemove
Annotations
@XmlElement
name:post-remove
namespace:http://xmlns.jcp.org/xml/ns/persistence/orm
postUpdateback to summary
protected JaxbPostUpdate postUpdate
Annotations
@XmlElement
name:post-update
namespace:http://xmlns.jcp.org/xml/ns/persistence/orm
prePersistback to summary
protected JaxbPrePersist prePersist
Annotations
@XmlElement
name:pre-persist
namespace:http://xmlns.jcp.org/xml/ns/persistence/orm
preRemoveback to summary
protected JaxbPreRemove preRemove
Annotations
@XmlElement
name:pre-remove
namespace:http://xmlns.jcp.org/xml/ns/persistence/orm
preUpdateback to summary
protected JaxbPreUpdate preUpdate
Annotations
@XmlElement
name:pre-update
namespace:http://xmlns.jcp.org/xml/ns/persistence/orm

Constructor Detail

JaxbMappedSuperclassback to summary
public JaxbMappedSuperclass()

Method Detail

getAccessback to summary
public AccessType getAccess()

Implements org.hibernate.boot.jaxb.mapping.spi.ManagedType.getAccess.

Gets the value of the access property.

Returns:AccessType

possible object is String

getAttributesback to summary
public JaxbAttributes getAttributes()

Implements org.hibernate.boot.jaxb.mapping.spi.EntityOrMappedSuperclass.getAttributes, org.hibernate.boot.jaxb.mapping.spi.ManagedType.getAttributes.

Gets the value of the attributes property.

Returns:JaxbAttributes

possible object is JaxbAttributes

getClazzback to summary
public String getClazz()

Implements org.hibernate.boot.jaxb.mapping.spi.ManagedType.getClazz, org.hibernate.boot.jaxb.mapping.spi.LifecycleCallbackContainer.getClazz.

Gets the value of the clazz property.

Returns:String

possible object is String

getDescriptionback to summary
public String getDescription()

Implements org.hibernate.boot.jaxb.mapping.spi.ManagedType.getDescription, org.hibernate.boot.jaxb.mapping.spi.LifecycleCallbackContainer.getDescription.

Gets the value of the description property.

Returns:String

possible object is String

getEntityListenersback to summary
public JaxbEntityListeners getEntityListeners()

Implements org.hibernate.boot.jaxb.mapping.spi.EntityOrMappedSuperclass.getEntityListeners.

Gets the value of the entityListeners property.

Returns:JaxbEntityListeners

possible object is JaxbEntityListeners

getExcludeDefaultListenersback to summary
public JaxbEmptyType getExcludeDefaultListeners()

Implements org.hibernate.boot.jaxb.mapping.spi.EntityOrMappedSuperclass.getExcludeDefaultListeners.

Gets the value of the excludeDefaultListeners property.

Returns:JaxbEmptyType

possible object is JaxbEmptyType

getExcludeSuperclassListenersback to summary
public JaxbEmptyType getExcludeSuperclassListeners()

Implements org.hibernate.boot.jaxb.mapping.spi.EntityOrMappedSuperclass.getExcludeSuperclassListeners.

Gets the value of the excludeSuperclassListeners property.

Returns:JaxbEmptyType

possible object is JaxbEmptyType

getIdClassback to summary
public JaxbIdClass getIdClass()

Implements org.hibernate.boot.jaxb.mapping.spi.EntityOrMappedSuperclass.getIdClass.

Gets the value of the idClass property.

Returns:JaxbIdClass

possible object is JaxbIdClass

getPostLoadback to summary
public JaxbPostLoad getPostLoad()

Implements org.hibernate.boot.jaxb.mapping.spi.EntityOrMappedSuperclass.getPostLoad, org.hibernate.boot.jaxb.mapping.spi.LifecycleCallbackContainer.getPostLoad.

Gets the value of the postLoad property.

Returns:JaxbPostLoad

possible object is JaxbPostLoad

getPostPersistback to summary
public JaxbPostPersist getPostPersist()

Implements org.hibernate.boot.jaxb.mapping.spi.EntityOrMappedSuperclass.getPostPersist, org.hibernate.boot.jaxb.mapping.spi.LifecycleCallbackContainer.getPostPersist.

Gets the value of the postPersist property.

Returns:JaxbPostPersist

possible object is JaxbPostPersist

getPostRemoveback to summary
public JaxbPostRemove getPostRemove()

Implements org.hibernate.boot.jaxb.mapping.spi.EntityOrMappedSuperclass.getPostRemove, org.hibernate.boot.jaxb.mapping.spi.LifecycleCallbackContainer.getPostRemove.

Gets the value of the postRemove property.

Returns:JaxbPostRemove

possible object is JaxbPostRemove

getPostUpdateback to summary
public JaxbPostUpdate getPostUpdate()

Implements org.hibernate.boot.jaxb.mapping.spi.EntityOrMappedSuperclass.getPostUpdate, org.hibernate.boot.jaxb.mapping.spi.LifecycleCallbackContainer.getPostUpdate.

Gets the value of the postUpdate property.

Returns:JaxbPostUpdate

possible object is JaxbPostUpdate

getPrePersistback to summary
public JaxbPrePersist getPrePersist()

Implements org.hibernate.boot.jaxb.mapping.spi.EntityOrMappedSuperclass.getPrePersist, org.hibernate.boot.jaxb.mapping.spi.LifecycleCallbackContainer.getPrePersist.

Gets the value of the prePersist property.

Returns:JaxbPrePersist

possible object is JaxbPrePersist

getPreRemoveback to summary
public JaxbPreRemove getPreRemove()

Implements org.hibernate.boot.jaxb.mapping.spi.EntityOrMappedSuperclass.getPreRemove, org.hibernate.boot.jaxb.mapping.spi.LifecycleCallbackContainer.getPreRemove.

Gets the value of the preRemove property.

Returns:JaxbPreRemove

possible object is JaxbPreRemove

getPreUpdateback to summary
public JaxbPreUpdate getPreUpdate()

Implements org.hibernate.boot.jaxb.mapping.spi.EntityOrMappedSuperclass.getPreUpdate, org.hibernate.boot.jaxb.mapping.spi.LifecycleCallbackContainer.getPreUpdate.

Gets the value of the preUpdate property.

Returns:JaxbPreUpdate

possible object is JaxbPreUpdate

isMetadataCompleteback to summary
public Boolean isMetadataComplete()

Implements org.hibernate.boot.jaxb.mapping.spi.ManagedType.isMetadataComplete.

Gets the value of the metadataComplete property.

Returns:Boolean

possible object is Boolean

setAccessback to summary
public void setAccess(AccessType value)

Implements org.hibernate.boot.jaxb.mapping.spi.ManagedType.setAccess.

Sets the value of the access property.

Parameters
value:AccessType

allowed object is String

setAttributesback to summary
public void setAttributes(JaxbAttributes value)

Implements org.hibernate.boot.jaxb.mapping.spi.EntityOrMappedSuperclass.setAttributes.

Sets the value of the attributes property.

Parameters
value:JaxbAttributes

allowed object is JaxbAttributes

setClazzback to summary
public void setClazz(String value)

Implements org.hibernate.boot.jaxb.mapping.spi.ManagedType.setClazz, org.hibernate.boot.jaxb.mapping.spi.LifecycleCallbackContainer.setClazz.

Sets the value of the clazz property.

Parameters
value:String

allowed object is String

setDescriptionback to summary
public void setDescription(String value)

Implements org.hibernate.boot.jaxb.mapping.spi.ManagedType.setDescription, org.hibernate.boot.jaxb.mapping.spi.LifecycleCallbackContainer.setDescription.

Sets the value of the description property.

Parameters
value:String

allowed object is String

setEntityListenersback to summary
public void setEntityListeners(JaxbEntityListeners value)

Implements org.hibernate.boot.jaxb.mapping.spi.EntityOrMappedSuperclass.setEntityListeners.

Sets the value of the entityListeners property.

Parameters
value:JaxbEntityListeners

allowed object is JaxbEntityListeners

setExcludeDefaultListenersback to summary
public void setExcludeDefaultListeners(JaxbEmptyType value)

Implements org.hibernate.boot.jaxb.mapping.spi.EntityOrMappedSuperclass.setExcludeDefaultListeners.

Sets the value of the excludeDefaultListeners property.

Parameters
value:JaxbEmptyType

allowed object is JaxbEmptyType

setExcludeSuperclassListenersback to summary
public void setExcludeSuperclassListeners(JaxbEmptyType value)

Implements org.hibernate.boot.jaxb.mapping.spi.EntityOrMappedSuperclass.setExcludeSuperclassListeners.

Sets the value of the excludeSuperclassListeners property.

Parameters
value:JaxbEmptyType

allowed object is JaxbEmptyType

setIdClassback to summary
public void setIdClass(JaxbIdClass value)

Implements org.hibernate.boot.jaxb.mapping.spi.EntityOrMappedSuperclass.setIdClass.

Sets the value of the idClass property.

Parameters
value:JaxbIdClass

allowed object is JaxbIdClass

setMetadataCompleteback to summary
public void setMetadataComplete(Boolean value)

Implements org.hibernate.boot.jaxb.mapping.spi.ManagedType.setMetadataComplete.

Sets the value of the metadataComplete property.

Parameters
value:Boolean

allowed object is Boolean

setPostLoadback to summary
public void setPostLoad(JaxbPostLoad value)

Implements org.hibernate.boot.jaxb.mapping.spi.EntityOrMappedSuperclass.setPostLoad, org.hibernate.boot.jaxb.mapping.spi.LifecycleCallbackContainer.setPostLoad.

Sets the value of the postLoad property.

Parameters
value:JaxbPostLoad

allowed object is JaxbPostLoad

setPostPersistback to summary
public void setPostPersist(JaxbPostPersist value)

Implements org.hibernate.boot.jaxb.mapping.spi.EntityOrMappedSuperclass.setPostPersist, org.hibernate.boot.jaxb.mapping.spi.LifecycleCallbackContainer.setPostPersist.

Sets the value of the postPersist property.

Parameters
value:JaxbPostPersist

allowed object is JaxbPostPersist

setPostRemoveback to summary
public void setPostRemove(JaxbPostRemove value)

Implements org.hibernate.boot.jaxb.mapping.spi.EntityOrMappedSuperclass.setPostRemove, org.hibernate.boot.jaxb.mapping.spi.LifecycleCallbackContainer.setPostRemove.

Sets the value of the postRemove property.

Parameters
value:JaxbPostRemove

allowed object is JaxbPostRemove

setPostUpdateback to summary
public void setPostUpdate(JaxbPostUpdate value)

Implements org.hibernate.boot.jaxb.mapping.spi.EntityOrMappedSuperclass.setPostUpdate, org.hibernate.boot.jaxb.mapping.spi.LifecycleCallbackContainer.setPostUpdate.

Sets the value of the postUpdate property.

Parameters
value:JaxbPostUpdate

allowed object is JaxbPostUpdate

setPrePersistback to summary
public void setPrePersist(JaxbPrePersist value)

Implements org.hibernate.boot.jaxb.mapping.spi.EntityOrMappedSuperclass.setPrePersist, org.hibernate.boot.jaxb.mapping.spi.LifecycleCallbackContainer.setPrePersist.

Sets the value of the prePersist property.

Parameters
value:JaxbPrePersist

allowed object is JaxbPrePersist

setPreRemoveback to summary
public void setPreRemove(JaxbPreRemove value)

Implements org.hibernate.boot.jaxb.mapping.spi.EntityOrMappedSuperclass.setPreRemove, org.hibernate.boot.jaxb.mapping.spi.LifecycleCallbackContainer.setPreRemove.

Sets the value of the preRemove property.

Parameters
value:JaxbPreRemove

allowed object is JaxbPreRemove

setPreUpdateback to summary
public void setPreUpdate(JaxbPreUpdate value)

Implements org.hibernate.boot.jaxb.mapping.spi.EntityOrMappedSuperclass.setPreUpdate, org.hibernate.boot.jaxb.mapping.spi.LifecycleCallbackContainer.setPreUpdate.

Sets the value of the preUpdate property.

Parameters
value:JaxbPreUpdate

allowed object is JaxbPreUpdate