net.sourceforge.ccxjc.it.model.priv.collections.novalueclass.persistence.orm.impl
Class EntityImpl

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.priv.collections.novalueclass.persistence.orm.impl.EntityImpl
All Implemented Interfaces:
Serializable, Cloneable, Entity

public class EntityImpl
extends Object
implements Serializable, Cloneable, Entity

See Also:
Serialized Form

Field Summary
protected  AccessType access
           
protected  List<AssociationOverride> associationOverride
           
protected  List<AttributeOverride> attributeOverride
           
protected  AttributesImpl attributes
           
protected  String clazz
           
protected  String description
           
protected  DiscriminatorColumnImpl discriminatorColumn
           
protected  String discriminatorValue
           
protected  EntityListenersImpl entityListeners
           
protected  EmptyTypeImpl excludeDefaultListeners
           
protected  EmptyTypeImpl excludeSuperclassListeners
           
protected  IdClassImpl idClass
           
protected  InheritanceImpl inheritance
           
protected  Boolean metadataComplete
           
protected  String name
           
protected  List<NamedNativeQuery> namedNativeQuery
           
protected  List<NamedQuery> namedQuery
           
protected  PostLoadImpl postLoad
           
protected  PostPersistImpl postPersist
           
protected  PostRemoveImpl postRemove
           
protected  PostUpdateImpl postUpdate
           
protected  PrePersistImpl prePersist
           
protected  PreRemoveImpl preRemove
           
protected  PreUpdateImpl preUpdate
           
protected  List<PrimaryKeyJoinColumn> primaryKeyJoinColumn
           
protected  List<SecondaryTable> secondaryTable
           
protected  SequenceGeneratorImpl sequenceGenerator
           
protected  List<SqlResultSetMapping> sqlResultSetMapping
           
protected  TableImpl table
           
protected  TableGeneratorImpl tableGenerator
           
 
Constructor Summary
EntityImpl()
          Creates a new net.sourceforge.ccxjc.it.model.priv.collections.novalueclass.persistence.orm.impl.EntityImpl instance.
EntityImpl(EntityImpl o)
          Creates a new net.sourceforge.ccxjc.it.model.priv.collections.novalueclass.persistence.orm.impl.EntityImpl instance by copying a given instance.
 
Method Summary
 EntityImpl clone()
          Creates and returns a copy of this object.
 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.
 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<NamedNativeQuery> getNamedNativeQuery()
          Gets the value of the namedNativeQuery property.
 List<NamedQuery> getNamedQuery()
          Gets the value of the namedQuery 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.
 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 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 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 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.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

description

protected String description

table

protected TableImpl table

secondaryTable

protected List<SecondaryTable> secondaryTable

primaryKeyJoinColumn

protected List<PrimaryKeyJoinColumn> primaryKeyJoinColumn

idClass

protected IdClassImpl idClass

inheritance

protected InheritanceImpl inheritance

discriminatorValue

protected String discriminatorValue

discriminatorColumn

protected DiscriminatorColumnImpl discriminatorColumn

sequenceGenerator

protected SequenceGeneratorImpl sequenceGenerator

tableGenerator

protected TableGeneratorImpl tableGenerator

namedQuery

protected List<NamedQuery> namedQuery

namedNativeQuery

protected List<NamedNativeQuery> namedNativeQuery

sqlResultSetMapping

protected List<SqlResultSetMapping> sqlResultSetMapping

excludeDefaultListeners

protected EmptyTypeImpl excludeDefaultListeners

excludeSuperclassListeners

protected EmptyTypeImpl excludeSuperclassListeners

entityListeners

protected EntityListenersImpl entityListeners

prePersist

protected PrePersistImpl prePersist

postPersist

protected PostPersistImpl postPersist

preRemove

protected PreRemoveImpl preRemove

postRemove

protected PostRemoveImpl postRemove

preUpdate

protected PreUpdateImpl preUpdate

postUpdate

protected PostUpdateImpl postUpdate

postLoad

protected PostLoadImpl postLoad

attributeOverride

protected List<AttributeOverride> attributeOverride

associationOverride

protected List<AssociationOverride> associationOverride

attributes

protected AttributesImpl attributes

name

protected String name

clazz

protected String clazz

access

protected AccessType access

metadataComplete

protected Boolean metadataComplete
Constructor Detail

EntityImpl

public EntityImpl()
Creates a new net.sourceforge.ccxjc.it.model.priv.collections.novalueclass.persistence.orm.impl.EntityImpl instance.


EntityImpl

public EntityImpl(EntityImpl o)
Creates a new net.sourceforge.ccxjc.it.model.priv.collections.novalueclass.persistence.orm.impl.EntityImpl instance by copying a given instance.

Parameters:
o - The instance to copy or null.
Method Detail

getDescription

public String getDescription()
Description copied from interface: Entity
Gets the value of the description property.

Specified by:
getDescription in interface Entity
Returns:
possible object is String

setDescription

public void setDescription(String value)
Description copied from interface: Entity
Sets the value of the description property.

Specified by:
setDescription in interface Entity
Parameters:
value - allowed object is String

getTable

public Table getTable()
Description copied from interface: Entity
Gets the value of the table property.

Specified by:
getTable in interface Entity
Returns:
possible object is Table

setTable

public void setTable(Table value)
Description copied from interface: Entity
Sets the value of the table property.

Specified by:
setTable in interface Entity
Parameters:
value - allowed object is Table

getSecondaryTable

public List<SecondaryTable> getSecondaryTable()
Description copied from interface: Entity
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 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

Specified by:
getSecondaryTable in interface Entity

getPrimaryKeyJoinColumn

public List<PrimaryKeyJoinColumn> getPrimaryKeyJoinColumn()
Description copied from interface: Entity
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 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

Specified by:
getPrimaryKeyJoinColumn in interface Entity

getIdClass

public IdClass getIdClass()
Description copied from interface: Entity
Gets the value of the idClass property.

Specified by:
getIdClass in interface Entity
Returns:
possible object is IdClass

setIdClass

public void setIdClass(IdClass value)
Description copied from interface: Entity
Sets the value of the idClass property.

Specified by:
setIdClass in interface Entity
Parameters:
value - allowed object is IdClass

getInheritance

public Inheritance getInheritance()
Description copied from interface: Entity
Gets the value of the inheritance property.

Specified by:
getInheritance in interface Entity
Returns:
possible object is Inheritance

setInheritance

public void setInheritance(Inheritance value)
Description copied from interface: Entity
Sets the value of the inheritance property.

Specified by:
setInheritance in interface Entity
Parameters:
value - allowed object is Inheritance

getDiscriminatorValue

public String getDiscriminatorValue()
Description copied from interface: Entity
Gets the value of the discriminatorValue property.

Specified by:
getDiscriminatorValue in interface Entity
Returns:
possible object is String

setDiscriminatorValue

public void setDiscriminatorValue(String value)
Description copied from interface: Entity
Sets the value of the discriminatorValue property.

Specified by:
setDiscriminatorValue in interface Entity
Parameters:
value - allowed object is String

getDiscriminatorColumn

public DiscriminatorColumn getDiscriminatorColumn()
Description copied from interface: Entity
Gets the value of the discriminatorColumn property.

Specified by:
getDiscriminatorColumn in interface Entity
Returns:
possible object is DiscriminatorColumn

setDiscriminatorColumn

public void setDiscriminatorColumn(DiscriminatorColumn value)
Description copied from interface: Entity
Sets the value of the discriminatorColumn property.

Specified by:
setDiscriminatorColumn in interface Entity
Parameters:
value - allowed object is DiscriminatorColumn

getSequenceGenerator

public SequenceGenerator getSequenceGenerator()
Description copied from interface: Entity
Gets the value of the sequenceGenerator property.

Specified by:
getSequenceGenerator in interface Entity
Returns:
possible object is SequenceGenerator

setSequenceGenerator

public void setSequenceGenerator(SequenceGenerator value)
Description copied from interface: Entity
Sets the value of the sequenceGenerator property.

Specified by:
setSequenceGenerator in interface Entity
Parameters:
value - allowed object is SequenceGenerator

getTableGenerator

public TableGenerator getTableGenerator()
Description copied from interface: Entity
Gets the value of the tableGenerator property.

Specified by:
getTableGenerator in interface Entity
Returns:
possible object is TableGenerator

setTableGenerator

public void setTableGenerator(TableGenerator value)
Description copied from interface: Entity
Sets the value of the tableGenerator property.

Specified by:
setTableGenerator in interface Entity
Parameters:
value - allowed object is TableGenerator

getNamedQuery

public List<NamedQuery> getNamedQuery()
Description copied from interface: Entity
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 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

Specified by:
getNamedQuery in interface Entity

getNamedNativeQuery

public List<NamedNativeQuery> getNamedNativeQuery()
Description copied from interface: Entity
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 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

Specified by:
getNamedNativeQuery in interface Entity

getSqlResultSetMapping

public List<SqlResultSetMapping> getSqlResultSetMapping()
Description copied from interface: Entity
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 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

Specified by:
getSqlResultSetMapping in interface Entity

getExcludeDefaultListeners

public EmptyType getExcludeDefaultListeners()
Description copied from interface: Entity
Gets the value of the excludeDefaultListeners property.

Specified by:
getExcludeDefaultListeners in interface Entity
Returns:
possible object is EmptyType

setExcludeDefaultListeners

public void setExcludeDefaultListeners(EmptyType value)
Description copied from interface: Entity
Sets the value of the excludeDefaultListeners property.

Specified by:
setExcludeDefaultListeners in interface Entity
Parameters:
value - allowed object is EmptyType

getExcludeSuperclassListeners

public EmptyType getExcludeSuperclassListeners()
Description copied from interface: Entity
Gets the value of the excludeSuperclassListeners property.

Specified by:
getExcludeSuperclassListeners in interface Entity
Returns:
possible object is EmptyType

setExcludeSuperclassListeners

public void setExcludeSuperclassListeners(EmptyType value)
Description copied from interface: Entity
Sets the value of the excludeSuperclassListeners property.

Specified by:
setExcludeSuperclassListeners in interface Entity
Parameters:
value - allowed object is EmptyType

getEntityListeners

public EntityListeners getEntityListeners()
Description copied from interface: Entity
Gets the value of the entityListeners property.

Specified by:
getEntityListeners in interface Entity
Returns:
possible object is EntityListeners

setEntityListeners

public void setEntityListeners(EntityListeners value)
Description copied from interface: Entity
Sets the value of the entityListeners property.

Specified by:
setEntityListeners in interface Entity
Parameters:
value - allowed object is EntityListeners

getPrePersist

public PrePersist getPrePersist()
Description copied from interface: Entity
Gets the value of the prePersist property.

Specified by:
getPrePersist in interface Entity
Returns:
possible object is PrePersist

setPrePersist

public void setPrePersist(PrePersist value)
Description copied from interface: Entity
Sets the value of the prePersist property.

Specified by:
setPrePersist in interface Entity
Parameters:
value - allowed object is PrePersist

getPostPersist

public PostPersist getPostPersist()
Description copied from interface: Entity
Gets the value of the postPersist property.

Specified by:
getPostPersist in interface Entity
Returns:
possible object is PostPersist

setPostPersist

public void setPostPersist(PostPersist value)
Description copied from interface: Entity
Sets the value of the postPersist property.

Specified by:
setPostPersist in interface Entity
Parameters:
value - allowed object is PostPersist

getPreRemove

public PreRemove getPreRemove()
Description copied from interface: Entity
Gets the value of the preRemove property.

Specified by:
getPreRemove in interface Entity
Returns:
possible object is PreRemove

setPreRemove

public void setPreRemove(PreRemove value)
Description copied from interface: Entity
Sets the value of the preRemove property.

Specified by:
setPreRemove in interface Entity
Parameters:
value - allowed object is PreRemove

getPostRemove

public PostRemove getPostRemove()
Description copied from interface: Entity
Gets the value of the postRemove property.

Specified by:
getPostRemove in interface Entity
Returns:
possible object is PostRemove

setPostRemove

public void setPostRemove(PostRemove value)
Description copied from interface: Entity
Sets the value of the postRemove property.

Specified by:
setPostRemove in interface Entity
Parameters:
value - allowed object is PostRemove

getPreUpdate

public PreUpdate getPreUpdate()
Description copied from interface: Entity
Gets the value of the preUpdate property.

Specified by:
getPreUpdate in interface Entity
Returns:
possible object is PreUpdate

setPreUpdate

public void setPreUpdate(PreUpdate value)
Description copied from interface: Entity
Sets the value of the preUpdate property.

Specified by:
setPreUpdate in interface Entity
Parameters:
value - allowed object is PreUpdate

getPostUpdate

public PostUpdate getPostUpdate()
Description copied from interface: Entity
Gets the value of the postUpdate property.

Specified by:
getPostUpdate in interface Entity
Returns:
possible object is PostUpdate

setPostUpdate

public void setPostUpdate(PostUpdate value)
Description copied from interface: Entity
Sets the value of the postUpdate property.

Specified by:
setPostUpdate in interface Entity
Parameters:
value - allowed object is PostUpdate

getPostLoad

public PostLoad getPostLoad()
Description copied from interface: Entity
Gets the value of the postLoad property.

Specified by:
getPostLoad in interface Entity
Returns:
possible object is PostLoad

setPostLoad

public void setPostLoad(PostLoad value)
Description copied from interface: Entity
Sets the value of the postLoad property.

Specified by:
setPostLoad in interface Entity
Parameters:
value - allowed object is PostLoad

getAttributeOverride

public List<AttributeOverride> getAttributeOverride()
Description copied from interface: Entity
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 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

Specified by:
getAttributeOverride in interface Entity

getAssociationOverride

public List<AssociationOverride> getAssociationOverride()
Description copied from interface: Entity
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 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

Specified by:
getAssociationOverride in interface Entity

getAttributes

public Attributes getAttributes()
Description copied from interface: Entity
Gets the value of the attributes property.

Specified by:
getAttributes in interface Entity
Returns:
possible object is Attributes

setAttributes

public void setAttributes(Attributes value)
Description copied from interface: Entity
Sets the value of the attributes property.

Specified by:
setAttributes in interface Entity
Parameters:
value - allowed object is Attributes

getName

public String getName()
Description copied from interface: Entity
Gets the value of the name property.

Specified by:
getName in interface Entity
Returns:
possible object is String

setName

public void setName(String value)
Description copied from interface: Entity
Sets the value of the name property.

Specified by:
setName in interface Entity
Parameters:
value - allowed object is String

getClazz

public String getClazz()
Description copied from interface: Entity
Gets the value of the clazz property.

Specified by:
getClazz in interface Entity
Returns:
possible object is String

setClazz

public void setClazz(String value)
Description copied from interface: Entity
Sets the value of the clazz property.

Specified by:
setClazz in interface Entity
Parameters:
value - allowed object is String

getAccess

public AccessType getAccess()
Description copied from interface: Entity
Gets the value of the access property.

Specified by:
getAccess in interface Entity
Returns:
possible object is AccessType

setAccess

public void setAccess(AccessType value)
Description copied from interface: Entity
Sets the value of the access property.

Specified by:
setAccess in interface Entity
Parameters:
value - allowed object is AccessType

isMetadataComplete

public Boolean isMetadataComplete()
Description copied from interface: Entity
Gets the value of the metadataComplete property.

Specified by:
isMetadataComplete in interface Entity
Returns:
possible object is Boolean

setMetadataComplete

public void setMetadataComplete(Boolean value)
Description copied from interface: Entity
Sets the value of the metadataComplete property.

Specified by:
setMetadataComplete in interface Entity
Parameters:
value - allowed object is Boolean

clone

public EntityImpl clone()
Creates and returns a copy of this object.

Overrides:
clone in class Object
Returns:
A clone of this instance.


Copyright © 2009 The CC-XJC Community. All Rights Reserved.