public interface MappedSuperclass<T> extends Child<T>
mapped-superclass
xsd typeModifier and Type | Method and Description |
---|---|
MappedSuperclass<T> |
access(AccessType access)
Sets the
access attribute |
MappedSuperclass<T> |
access(String access)
Sets the
access attribute |
MappedSuperclass<T> |
clazz(String clazz)
Sets the
class attribute |
MappedSuperclass<T> |
description(String description)
Sets the
description element |
MappedSuperclass<T> |
excludeDefaultListeners()
Sets the
exclude-default-listeners element |
MappedSuperclass<T> |
excludeSuperclassListeners()
Sets the
exclude-superclass-listeners element |
AccessType |
getAccess()
Returns the
access attribute |
String |
getAccessAsString()
Returns the
access attribute |
String |
getClazz()
Returns the
class attribute |
String |
getDescription()
Returns the
description element |
Attributes<MappedSuperclass<T>> |
getOrCreateAttributes()
If not already created, a new
attributes element with the given value will be created. |
EntityListeners<MappedSuperclass<T>> |
getOrCreateEntityListeners()
If not already created, a new
entity-listeners element with the given value will be created. |
IdClass<MappedSuperclass<T>> |
getOrCreateIdClass()
If not already created, a new
id-class element with the given value will be created. |
PostLoad<MappedSuperclass<T>> |
getOrCreatePostLoad()
If not already created, a new
post-load element with the given value will be created. |
PostPersist<MappedSuperclass<T>> |
getOrCreatePostPersist()
If not already created, a new
post-persist element with the given value will be created. |
PostRemove<MappedSuperclass<T>> |
getOrCreatePostRemove()
If not already created, a new
post-remove element with the given value will be created. |
PostUpdate<MappedSuperclass<T>> |
getOrCreatePostUpdate()
If not already created, a new
post-update element with the given value will be created. |
PrePersist<MappedSuperclass<T>> |
getOrCreatePrePersist()
If not already created, a new
pre-persist element with the given value will be created. |
PreRemove<MappedSuperclass<T>> |
getOrCreatePreRemove()
If not already created, a new
pre-remove element with the given value will be created. |
PreUpdate<MappedSuperclass<T>> |
getOrCreatePreUpdate()
If not already created, a new
pre-update element with the given value will be created. |
Boolean |
isExcludeDefaultListeners()
Removes the
exclude-default-listeners element |
Boolean |
isExcludeSuperclassListeners()
Removes the
exclude-superclass-listeners element |
Boolean |
isMetadataComplete()
Returns the
metadata-complete attribute |
MappedSuperclass<T> |
metadataComplete(Boolean metadataComplete)
Sets the
metadata-complete attribute |
MappedSuperclass<T> |
removeAccess()
Removes the
access attribute |
MappedSuperclass<T> |
removeAttributes()
Removes the
attributes element |
MappedSuperclass<T> |
removeClazz()
Removes the
class attribute |
MappedSuperclass<T> |
removeDescription()
Removes the
description element |
MappedSuperclass<T> |
removeEntityListeners()
Removes the
entity-listeners element |
MappedSuperclass<T> |
removeExcludeDefaultListeners()
Removes the
exclude-default-listeners element |
MappedSuperclass<T> |
removeExcludeSuperclassListeners()
Removes the
exclude-superclass-listeners element |
MappedSuperclass<T> |
removeIdClass()
Removes the
id-class element |
MappedSuperclass<T> |
removeMetadataComplete()
Removes the
metadata-complete attribute |
MappedSuperclass<T> |
removePostLoad()
Removes the
post-load element |
MappedSuperclass<T> |
removePostPersist()
Removes the
post-persist element |
MappedSuperclass<T> |
removePostRemove()
Removes the
post-remove element |
MappedSuperclass<T> |
removePostUpdate()
Removes the
post-update element |
MappedSuperclass<T> |
removePrePersist()
Removes the
pre-persist element |
MappedSuperclass<T> |
removePreRemove()
Removes the
pre-remove element |
MappedSuperclass<T> |
removePreUpdate()
Removes the
pre-update element |
MappedSuperclass<T> description(String description)
description
elementdescription
- the value for the element description
MappedSuperclass
String getDescription()
description
elementdescription
MappedSuperclass<T> removeDescription()
description
elementMappedSuperclass
IdClass<MappedSuperclass<T>> getOrCreateIdClass()
id-class
element with the given value will be created.
Otherwise, the existing id-class
element will be returned.IdClass>
MappedSuperclass<T> removeIdClass()
id-class
elementMappedSuperclass
MappedSuperclass<T> excludeDefaultListeners()
exclude-default-listeners
elementMappedSuperclass
Boolean isExcludeDefaultListeners()
exclude-default-listeners
elementMappedSuperclass
MappedSuperclass<T> removeExcludeDefaultListeners()
exclude-default-listeners
elementMappedSuperclass
MappedSuperclass<T> excludeSuperclassListeners()
exclude-superclass-listeners
elementMappedSuperclass
Boolean isExcludeSuperclassListeners()
exclude-superclass-listeners
elementMappedSuperclass
MappedSuperclass<T> removeExcludeSuperclassListeners()
exclude-superclass-listeners
elementMappedSuperclass
EntityListeners<MappedSuperclass<T>> getOrCreateEntityListeners()
entity-listeners
element with the given value will be created.
Otherwise, the existing entity-listeners
element will be returned.EntityListeners>
MappedSuperclass<T> removeEntityListeners()
entity-listeners
elementMappedSuperclass
PrePersist<MappedSuperclass<T>> getOrCreatePrePersist()
pre-persist
element with the given value will be created.
Otherwise, the existing pre-persist
element will be returned.PrePersist>
MappedSuperclass<T> removePrePersist()
pre-persist
elementMappedSuperclass
PostPersist<MappedSuperclass<T>> getOrCreatePostPersist()
post-persist
element with the given value will be created.
Otherwise, the existing post-persist
element will be returned.PostPersist>
MappedSuperclass<T> removePostPersist()
post-persist
elementMappedSuperclass
PreRemove<MappedSuperclass<T>> getOrCreatePreRemove()
pre-remove
element with the given value will be created.
Otherwise, the existing pre-remove
element will be returned.PreRemove>
MappedSuperclass<T> removePreRemove()
pre-remove
elementMappedSuperclass
PostRemove<MappedSuperclass<T>> getOrCreatePostRemove()
post-remove
element with the given value will be created.
Otherwise, the existing post-remove
element will be returned.PostRemove>
MappedSuperclass<T> removePostRemove()
post-remove
elementMappedSuperclass
PreUpdate<MappedSuperclass<T>> getOrCreatePreUpdate()
pre-update
element with the given value will be created.
Otherwise, the existing pre-update
element will be returned.PreUpdate>
MappedSuperclass<T> removePreUpdate()
pre-update
elementMappedSuperclass
PostUpdate<MappedSuperclass<T>> getOrCreatePostUpdate()
post-update
element with the given value will be created.
Otherwise, the existing post-update
element will be returned.PostUpdate>
MappedSuperclass<T> removePostUpdate()
post-update
elementMappedSuperclass
PostLoad<MappedSuperclass<T>> getOrCreatePostLoad()
post-load
element with the given value will be created.
Otherwise, the existing post-load
element will be returned.PostLoad>
MappedSuperclass<T> removePostLoad()
post-load
elementMappedSuperclass
Attributes<MappedSuperclass<T>> getOrCreateAttributes()
attributes
element with the given value will be created.
Otherwise, the existing attributes
element will be returned.Attributes>
MappedSuperclass<T> removeAttributes()
attributes
elementMappedSuperclass
MappedSuperclass<T> clazz(String clazz)
class
attributeclazz
- the value for the attribute class
MappedSuperclass
String getClazz()
class
attributeclass
MappedSuperclass<T> removeClazz()
class
attributeMappedSuperclass
MappedSuperclass<T> access(AccessType access)
access
attributeaccess
- the value for the attribute access
MappedSuperclass
MappedSuperclass<T> access(String access)
access
attributeaccess
- the value for the attribute access
MappedSuperclass
AccessType getAccess()
access
attributeaccess
String getAccessAsString()
access
attributeaccess
MappedSuperclass<T> removeAccess()
access
attributeMappedSuperclass
MappedSuperclass<T> metadataComplete(Boolean metadataComplete)
metadata-complete
attributemetadataComplete
- the value for the attribute metadata-complete
MappedSuperclass
Boolean isMetadataComplete()
metadata-complete
attributemetadata-complete
MappedSuperclass<T> removeMetadataComplete()
metadata-complete
attributeMappedSuperclass
Copyright © 2015 JBoss by Red Hat. All rights reserved.