|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.ccxjc.it.model.priv.indexed.valueclass.persistence.orm.Entity
public class Entity
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 | |
|---|---|
Entity()
Creates a new net.sourceforge.ccxjc.it.model.priv.indexed.valueclass.persistence.orm.Entity instance. |
|
Entity(Entity o)
Creates a new net.sourceforge.ccxjc.it.model.priv.indexed.valueclass.persistence.orm.Entity instance by copying a given instance. |
|
| Method Summary | |
|---|---|
Entity |
clone()
Creates and returns a copy of this object. |
AccessType |
getAccess()
Gets the value of the access property. |
AssociationOverride[] |
getAssociationOverride()
|
AssociationOverride |
getAssociationOverride(int idx)
|
int |
getAssociationOverrideLength()
|
AttributeOverride[] |
getAttributeOverride()
|
AttributeOverride |
getAttributeOverride(int idx)
|
int |
getAttributeOverrideLength()
|
Attributes |
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. |
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. |
NamedNativeQuery[] |
getNamedNativeQuery()
|
NamedNativeQuery |
getNamedNativeQuery(int idx)
|
int |
getNamedNativeQueryLength()
|
NamedQuery[] |
getNamedQuery()
|
NamedQuery |
getNamedQuery(int idx)
|
int |
getNamedQueryLength()
|
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. |
PrimaryKeyJoinColumn[] |
getPrimaryKeyJoinColumn()
|
PrimaryKeyJoinColumn |
getPrimaryKeyJoinColumn(int idx)
|
int |
getPrimaryKeyJoinColumnLength()
|
SecondaryTable[] |
getSecondaryTable()
|
SecondaryTable |
getSecondaryTable(int idx)
|
int |
getSecondaryTableLength()
|
SequenceGenerator |
getSequenceGenerator()
Gets the value of the sequenceGenerator property. |
SqlResultSetMapping[] |
getSqlResultSetMapping()
|
SqlResultSetMapping |
getSqlResultSetMapping(int idx)
|
int |
getSqlResultSetMappingLength()
|
Table |
getTable()
Gets the value of the table property. |
TableGenerator |
getTableGenerator()
Gets the value of the tableGenerator property. |
Boolean |
isMetadataComplete()
Gets the value of the metadataComplete property. |
void |
setAccess(AccessType value)
Sets the value of the access property. |
void |
setAssociationOverride(AssociationOverride[] values)
|
AssociationOverride |
setAssociationOverride(int idx,
AssociationOverride value)
|
void |
setAttributeOverride(AttributeOverride[] values)
|
AttributeOverride |
setAttributeOverride(int idx,
AttributeOverride value)
|
void |
setAttributes(Attributes value)
Sets the value of the attributes 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. |
NamedNativeQuery |
setNamedNativeQuery(int idx,
NamedNativeQuery value)
|
void |
setNamedNativeQuery(NamedNativeQuery[] values)
|
NamedQuery |
setNamedQuery(int idx,
NamedQuery value)
|
void |
setNamedQuery(NamedQuery[] values)
|
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. |
PrimaryKeyJoinColumn |
setPrimaryKeyJoinColumn(int idx,
PrimaryKeyJoinColumn value)
|
void |
setPrimaryKeyJoinColumn(PrimaryKeyJoinColumn[] values)
|
SecondaryTable |
setSecondaryTable(int idx,
SecondaryTable value)
|
void |
setSecondaryTable(SecondaryTable[] values)
|
void |
setSequenceGenerator(SequenceGenerator value)
Sets the value of the sequenceGenerator property. |
SqlResultSetMapping |
setSqlResultSetMapping(int idx,
SqlResultSetMapping value)
|
void |
setSqlResultSetMapping(SqlResultSetMapping[] values)
|
void |
setTable(Table value)
Sets the value of the table property. |
void |
setTableGenerator(TableGenerator value)
Sets the value of the tableGenerator property. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String description
protected Table table
protected SecondaryTable[] secondaryTable
protected PrimaryKeyJoinColumn[] primaryKeyJoinColumn
protected IdClass idClass
protected Inheritance inheritance
protected String discriminatorValue
protected DiscriminatorColumn discriminatorColumn
protected SequenceGenerator sequenceGenerator
protected TableGenerator tableGenerator
protected NamedQuery[] namedQuery
protected NamedNativeQuery[] namedNativeQuery
protected 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 AttributeOverride[] attributeOverride
protected AssociationOverride[] associationOverride
protected Attributes attributes
protected String name
protected String clazz
protected AccessType access
protected Boolean metadataComplete
| Constructor Detail |
|---|
public Entity()
net.sourceforge.ccxjc.it.model.priv.indexed.valueclass.persistence.orm.Entity instance.
public Entity(Entity o)
net.sourceforge.ccxjc.it.model.priv.indexed.valueclass.persistence.orm.Entity instance by copying a given instance.
o - The instance to copy or null.| Method Detail |
|---|
public String getDescription()
Stringpublic void setDescription(String value)
value - allowed object is
Stringpublic Table getTable()
Tablepublic void setTable(Table value)
value - allowed object is
Tablepublic SecondaryTable[] getSecondaryTable()
SecondaryTablepublic SecondaryTable getSecondaryTable(int idx)
SecondaryTablepublic int getSecondaryTableLength()
public void setSecondaryTable(SecondaryTable[] values)
values - allowed objects are
SecondaryTable
public SecondaryTable setSecondaryTable(int idx,
SecondaryTable value)
value - allowed object is
SecondaryTablepublic PrimaryKeyJoinColumn[] getPrimaryKeyJoinColumn()
PrimaryKeyJoinColumnpublic PrimaryKeyJoinColumn getPrimaryKeyJoinColumn(int idx)
PrimaryKeyJoinColumnpublic int getPrimaryKeyJoinColumnLength()
public void setPrimaryKeyJoinColumn(PrimaryKeyJoinColumn[] values)
values - allowed objects are
PrimaryKeyJoinColumn
public PrimaryKeyJoinColumn setPrimaryKeyJoinColumn(int idx,
PrimaryKeyJoinColumn value)
value - allowed object is
PrimaryKeyJoinColumnpublic IdClass getIdClass()
IdClasspublic void setIdClass(IdClass value)
value - allowed object is
IdClasspublic Inheritance getInheritance()
Inheritancepublic void setInheritance(Inheritance value)
value - allowed object is
Inheritancepublic String getDiscriminatorValue()
Stringpublic void setDiscriminatorValue(String value)
value - allowed object is
Stringpublic DiscriminatorColumn getDiscriminatorColumn()
DiscriminatorColumnpublic void setDiscriminatorColumn(DiscriminatorColumn value)
value - allowed object is
DiscriminatorColumnpublic SequenceGenerator getSequenceGenerator()
SequenceGeneratorpublic void setSequenceGenerator(SequenceGenerator value)
value - allowed object is
SequenceGeneratorpublic TableGenerator getTableGenerator()
TableGeneratorpublic void setTableGenerator(TableGenerator value)
value - allowed object is
TableGeneratorpublic NamedQuery[] getNamedQuery()
NamedQuerypublic NamedQuery getNamedQuery(int idx)
NamedQuerypublic int getNamedQueryLength()
public void setNamedQuery(NamedQuery[] values)
values - allowed objects are
NamedQuery
public NamedQuery setNamedQuery(int idx,
NamedQuery value)
value - allowed object is
NamedQuerypublic NamedNativeQuery[] getNamedNativeQuery()
NamedNativeQuerypublic NamedNativeQuery getNamedNativeQuery(int idx)
NamedNativeQuerypublic int getNamedNativeQueryLength()
public void setNamedNativeQuery(NamedNativeQuery[] values)
values - allowed objects are
NamedNativeQuery
public NamedNativeQuery setNamedNativeQuery(int idx,
NamedNativeQuery value)
value - allowed object is
NamedNativeQuerypublic SqlResultSetMapping[] getSqlResultSetMapping()
SqlResultSetMappingpublic SqlResultSetMapping getSqlResultSetMapping(int idx)
SqlResultSetMappingpublic int getSqlResultSetMappingLength()
public void setSqlResultSetMapping(SqlResultSetMapping[] values)
values - allowed objects are
SqlResultSetMapping
public SqlResultSetMapping setSqlResultSetMapping(int idx,
SqlResultSetMapping value)
value - allowed object is
SqlResultSetMappingpublic EmptyType getExcludeDefaultListeners()
EmptyTypepublic void setExcludeDefaultListeners(EmptyType value)
value - allowed object is
EmptyTypepublic EmptyType getExcludeSuperclassListeners()
EmptyTypepublic void setExcludeSuperclassListeners(EmptyType value)
value - allowed object is
EmptyTypepublic EntityListeners getEntityListeners()
EntityListenerspublic void setEntityListeners(EntityListeners value)
value - allowed object is
EntityListenerspublic PrePersist getPrePersist()
PrePersistpublic void setPrePersist(PrePersist value)
value - allowed object is
PrePersistpublic PostPersist getPostPersist()
PostPersistpublic void setPostPersist(PostPersist value)
value - allowed object is
PostPersistpublic PreRemove getPreRemove()
PreRemovepublic void setPreRemove(PreRemove value)
value - allowed object is
PreRemovepublic PostRemove getPostRemove()
PostRemovepublic void setPostRemove(PostRemove value)
value - allowed object is
PostRemovepublic PreUpdate getPreUpdate()
PreUpdatepublic void setPreUpdate(PreUpdate value)
value - allowed object is
PreUpdatepublic PostUpdate getPostUpdate()
PostUpdatepublic void setPostUpdate(PostUpdate value)
value - allowed object is
PostUpdatepublic PostLoad getPostLoad()
PostLoadpublic void setPostLoad(PostLoad value)
value - allowed object is
PostLoadpublic AttributeOverride[] getAttributeOverride()
AttributeOverridepublic AttributeOverride getAttributeOverride(int idx)
AttributeOverridepublic int getAttributeOverrideLength()
public void setAttributeOverride(AttributeOverride[] values)
values - allowed objects are
AttributeOverride
public AttributeOverride setAttributeOverride(int idx,
AttributeOverride value)
value - allowed object is
AttributeOverridepublic AssociationOverride[] getAssociationOverride()
AssociationOverridepublic AssociationOverride getAssociationOverride(int idx)
AssociationOverridepublic int getAssociationOverrideLength()
public void setAssociationOverride(AssociationOverride[] values)
values - allowed objects are
AssociationOverride
public AssociationOverride setAssociationOverride(int idx,
AssociationOverride value)
value - allowed object is
AssociationOverridepublic Attributes getAttributes()
Attributespublic void setAttributes(Attributes value)
value - allowed object is
Attributespublic String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic String getClazz()
Stringpublic void setClazz(String value)
value - allowed object is
Stringpublic AccessType getAccess()
AccessTypepublic void setAccess(AccessType value)
value - allowed object is
AccessTypepublic Boolean isMetadataComplete()
Booleanpublic void setMetadataComplete(Boolean value)
value - allowed object is
Booleanpublic Entity clone()
clone in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||