Class Entity
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected AccessTypeprotected List<AssociationOverride>protected List<AttributeOverride>protected Attributesprotected Booleanprotected Stringprotected Stringprotected DiscriminatorColumnprotected Stringprotected EntityListenersprotected EmptyTypeprotected EmptyTypeprotected IdClassprotected Inheritanceprotected Booleanprotected Stringprotected List<NamedEntityGraph>protected List<NamedNativeQuery>protected List<NamedQuery>protected List<NamedStoredProcedureQuery>protected PostLoadprotected PostPersistprotected PostRemoveprotected PostUpdateprotected PrePersistprotected PreRemoveprotected PreUpdateprotected ForeignKeyprotected List<PrimaryKeyJoinColumn>protected List<SecondaryTable>protected SequenceGeneratorprotected List<SqlResultSetMapping>protected Tableprotected TableGenerator -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the access property.Gets the value of the associationOverride property.Gets the value of the attributeOverride property.Gets the value of the attributes property.getClazz()Gets the value of the clazz property.Gets the value of the convert property.Gets the value of the description property.Gets the value of the discriminatorColumn property.Gets the value of the discriminatorValue property.Gets the value of the entityListeners property.Gets the value of the excludeDefaultListeners property.Gets the value of the excludeSuperclassListeners property.Gets the value of the idClass property.Gets the value of the inheritance property.getName()Gets the value of the name property.Gets the value of the namedEntityGraph property.Gets the value of the namedNativeQuery property.Gets the value of the namedQuery property.Gets the value of the namedStoredProcedureQuery property.Gets the value of the postLoad property.Gets the value of the postPersist property.Gets the value of the postRemove property.Gets the value of the postUpdate property.Gets the value of the prePersist property.Gets the value of the preRemove property.Gets the value of the preUpdate property.Gets the value of the primaryKeyForeignKey property.Gets the value of the primaryKeyJoinColumn property.Gets the value of the secondaryTable property.Gets the value of the sequenceGenerator property.Gets the value of the sqlResultSetMapping property.getTable()Gets the value of the table property.Gets the value of the tableGenerator property.Gets the value of the cacheable property.Gets the value of the metadataComplete property.voidsetAccess(AccessType value) Sets the value of the access property.voidsetAttributes(Attributes value) Sets the value of the attributes property.voidsetCacheable(Boolean value) Sets the value of the cacheable property.voidSets the value of the clazz property.voidsetDescription(String value) Sets the value of the description property.voidSets the value of the discriminatorColumn property.voidsetDiscriminatorValue(String value) Sets the value of the discriminatorValue property.voidSets the value of the entityListeners property.voidSets the value of the excludeDefaultListeners property.voidSets the value of the excludeSuperclassListeners property.voidsetIdClass(IdClass value) Sets the value of the idClass property.voidsetInheritance(Inheritance value) Sets the value of the inheritance property.voidsetMetadataComplete(Boolean value) Sets the value of the metadataComplete property.voidSets the value of the name property.voidsetPostLoad(PostLoad value) Sets the value of the postLoad property.voidsetPostPersist(PostPersist value) Sets the value of the postPersist property.voidsetPostRemove(PostRemove value) Sets the value of the postRemove property.voidsetPostUpdate(PostUpdate value) Sets the value of the postUpdate property.voidsetPrePersist(PrePersist value) Sets the value of the prePersist property.voidsetPreRemove(PreRemove value) Sets the value of the preRemove property.voidsetPreUpdate(PreUpdate value) Sets the value of the preUpdate property.voidSets the value of the primaryKeyForeignKey property.voidSets the value of the sequenceGenerator property.voidSets the value of the table property.voidsetTableGenerator(TableGenerator value) Sets the value of the tableGenerator property.
-
Field Details
-
description
-
table
-
secondaryTable
-
-
primaryKeyForeignKey
-
idClass
-
inheritance
-
discriminatorValue
-
discriminatorColumn
-
sequenceGenerator
-
tableGenerator
-
namedQuery
-
namedNativeQuery
-
namedStoredProcedureQuery
-
sqlResultSetMapping
-
excludeDefaultListeners
-
excludeSuperclassListeners
-
entityListeners
-
prePersist
-
postPersist
-
preRemove
-
postRemove
-
preUpdate
-
postUpdate
-
postLoad
-
attributeOverride
-
associationOverride
-
convert
-
namedEntityGraph
-
attributes
-
name
-
clazz
-
access
-
cacheable
-
metadataComplete
-
-
Constructor Details
-
Entity
public Entity()
-
-
Method Details
-
getDescription
Gets the value of the description property.- Returns:
- possible object is
String
-
setDescription
Sets the value of the description property.- Parameters:
value- allowed object isString
-
getTable
Gets the value of the table property.- Returns:
- possible object is
Table
-
setTable
Sets the value of the table property.- Parameters:
value- allowed object isTable
-
getSecondaryTable
Gets the value of the secondaryTable property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a
setmethod for the secondaryTable property.For example, to add a new item, do as follows:
getSecondaryTable().add(newItem);Objects of the following type(s) are allowed in the list
SecondaryTable- Returns:
- The value of the secondaryTable property.
-
getPrimaryKeyJoinColumn
Gets the value of the primaryKeyJoinColumn property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a
setmethod for the primaryKeyJoinColumn property.For example, to add a new item, do as follows:
getPrimaryKeyJoinColumn().add(newItem);Objects of the following type(s) are allowed in the list
PrimaryKeyJoinColumn- Returns:
- The value of the primaryKeyJoinColumn property.
-
getPrimaryKeyForeignKey
Gets the value of the primaryKeyForeignKey property.- Returns:
- possible object is
ForeignKey
-
setPrimaryKeyForeignKey
Sets the value of the primaryKeyForeignKey property.- Parameters:
value- allowed object isForeignKey
-
getIdClass
Gets the value of the idClass property.- Returns:
- possible object is
IdClass
-
setIdClass
Sets the value of the idClass property.- Parameters:
value- allowed object isIdClass
-
getInheritance
Gets the value of the inheritance property.- Returns:
- possible object is
Inheritance
-
setInheritance
Sets the value of the inheritance property.- Parameters:
value- allowed object isInheritance
-
getDiscriminatorValue
Gets the value of the discriminatorValue property.- Returns:
- possible object is
String
-
setDiscriminatorValue
Sets the value of the discriminatorValue property.- Parameters:
value- allowed object isString
-
getDiscriminatorColumn
Gets the value of the discriminatorColumn property.- Returns:
- possible object is
DiscriminatorColumn
-
setDiscriminatorColumn
Sets the value of the discriminatorColumn property.- Parameters:
value- allowed object isDiscriminatorColumn
-
getSequenceGenerator
Gets the value of the sequenceGenerator property.- Returns:
- possible object is
SequenceGenerator
-
setSequenceGenerator
Sets the value of the sequenceGenerator property.- Parameters:
value- allowed object isSequenceGenerator
-
getTableGenerator
Gets the value of the tableGenerator property.- Returns:
- possible object is
TableGenerator
-
setTableGenerator
Sets the value of the tableGenerator property.- Parameters:
value- allowed object isTableGenerator
-
getNamedQuery
Gets the value of the namedQuery property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a
setmethod for the namedQuery property.For example, to add a new item, do as follows:
getNamedQuery().add(newItem);Objects of the following type(s) are allowed in the list
NamedQuery- Returns:
- The value of the namedQuery property.
-
getNamedNativeQuery
Gets the value of the namedNativeQuery property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a
setmethod for the namedNativeQuery property.For example, to add a new item, do as follows:
getNamedNativeQuery().add(newItem);Objects of the following type(s) are allowed in the list
NamedNativeQuery- Returns:
- The value of the namedNativeQuery property.
-
getNamedStoredProcedureQuery
Gets the value of the namedStoredProcedureQuery property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a
setmethod for the namedStoredProcedureQuery property.For example, to add a new item, do as follows:
getNamedStoredProcedureQuery().add(newItem);Objects of the following type(s) are allowed in the list
NamedStoredProcedureQuery- Returns:
- The value of the namedStoredProcedureQuery property.
-
getSqlResultSetMapping
Gets the value of the sqlResultSetMapping property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a
setmethod for the sqlResultSetMapping property.For example, to add a new item, do as follows:
getSqlResultSetMapping().add(newItem);Objects of the following type(s) are allowed in the list
SqlResultSetMapping- Returns:
- The value of the sqlResultSetMapping property.
-
getExcludeDefaultListeners
Gets the value of the excludeDefaultListeners property.- Returns:
- possible object is
EmptyType
-
setExcludeDefaultListeners
Sets the value of the excludeDefaultListeners property.- Parameters:
value- allowed object isEmptyType
-
getExcludeSuperclassListeners
Gets the value of the excludeSuperclassListeners property.- Returns:
- possible object is
EmptyType
-
setExcludeSuperclassListeners
Sets the value of the excludeSuperclassListeners property.- Parameters:
value- allowed object isEmptyType
-
getEntityListeners
Gets the value of the entityListeners property.- Returns:
- possible object is
EntityListeners
-
setEntityListeners
Sets the value of the entityListeners property.- Parameters:
value- allowed object isEntityListeners
-
getPrePersist
Gets the value of the prePersist property.- Returns:
- possible object is
PrePersist
-
setPrePersist
Sets the value of the prePersist property.- Parameters:
value- allowed object isPrePersist
-
getPostPersist
Gets the value of the postPersist property.- Returns:
- possible object is
PostPersist
-
setPostPersist
Sets the value of the postPersist property.- Parameters:
value- allowed object isPostPersist
-
getPreRemove
Gets the value of the preRemove property.- Returns:
- possible object is
PreRemove
-
setPreRemove
Sets the value of the preRemove property.- Parameters:
value- allowed object isPreRemove
-
getPostRemove
Gets the value of the postRemove property.- Returns:
- possible object is
PostRemove
-
setPostRemove
Sets the value of the postRemove property.- Parameters:
value- allowed object isPostRemove
-
getPreUpdate
Gets the value of the preUpdate property.- Returns:
- possible object is
PreUpdate
-
setPreUpdate
Sets the value of the preUpdate property.- Parameters:
value- allowed object isPreUpdate
-
getPostUpdate
Gets the value of the postUpdate property.- Returns:
- possible object is
PostUpdate
-
setPostUpdate
Sets the value of the postUpdate property.- Parameters:
value- allowed object isPostUpdate
-
getPostLoad
Gets the value of the postLoad property.- Returns:
- possible object is
PostLoad
-
setPostLoad
Sets the value of the postLoad property.- Parameters:
value- allowed object isPostLoad
-
getAttributeOverride
Gets the value of the attributeOverride property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a
setmethod for the attributeOverride property.For example, to add a new item, do as follows:
getAttributeOverride().add(newItem);Objects of the following type(s) are allowed in the list
AttributeOverride- Returns:
- The value of the attributeOverride property.
-
getAssociationOverride
Gets the value of the associationOverride property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a
setmethod for the associationOverride property.For example, to add a new item, do as follows:
getAssociationOverride().add(newItem);Objects of the following type(s) are allowed in the list
AssociationOverride- Returns:
- The value of the associationOverride property.
-
getConvert
Gets the value of the convert property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a
setmethod for the convert property.For example, to add a new item, do as follows:
getConvert().add(newItem);Objects of the following type(s) are allowed in the list
Convert- Returns:
- The value of the convert property.
-
getNamedEntityGraph
Gets the value of the namedEntityGraph property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a
setmethod for the namedEntityGraph property.For example, to add a new item, do as follows:
getNamedEntityGraph().add(newItem);Objects of the following type(s) are allowed in the list
NamedEntityGraph- Returns:
- The value of the namedEntityGraph property.
-
getAttributes
Gets the value of the attributes property.- Returns:
- possible object is
Attributes
-
setAttributes
Sets the value of the attributes property.- Parameters:
value- allowed object isAttributes
-
getName
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
Sets the value of the name property.- Parameters:
value- allowed object isString
-
getClazz
Gets the value of the clazz property.- Returns:
- possible object is
String
-
setClazz
Sets the value of the clazz property.- Parameters:
value- allowed object isString
-
getAccess
Gets the value of the access property.- Returns:
- possible object is
AccessType
-
setAccess
Sets the value of the access property.- Parameters:
value- allowed object isAccessType
-
isCacheable
Gets the value of the cacheable property.- Returns:
- possible object is
Boolean
-
setCacheable
Sets the value of the cacheable property.- Parameters:
value- allowed object isBoolean
-
isMetadataComplete
Gets the value of the metadataComplete property.- Returns:
- possible object is
Boolean
-
setMetadataComplete
Sets the value of the metadataComplete property.- Parameters:
value- allowed object isBoolean
-