public class Entity extends Object
Constructor and Description |
---|
Entity() |
Modifier and Type | Method and Description |
---|---|
AccessType |
getAccess()
Gets the value of the access property.
|
List<AssociationOverride> |
getAssociationOverride()
Gets the value of the associationOverride property.
|
List<AttributeOverride> |
getAttributeOverride()
Gets the value of the attributeOverride property.
|
Attributes |
getAttributes()
Gets the value of the attributes property.
|
String |
getClazz()
Gets the value of the clazz property.
|
List<Convert> |
getConvert()
Gets the value of the convert property.
|
String |
getDescription()
Gets the value of the description property.
|
DiscriminatorColumn |
getDiscriminatorColumn()
Gets the value of the discriminatorColumn property.
|
String |
getDiscriminatorValue()
Gets the value of the discriminatorValue property.
|
EntityListeners |
getEntityListeners()
Gets the value of the entityListeners property.
|
EmptyType |
getExcludeDefaultListeners()
Gets the value of the excludeDefaultListeners property.
|
EmptyType |
getExcludeSuperclassListeners()
Gets the value of the excludeSuperclassListeners property.
|
IdClass |
getIdClass()
Gets the value of the idClass property.
|
Inheritance |
getInheritance()
Gets the value of the inheritance property.
|
String |
getName()
Gets the value of the name property.
|
List<NamedEntityGraph> |
getNamedEntityGraph()
Gets the value of the namedEntityGraph property.
|
List<NamedNativeQuery> |
getNamedNativeQuery()
Gets the value of the namedNativeQuery property.
|
List<NamedQuery> |
getNamedQuery()
Gets the value of the namedQuery property.
|
List<NamedStoredProcedureQuery> |
getNamedStoredProcedureQuery()
Gets the value of the namedStoredProcedureQuery property.
|
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.
|
ForeignKey |
getPrimaryKeyForeignKey()
Gets the value of the primaryKeyForeignKey property.
|
List<PrimaryKeyJoinColumn> |
getPrimaryKeyJoinColumn()
Gets the value of the primaryKeyJoinColumn property.
|
List<SecondaryTable> |
getSecondaryTable()
Gets the value of the secondaryTable property.
|
SequenceGenerator |
getSequenceGenerator()
Gets the value of the sequenceGenerator property.
|
List<SqlResultSetMapping> |
getSqlResultSetMapping()
Gets the value of the sqlResultSetMapping property.
|
Table |
getTable()
Gets the value of the table property.
|
TableGenerator |
getTableGenerator()
Gets the value of the tableGenerator property.
|
Boolean |
isCacheable()
Gets the value of the cacheable property.
|
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 |
setCacheable(Boolean value)
Sets the value of the cacheable property.
|
void |
setClazz(String value)
Sets the value of the clazz property.
|
void |
setDescription(String value)
Sets the value of the description property.
|
void |
setDiscriminatorColumn(DiscriminatorColumn value)
Sets the value of the discriminatorColumn property.
|
void |
setDiscriminatorValue(String value)
Sets the value of the discriminatorValue property.
|
void |
setEntityListeners(EntityListeners value)
Sets the value of the entityListeners property.
|
void |
setExcludeDefaultListeners(EmptyType value)
Sets the value of the excludeDefaultListeners property.
|
void |
setExcludeSuperclassListeners(EmptyType value)
Sets the value of the excludeSuperclassListeners property.
|
void |
setIdClass(IdClass value)
Sets the value of the idClass property.
|
void |
setInheritance(Inheritance value)
Sets the value of the inheritance property.
|
void |
setMetadataComplete(Boolean value)
Sets the value of the metadataComplete property.
|
void |
setName(String value)
Sets the value of the name 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.
|
void |
setPrimaryKeyForeignKey(ForeignKey value)
Sets the value of the primaryKeyForeignKey property.
|
void |
setSequenceGenerator(SequenceGenerator value)
Sets the value of the sequenceGenerator property.
|
void |
setTable(Table value)
Sets the value of the table property.
|
void |
setTableGenerator(TableGenerator value)
Sets the value of the tableGenerator property.
|
protected String description
protected Table table
protected List<SecondaryTable> secondaryTable
protected List<PrimaryKeyJoinColumn> primaryKeyJoinColumn
protected ForeignKey primaryKeyForeignKey
protected IdClass idClass
protected Inheritance inheritance
protected String discriminatorValue
protected DiscriminatorColumn discriminatorColumn
protected SequenceGenerator sequenceGenerator
protected TableGenerator tableGenerator
protected List<NamedQuery> namedQuery
protected List<NamedNativeQuery> namedNativeQuery
protected List<NamedStoredProcedureQuery> namedStoredProcedureQuery
protected List<SqlResultSetMapping> sqlResultSetMapping
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 List<AttributeOverride> attributeOverride
protected List<AssociationOverride> associationOverride
protected List<NamedEntityGraph> namedEntityGraph
protected Attributes attributes
protected String name
protected String clazz
protected AccessType access
protected Boolean cacheable
protected Boolean metadataComplete
public String getDescription()
String
public void setDescription(String value)
value
- allowed object is
String
public Table getTable()
Table
public void setTable(Table value)
value
- allowed object is
Table
public List<SecondaryTable> getSecondaryTable()
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 JAXB object.
This is why there is not a set
method 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
public List<PrimaryKeyJoinColumn> getPrimaryKeyJoinColumn()
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 JAXB object.
This is why there is not a set
method 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
public ForeignKey getPrimaryKeyForeignKey()
ForeignKey
public void setPrimaryKeyForeignKey(ForeignKey value)
value
- allowed object is
ForeignKey
public IdClass getIdClass()
IdClass
public void setIdClass(IdClass value)
value
- allowed object is
IdClass
public Inheritance getInheritance()
Inheritance
public void setInheritance(Inheritance value)
value
- allowed object is
Inheritance
public String getDiscriminatorValue()
String
public void setDiscriminatorValue(String value)
value
- allowed object is
String
public DiscriminatorColumn getDiscriminatorColumn()
DiscriminatorColumn
public void setDiscriminatorColumn(DiscriminatorColumn value)
value
- allowed object is
DiscriminatorColumn
public SequenceGenerator getSequenceGenerator()
SequenceGenerator
public void setSequenceGenerator(SequenceGenerator value)
value
- allowed object is
SequenceGenerator
public TableGenerator getTableGenerator()
TableGenerator
public void setTableGenerator(TableGenerator value)
value
- allowed object is
TableGenerator
public List<NamedQuery> getNamedQuery()
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 JAXB object.
This is why there is not a set
method 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
public List<NamedNativeQuery> getNamedNativeQuery()
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 JAXB object.
This is why there is not a set
method 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
public List<NamedStoredProcedureQuery> getNamedStoredProcedureQuery()
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 JAXB object.
This is why there is not a set
method 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
public List<SqlResultSetMapping> getSqlResultSetMapping()
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 JAXB object.
This is why there is not a set
method 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
public EmptyType getExcludeDefaultListeners()
EmptyType
public void setExcludeDefaultListeners(EmptyType value)
value
- allowed object is
EmptyType
public EmptyType getExcludeSuperclassListeners()
EmptyType
public void setExcludeSuperclassListeners(EmptyType value)
value
- allowed object is
EmptyType
public EntityListeners getEntityListeners()
EntityListeners
public void setEntityListeners(EntityListeners value)
value
- allowed object is
EntityListeners
public PrePersist getPrePersist()
PrePersist
public void setPrePersist(PrePersist value)
value
- allowed object is
PrePersist
public PostPersist getPostPersist()
PostPersist
public void setPostPersist(PostPersist value)
value
- allowed object is
PostPersist
public PreRemove getPreRemove()
PreRemove
public void setPreRemove(PreRemove value)
value
- allowed object is
PreRemove
public PostRemove getPostRemove()
PostRemove
public void setPostRemove(PostRemove value)
value
- allowed object is
PostRemove
public PreUpdate getPreUpdate()
PreUpdate
public void setPreUpdate(PreUpdate value)
value
- allowed object is
PreUpdate
public PostUpdate getPostUpdate()
PostUpdate
public void setPostUpdate(PostUpdate value)
value
- allowed object is
PostUpdate
public PostLoad getPostLoad()
PostLoad
public void setPostLoad(PostLoad value)
value
- allowed object is
PostLoad
public List<AttributeOverride> getAttributeOverride()
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 JAXB object.
This is why there is not a set
method 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
public List<AssociationOverride> getAssociationOverride()
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 JAXB object.
This is why there is not a set
method 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
public List<Convert> getConvert()
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 JAXB object.
This is why there is not a set
method 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
public List<NamedEntityGraph> getNamedEntityGraph()
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 JAXB object.
This is why there is not a set
method 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
public Attributes getAttributes()
Attributes
public void setAttributes(Attributes value)
value
- allowed object is
Attributes
public String getName()
String
public void setName(String value)
value
- allowed object is
String
public String getClazz()
String
public void setClazz(String value)
value
- allowed object is
String
public AccessType getAccess()
AccessType
public void setAccess(AccessType value)
value
- allowed object is
AccessType
public Boolean isCacheable()
Boolean
public void setCacheable(Boolean value)
value
- allowed object is
Boolean
public Boolean isMetadataComplete()
Boolean
Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.