
public interface Entity<T> extends Child<T>, OrmEntityCommType<T,Entity<T>,Table<Entity<T>>,SecondaryTable<Entity<T>>,PrimaryKeyJoinColumn<Entity<T>>,IdClass<Entity<T>>,Inheritance<Entity<T>>,DiscriminatorColumn<Entity<T>>,SequenceGenerator<Entity<T>>,TableGenerator<Entity<T>>,NamedQuery<Entity<T>>,NamedNativeQuery<Entity<T>>,SqlResultSetMapping<Entity<T>>,EntityListeners<Entity<T>>,PrePersist<Entity<T>>,PostPersist<Entity<T>>,PreRemove<Entity<T>>,PostRemove<Entity<T>>,PreUpdate<Entity<T>>,PostUpdate<Entity<T>>,PostLoad<Entity<T>>,AttributeOverride<Entity<T>>,AssociationOverride<Entity<T>>,Attributes<Entity<T>>>
entity xsd type| Modifier and Type | Method and Description |
|---|---|
Entity<T> |
access(AccessType access)
Sets the
access attribute |
Entity<T> |
access(String access)
Sets the
access attribute |
Entity<T> |
clazz(String clazz)
Sets the
class attribute |
AssociationOverride<Entity<T>> |
createAssociationOverride()
Creates a new
association-override element |
AttributeOverride<Entity<T>> |
createAttributeOverride()
Creates a new
attribute-override element |
NamedNativeQuery<Entity<T>> |
createNamedNativeQuery()
Creates a new
named-native-query element |
NamedQuery<Entity<T>> |
createNamedQuery()
Creates a new
named-query element |
PrimaryKeyJoinColumn<Entity<T>> |
createPrimaryKeyJoinColumn()
Creates a new
primary-key-join-column element |
SecondaryTable<Entity<T>> |
createSecondaryTable()
Creates a new
secondary-table element |
SqlResultSetMapping<Entity<T>> |
createSqlResultSetMapping()
Creates a new
sql-result-set-mapping element |
Entity<T> |
description(String description)
Sets the
description element |
Entity<T> |
discriminatorValue(String discriminatorValue)
Sets the
discriminator-value element |
Entity<T> |
excludeDefaultListeners()
Sets the
exclude-default-listeners element |
Entity<T> |
excludeSuperclassListeners()
Sets the
exclude-superclass-listeners element |
AccessType |
getAccess()
Returns the
access attribute |
String |
getAccessAsString()
Returns the
access attribute |
List<AssociationOverride<Entity<T>>> |
getAllAssociationOverride()
Returns all
association-override elements |
List<AttributeOverride<Entity<T>>> |
getAllAttributeOverride()
Returns all
attribute-override elements |
List<NamedNativeQuery<Entity<T>>> |
getAllNamedNativeQuery()
Returns all
named-native-query elements |
List<NamedQuery<Entity<T>>> |
getAllNamedQuery()
Returns all
named-query elements |
List<PrimaryKeyJoinColumn<Entity<T>>> |
getAllPrimaryKeyJoinColumn()
Returns all
primary-key-join-column elements |
List<SecondaryTable<Entity<T>>> |
getAllSecondaryTable()
Returns all
secondary-table elements |
List<SqlResultSetMapping<Entity<T>>> |
getAllSqlResultSetMapping()
Returns all
sql-result-set-mapping elements |
String |
getClazz()
Returns the
class attribute |
String |
getDescription()
Returns the
description element |
String |
getDiscriminatorValue()
Returns the
discriminator-value element |
String |
getName()
Returns the
name attribute |
AssociationOverride<Entity<T>> |
getOrCreateAssociationOverride()
If not already created, a new
association-override element will be created and returned. |
AttributeOverride<Entity<T>> |
getOrCreateAttributeOverride()
If not already created, a new
attribute-override element will be created and returned. |
Attributes<Entity<T>> |
getOrCreateAttributes()
If not already created, a new
attributes element with the given value will be created. |
DiscriminatorColumn<Entity<T>> |
getOrCreateDiscriminatorColumn()
If not already created, a new
discriminator-column element with the given value will be created. |
EntityListeners<Entity<T>> |
getOrCreateEntityListeners()
If not already created, a new
entity-listeners element with the given value will be created. |
IdClass<Entity<T>> |
getOrCreateIdClass()
If not already created, a new
id-class element with the given value will be created. |
Inheritance<Entity<T>> |
getOrCreateInheritance()
If not already created, a new
inheritance element with the given value will be created. |
NamedNativeQuery<Entity<T>> |
getOrCreateNamedNativeQuery()
If not already created, a new
named-native-query element will be created and returned. |
NamedQuery<Entity<T>> |
getOrCreateNamedQuery()
If not already created, a new
named-query element will be created and returned. |
PostLoad<Entity<T>> |
getOrCreatePostLoad()
If not already created, a new
post-load element with the given value will be created. |
PostPersist<Entity<T>> |
getOrCreatePostPersist()
If not already created, a new
post-persist element with the given value will be created. |
PostRemove<Entity<T>> |
getOrCreatePostRemove()
If not already created, a new
post-remove element with the given value will be created. |
PostUpdate<Entity<T>> |
getOrCreatePostUpdate()
If not already created, a new
post-update element with the given value will be created. |
PrePersist<Entity<T>> |
getOrCreatePrePersist()
If not already created, a new
pre-persist element with the given value will be created. |
PreRemove<Entity<T>> |
getOrCreatePreRemove()
If not already created, a new
pre-remove element with the given value will be created. |
PreUpdate<Entity<T>> |
getOrCreatePreUpdate()
If not already created, a new
pre-update element with the given value will be created. |
PrimaryKeyJoinColumn<Entity<T>> |
getOrCreatePrimaryKeyJoinColumn()
If not already created, a new
primary-key-join-column element will be created and returned. |
SecondaryTable<Entity<T>> |
getOrCreateSecondaryTable()
If not already created, a new
secondary-table element will be created and returned. |
SequenceGenerator<Entity<T>> |
getOrCreateSequenceGenerator()
If not already created, a new
sequence-generator element with the given value will be created. |
SqlResultSetMapping<Entity<T>> |
getOrCreateSqlResultSetMapping()
If not already created, a new
sql-result-set-mapping element will be created and returned. |
Table<Entity<T>> |
getOrCreateTable()
If not already created, a new
table element with the given value will be created. |
TableGenerator<Entity<T>> |
getOrCreateTableGenerator()
If not already created, a new
table-generator 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 |
Entity<T> |
metadataComplete(Boolean metadataComplete)
Sets the
metadata-complete attribute |
Entity<T> |
name(String name)
Sets the
name attribute |
Entity<T> |
removeAccess()
Removes the
access attribute |
Entity<T> |
removeAllAssociationOverride()
Removes all
association-override elements |
Entity<T> |
removeAllAttributeOverride()
Removes all
attribute-override elements |
Entity<T> |
removeAllNamedNativeQuery()
Removes all
named-native-query elements |
Entity<T> |
removeAllNamedQuery()
Removes all
named-query elements |
Entity<T> |
removeAllPrimaryKeyJoinColumn()
Removes all
primary-key-join-column elements |
Entity<T> |
removeAllSecondaryTable()
Removes all
secondary-table elements |
Entity<T> |
removeAllSqlResultSetMapping()
Removes all
sql-result-set-mapping elements |
Entity<T> |
removeAttributes()
Removes the
attributes element |
Entity<T> |
removeClazzAttr()
Removes the
class attribute |
Entity<T> |
removeDescription()
Removes the
description element |
Entity<T> |
removeDiscriminatorColumn()
Removes the
discriminator-column element |
Entity<T> |
removeDiscriminatorValue()
Removes the
discriminator-value element |
Entity<T> |
removeEntityListeners()
Removes the
entity-listeners element |
Entity<T> |
removeExcludeDefaultListeners()
Removes the
exclude-default-listeners element |
Entity<T> |
removeExcludeSuperclassListeners()
Removes the
exclude-superclass-listeners element |
Entity<T> |
removeIdClass()
Removes the
id-class element |
Entity<T> |
removeInheritance()
Removes the
inheritance element |
Entity<T> |
removeMetadataComplete()
Removes the
metadata-complete attribute |
Entity<T> |
removeName()
Removes the
name attribute |
Entity<T> |
removePostLoad()
Removes the
post-load element |
Entity<T> |
removePostPersist()
Removes the
post-persist element |
Entity<T> |
removePostRemove()
Removes the
post-remove element |
Entity<T> |
removePostUpdate()
Removes the
post-update element |
Entity<T> |
removePrePersist()
Removes the
pre-persist element |
Entity<T> |
removePreRemove()
Removes the
pre-remove element |
Entity<T> |
removePreUpdate()
Removes the
pre-update element |
Entity<T> |
removeSequenceGenerator()
Removes the
sequence-generator element |
Entity<T> |
removeTable()
Removes the
table element |
Entity<T> |
removeTableGenerator()
Removes the
table-generator element |
Entity<T> description(String description)
description elementdescription - the value for the element descriptionEntityString getDescription()
description elementdescriptionEntity<T> removeDescription()
description elementEntityTable<Entity<T>> getOrCreateTable()
table element with the given value will be created.
Otherwise, the existing table element will be returned.Table> Entity<T> removeTable()
table elementEntitySecondaryTable<Entity<T>> getOrCreateSecondaryTable()
secondary-table element will be created and returned.
Otherwise, the first existing secondary-table element will be returned.secondary-tableSecondaryTable<Entity<T>> createSecondaryTable()
secondary-table elementSecondaryTable> List<SecondaryTable<Entity<T>>> getAllSecondaryTable()
secondary-table elementssecondary-tableEntity<T> removeAllSecondaryTable()
secondary-table elementsSecondaryTable> PrimaryKeyJoinColumn<Entity<T>> getOrCreatePrimaryKeyJoinColumn()
primary-key-join-column element will be created and returned.
Otherwise, the first existing primary-key-join-column element will be returned.primary-key-join-columnPrimaryKeyJoinColumn<Entity<T>> createPrimaryKeyJoinColumn()
primary-key-join-column elementPrimaryKeyJoinColumn> List<PrimaryKeyJoinColumn<Entity<T>>> getAllPrimaryKeyJoinColumn()
primary-key-join-column elementsprimary-key-join-columnEntity<T> removeAllPrimaryKeyJoinColumn()
primary-key-join-column elementsPrimaryKeyJoinColumn> IdClass<Entity<T>> getOrCreateIdClass()
id-class element with the given value will be created.
Otherwise, the existing id-class element will be returned.IdClass> Entity<T> removeIdClass()
id-class elementEntityInheritance<Entity<T>> getOrCreateInheritance()
inheritance element with the given value will be created.
Otherwise, the existing inheritance element will be returned.Inheritance> Entity<T> removeInheritance()
inheritance elementEntityEntity<T> discriminatorValue(String discriminatorValue)
discriminator-value elementdiscriminatorValue - the value for the element discriminator-valueEntityString getDiscriminatorValue()
discriminator-value elementdiscriminator-valueEntity<T> removeDiscriminatorValue()
discriminator-value elementEntityDiscriminatorColumn<Entity<T>> getOrCreateDiscriminatorColumn()
discriminator-column element with the given value will be created.
Otherwise, the existing discriminator-column element will be returned.DiscriminatorColumn> Entity<T> removeDiscriminatorColumn()
discriminator-column elementEntitySequenceGenerator<Entity<T>> getOrCreateSequenceGenerator()
sequence-generator element with the given value will be created.
Otherwise, the existing sequence-generator element will be returned.SequenceGenerator> Entity<T> removeSequenceGenerator()
sequence-generator elementEntityTableGenerator<Entity<T>> getOrCreateTableGenerator()
table-generator element with the given value will be created.
Otherwise, the existing table-generator element will be returned.TableGenerator> Entity<T> removeTableGenerator()
table-generator elementEntityNamedQuery<Entity<T>> getOrCreateNamedQuery()
named-query element will be created and returned.
Otherwise, the first existing named-query element will be returned.named-queryNamedQuery<Entity<T>> createNamedQuery()
named-query elementNamedQuery> List<NamedQuery<Entity<T>>> getAllNamedQuery()
named-query elementsnamed-queryEntity<T> removeAllNamedQuery()
named-query elementsNamedQuery> NamedNativeQuery<Entity<T>> getOrCreateNamedNativeQuery()
named-native-query element will be created and returned.
Otherwise, the first existing named-native-query element will be returned.named-native-queryNamedNativeQuery<Entity<T>> createNamedNativeQuery()
named-native-query elementNamedNativeQuery> List<NamedNativeQuery<Entity<T>>> getAllNamedNativeQuery()
named-native-query elementsnamed-native-queryEntity<T> removeAllNamedNativeQuery()
named-native-query elementsNamedNativeQuery> SqlResultSetMapping<Entity<T>> getOrCreateSqlResultSetMapping()
sql-result-set-mapping element will be created and returned.
Otherwise, the first existing sql-result-set-mapping element will be returned.sql-result-set-mappingSqlResultSetMapping<Entity<T>> createSqlResultSetMapping()
sql-result-set-mapping elementSqlResultSetMapping> List<SqlResultSetMapping<Entity<T>>> getAllSqlResultSetMapping()
sql-result-set-mapping elementssql-result-set-mappingEntity<T> removeAllSqlResultSetMapping()
sql-result-set-mapping elementsSqlResultSetMapping> Entity<T> excludeDefaultListeners()
exclude-default-listeners elementEntityBoolean isExcludeDefaultListeners()
exclude-default-listeners elementEntityEntity<T> removeExcludeDefaultListeners()
exclude-default-listeners elementEntityEntity<T> excludeSuperclassListeners()
exclude-superclass-listeners elementEntityBoolean isExcludeSuperclassListeners()
exclude-superclass-listeners elementEntityEntity<T> removeExcludeSuperclassListeners()
exclude-superclass-listeners elementEntityEntityListeners<Entity<T>> getOrCreateEntityListeners()
entity-listeners element with the given value will be created.
Otherwise, the existing entity-listeners element will be returned.EntityListeners> Entity<T> removeEntityListeners()
entity-listeners elementEntityPrePersist<Entity<T>> getOrCreatePrePersist()
pre-persist element with the given value will be created.
Otherwise, the existing pre-persist element will be returned.PrePersist> Entity<T> removePrePersist()
pre-persist elementEntityPostPersist<Entity<T>> getOrCreatePostPersist()
post-persist element with the given value will be created.
Otherwise, the existing post-persist element will be returned.PostPersist> Entity<T> removePostPersist()
post-persist elementEntityPreRemove<Entity<T>> getOrCreatePreRemove()
pre-remove element with the given value will be created.
Otherwise, the existing pre-remove element will be returned.PreRemove> Entity<T> removePreRemove()
pre-remove elementEntityPostRemove<Entity<T>> getOrCreatePostRemove()
post-remove element with the given value will be created.
Otherwise, the existing post-remove element will be returned.PostRemove> Entity<T> removePostRemove()
post-remove elementEntityPreUpdate<Entity<T>> getOrCreatePreUpdate()
pre-update element with the given value will be created.
Otherwise, the existing pre-update element will be returned.PreUpdate> Entity<T> removePreUpdate()
pre-update elementEntityPostUpdate<Entity<T>> getOrCreatePostUpdate()
post-update element with the given value will be created.
Otherwise, the existing post-update element will be returned.PostUpdate> Entity<T> removePostUpdate()
post-update elementEntityPostLoad<Entity<T>> getOrCreatePostLoad()
post-load element with the given value will be created.
Otherwise, the existing post-load element will be returned.PostLoad> Entity<T> removePostLoad()
post-load elementEntityAttributeOverride<Entity<T>> getOrCreateAttributeOverride()
attribute-override element will be created and returned.
Otherwise, the first existing attribute-override element will be returned.attribute-overrideAttributeOverride<Entity<T>> createAttributeOverride()
attribute-override elementAttributeOverride> List<AttributeOverride<Entity<T>>> getAllAttributeOverride()
attribute-override elementsattribute-overrideEntity<T> removeAllAttributeOverride()
attribute-override elementsAttributeOverride> AssociationOverride<Entity<T>> getOrCreateAssociationOverride()
association-override element will be created and returned.
Otherwise, the first existing association-override element will be returned.association-overrideAssociationOverride<Entity<T>> createAssociationOverride()
association-override elementAssociationOverride> List<AssociationOverride<Entity<T>>> getAllAssociationOverride()
association-override elementsassociation-overrideEntity<T> removeAllAssociationOverride()
association-override elementsAssociationOverride> Attributes<Entity<T>> getOrCreateAttributes()
attributes element with the given value will be created.
Otherwise, the existing attributes element will be returned.Attributes> Entity<T> removeAttributes()
attributes elementEntityEntity<T> name(String name)
name attributename - the value for the attribute nameEntityString getName()
name attributenameEntity<T> removeName()
name attributeEntityEntity<T> clazz(String clazz)
class attributeclazz - the value for the attribute classEntityString getClazz()
class attributeclassEntity<T> removeClazzAttr()
class attributeEntityEntity<T> access(AccessType access)
access attributeaccess - the value for the attribute accessEntityEntity<T> access(String access)
access attributeaccess - the value for the attribute accessEntityAccessType getAccess()
access attributeaccessString getAccessAsString()
access attributeaccessEntity<T> removeAccess()
access attributeEntityEntity<T> metadataComplete(Boolean metadataComplete)
metadata-complete attributemetadataComplete - the value for the attribute metadata-completeEntityBoolean isMetadataComplete()
metadata-complete attributemetadata-completeCopyright © 2021 JBoss by Red Hat. All rights reserved.