|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hibernate.internal.jaxb.mapping.orm.JaxbEntity
public class JaxbEntity
Defines the settings and mappings for an entity. 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 on the entity class (and its fields or properties) are to be processed. If this is the case then the defaulting rules for the entity and its subelements will be recursively applied.
| Constructor Summary | |
|---|---|
JaxbEntity()
|
|
| Method Summary | |
|---|---|
JaxbAccessType |
getAccess()
Gets the value of the access property. |
List<JaxbAssociationOverride> |
getAssociationOverride()
Gets the value of the associationOverride property. |
List<JaxbAttributeOverride> |
getAttributeOverride()
Gets the value of the attributeOverride property. |
JaxbAttributes |
getAttributes()
Gets the value of the attributes property. |
String |
getClazz()
Gets the value of the clazz property. |
String |
getDescription()
Gets the value of the description property. |
JaxbDiscriminatorColumn |
getDiscriminatorColumn()
Gets the value of the discriminatorColumn property. |
String |
getDiscriminatorValue()
Gets the value of the discriminatorValue property. |
JaxbEntityListeners |
getEntityListeners()
Gets the value of the entityListeners property. |
JaxbEmptyType |
getExcludeDefaultListeners()
Gets the value of the excludeDefaultListeners property. |
JaxbEmptyType |
getExcludeSuperclassListeners()
Gets the value of the excludeSuperclassListeners property. |
JaxbIdClass |
getIdClass()
Gets the value of the idClass property. |
JaxbInheritance |
getInheritance()
Gets the value of the inheritance property. |
String |
getName()
Gets the value of the name property. |
List<JaxbNamedNativeQuery> |
getNamedNativeQuery()
Gets the value of the namedNativeQuery property. |
List<JaxbNamedQuery> |
getNamedQuery()
Gets the value of the namedQuery property. |
JaxbPostLoad |
getPostLoad()
Gets the value of the postLoad property. |
JaxbPostPersist |
getPostPersist()
Gets the value of the postPersist property. |
JaxbPostRemove |
getPostRemove()
Gets the value of the postRemove property. |
JaxbPostUpdate |
getPostUpdate()
Gets the value of the postUpdate property. |
JaxbPrePersist |
getPrePersist()
Gets the value of the prePersist property. |
JaxbPreRemove |
getPreRemove()
Gets the value of the preRemove property. |
JaxbPreUpdate |
getPreUpdate()
Gets the value of the preUpdate property. |
List<JaxbPrimaryKeyJoinColumn> |
getPrimaryKeyJoinColumn()
Gets the value of the primaryKeyJoinColumn property. |
List<JaxbSecondaryTable> |
getSecondaryTable()
Gets the value of the secondaryTable property. |
JaxbSequenceGenerator |
getSequenceGenerator()
Gets the value of the sequenceGenerator property. |
List<JaxbSqlResultSetMapping> |
getSqlResultSetMapping()
Gets the value of the sqlResultSetMapping property. |
JaxbTable |
getTable()
Gets the value of the table property. |
JaxbTableGenerator |
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(JaxbAccessType value)
Sets the value of the access property. |
void |
setAttributes(JaxbAttributes 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(JaxbDiscriminatorColumn value)
Sets the value of the discriminatorColumn property. |
void |
setDiscriminatorValue(String value)
Sets the value of the discriminatorValue property. |
void |
setEntityListeners(JaxbEntityListeners value)
Sets the value of the entityListeners property. |
void |
setExcludeDefaultListeners(JaxbEmptyType value)
Sets the value of the excludeDefaultListeners property. |
void |
setExcludeSuperclassListeners(JaxbEmptyType value)
Sets the value of the excludeSuperclassListeners property. |
void |
setIdClass(JaxbIdClass value)
Sets the value of the idClass property. |
void |
setInheritance(JaxbInheritance 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(JaxbPostLoad value)
Sets the value of the postLoad property. |
void |
setPostPersist(JaxbPostPersist value)
Sets the value of the postPersist property. |
void |
setPostRemove(JaxbPostRemove value)
Sets the value of the postRemove property. |
void |
setPostUpdate(JaxbPostUpdate value)
Sets the value of the postUpdate property. |
void |
setPrePersist(JaxbPrePersist value)
Sets the value of the prePersist property. |
void |
setPreRemove(JaxbPreRemove value)
Sets the value of the preRemove property. |
void |
setPreUpdate(JaxbPreUpdate value)
Sets the value of the preUpdate property. |
void |
setSequenceGenerator(JaxbSequenceGenerator value)
Sets the value of the sequenceGenerator property. |
void |
setTable(JaxbTable value)
Sets the value of the table property. |
void |
setTableGenerator(JaxbTableGenerator value)
Sets the value of the tableGenerator property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String description
protected JaxbTable table
protected List<JaxbSecondaryTable> secondaryTable
protected List<JaxbPrimaryKeyJoinColumn> primaryKeyJoinColumn
protected JaxbIdClass idClass
protected JaxbInheritance inheritance
protected String discriminatorValue
protected JaxbDiscriminatorColumn discriminatorColumn
protected JaxbSequenceGenerator sequenceGenerator
protected JaxbTableGenerator tableGenerator
protected List<JaxbNamedQuery> namedQuery
protected List<JaxbNamedNativeQuery> namedNativeQuery
protected List<JaxbSqlResultSetMapping> sqlResultSetMapping
protected JaxbEmptyType excludeDefaultListeners
protected JaxbEmptyType excludeSuperclassListeners
protected JaxbEntityListeners entityListeners
protected JaxbPrePersist prePersist
protected JaxbPostPersist postPersist
protected JaxbPreRemove preRemove
protected JaxbPostRemove postRemove
protected JaxbPreUpdate preUpdate
protected JaxbPostUpdate postUpdate
protected JaxbPostLoad postLoad
protected List<JaxbAttributeOverride> attributeOverride
protected List<JaxbAssociationOverride> associationOverride
protected JaxbAttributes attributes
protected String name
protected String clazz
protected JaxbAccessType access
protected Boolean cacheable
protected Boolean metadataComplete
| Constructor Detail |
|---|
public JaxbEntity()
| Method Detail |
|---|
public String getDescription()
Stringpublic void setDescription(String value)
value - allowed object is
Stringpublic JaxbTable getTable()
JaxbTablepublic void setTable(JaxbTable value)
value - allowed object is
JaxbTablepublic List<JaxbSecondaryTable> 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
JaxbSecondaryTable
public List<JaxbPrimaryKeyJoinColumn> 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
JaxbPrimaryKeyJoinColumn
public JaxbIdClass getIdClass()
JaxbIdClasspublic void setIdClass(JaxbIdClass value)
value - allowed object is
JaxbIdClasspublic JaxbInheritance getInheritance()
JaxbInheritancepublic void setInheritance(JaxbInheritance value)
value - allowed object is
JaxbInheritancepublic String getDiscriminatorValue()
Stringpublic void setDiscriminatorValue(String value)
value - allowed object is
Stringpublic JaxbDiscriminatorColumn getDiscriminatorColumn()
JaxbDiscriminatorColumnpublic void setDiscriminatorColumn(JaxbDiscriminatorColumn value)
value - allowed object is
JaxbDiscriminatorColumnpublic JaxbSequenceGenerator getSequenceGenerator()
JaxbSequenceGeneratorpublic void setSequenceGenerator(JaxbSequenceGenerator value)
value - allowed object is
JaxbSequenceGeneratorpublic JaxbTableGenerator getTableGenerator()
JaxbTableGeneratorpublic void setTableGenerator(JaxbTableGenerator value)
value - allowed object is
JaxbTableGeneratorpublic List<JaxbNamedQuery> 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
JaxbNamedQuery
public List<JaxbNamedNativeQuery> 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
JaxbNamedNativeQuery
public List<JaxbSqlResultSetMapping> 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
JaxbSqlResultSetMapping
public JaxbEmptyType getExcludeDefaultListeners()
JaxbEmptyTypepublic void setExcludeDefaultListeners(JaxbEmptyType value)
value - allowed object is
JaxbEmptyTypepublic JaxbEmptyType getExcludeSuperclassListeners()
JaxbEmptyTypepublic void setExcludeSuperclassListeners(JaxbEmptyType value)
value - allowed object is
JaxbEmptyTypepublic JaxbEntityListeners getEntityListeners()
JaxbEntityListenerspublic void setEntityListeners(JaxbEntityListeners value)
value - allowed object is
JaxbEntityListenerspublic JaxbPrePersist getPrePersist()
JaxbPrePersistpublic void setPrePersist(JaxbPrePersist value)
value - allowed object is
JaxbPrePersistpublic JaxbPostPersist getPostPersist()
JaxbPostPersistpublic void setPostPersist(JaxbPostPersist value)
value - allowed object is
JaxbPostPersistpublic JaxbPreRemove getPreRemove()
JaxbPreRemovepublic void setPreRemove(JaxbPreRemove value)
value - allowed object is
JaxbPreRemovepublic JaxbPostRemove getPostRemove()
JaxbPostRemovepublic void setPostRemove(JaxbPostRemove value)
value - allowed object is
JaxbPostRemovepublic JaxbPreUpdate getPreUpdate()
JaxbPreUpdatepublic void setPreUpdate(JaxbPreUpdate value)
value - allowed object is
JaxbPreUpdatepublic JaxbPostUpdate getPostUpdate()
JaxbPostUpdatepublic void setPostUpdate(JaxbPostUpdate value)
value - allowed object is
JaxbPostUpdatepublic JaxbPostLoad getPostLoad()
JaxbPostLoadpublic void setPostLoad(JaxbPostLoad value)
value - allowed object is
JaxbPostLoadpublic List<JaxbAttributeOverride> 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
JaxbAttributeOverride
public List<JaxbAssociationOverride> 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
JaxbAssociationOverride
public JaxbAttributes getAttributes()
JaxbAttributespublic void setAttributes(JaxbAttributes value)
value - allowed object is
JaxbAttributespublic String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic String getClazz()
Stringpublic void setClazz(String value)
value - allowed object is
Stringpublic JaxbAccessType getAccess()
JaxbAccessTypepublic void setAccess(JaxbAccessType value)
value - allowed object is
JaxbAccessTypepublic Boolean isCacheable()
Booleanpublic void setCacheable(Boolean value)
value - allowed object is
Booleanpublic Boolean isMetadataComplete()
Booleanpublic void setMetadataComplete(Boolean value)
value - allowed object is
Boolean
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||