com.caucho.amber.cfg
Class EntityConfig

java.lang.Object
  extended by com.caucho.amber.cfg.MappedSuperclassConfig
      extended by com.caucho.amber.cfg.EntityConfig

public class EntityConfig
extends MappedSuperclassConfig

tag in the orm.xml


Constructor Summary
EntityConfig()
           
 
Method Summary
 void addAssociationOverride(AssociationOverrideConfig associationOverride)
           
 void addAttributeOverride(AttributeOverrideConfig attributeOverride)
           
 java.lang.String getAccess()
          Returns the access type.
 java.util.ArrayList<AssociationOverrideConfig> getAssociationOverrideList()
           
 java.util.ArrayList<AttributeOverrideConfig> getAttributeOverrideList()
           
 DiscriminatorColumnConfig getDiscriminatorColumn()
           
 java.lang.String getDiscriminatorValue()
           
 EntityType getEntityType()
          Returns the configured entity type
 InheritanceConfig getInheritance()
           
 java.lang.String getName()
          Returns the entity name.
 NamedNativeQueryConfig getNamedNativeQuery()
           
 NamedQueryConfig getNamedQuery()
           
 PrimaryKeyJoinColumnConfig getPrimaryKeyJoinColumn()
           
 SecondaryTableConfig getSecondaryTable()
           
 SequenceGeneratorConfig getSequenceGenerator()
           
 SqlResultSetMappingConfig getSqlResultSetMapping()
           
 TableConfig getTable()
           
 TableGeneratorConfig getTableGenerator()
           
 void setAccess(java.lang.String access)
          Sets the access type.
 void setDiscriminatorColumn(DiscriminatorColumnConfig discriminatorColumn)
           
 void setDiscriminatorValue(java.lang.String discriminatorValue)
           
 void setEntityType(EntityType entityType)
          Returns the configured entity type
 void setInheritance(InheritanceConfig inheritance)
           
 void setName(java.lang.String name)
          Sets the entity name.
 void setNamedNativeQuery(NamedNativeQueryConfig namedNativeQuery)
           
 void setNamedQuery(NamedQueryConfig namedQuery)
           
 void setPrimaryKeyJoinColumn(PrimaryKeyJoinColumnConfig primaryKeyJoinColumn)
           
 void setSecondaryTable(SecondaryTableConfig secondaryTable)
           
 void setSequenceGenerator(SequenceGeneratorConfig sequenceGenerator)
           
 void setSqlResultSetMapping(SqlResultSetMappingConfig sqlResultSetMapping)
           
 void setTable(TableConfig table)
           
 void setTableGenerator(TableGeneratorConfig tableGenerator)
           
 java.lang.String toString()
           
 
Methods inherited from class com.caucho.amber.cfg.MappedSuperclassConfig
addClass, getAttributes, getClassName, getDescription, getEntityListeners, getExcludeDefaultListeners, getExcludeSuperclassListeners, getIdClass, getPostLoad, getPostPersist, getPostRemove, getPostUpdate, getPrePersist, getPreRemove, getPreUpdate, getSimpleClassName, isMetaDataComplete, setAttributes, setDescription, setEntityListeners, setExcludeDefaultListeners, setExcludeSuperclassListeners, setIdClass, setMetaDataComplete, setPostLoad, setPostPersist, setPostRemove, setPostUpdate, setPrePersist, setPreRemove, setPreUpdate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EntityConfig

public EntityConfig()
Method Detail

getName

public java.lang.String getName()
Returns the entity name.


setName

public void setName(java.lang.String name)
Sets the entity name.


getEntityType

public EntityType getEntityType()
Returns the configured entity type


setEntityType

public void setEntityType(EntityType entityType)
Returns the configured entity type


getTable

public TableConfig getTable()

setTable

public void setTable(TableConfig table)

addAssociationOverride

public void addAssociationOverride(AssociationOverrideConfig associationOverride)

getAssociationOverrideList

public java.util.ArrayList<AssociationOverrideConfig> getAssociationOverrideList()

addAttributeOverride

public void addAttributeOverride(AttributeOverrideConfig attributeOverride)

getAttributeOverrideList

public java.util.ArrayList<AttributeOverrideConfig> getAttributeOverrideList()

getSecondaryTable

public SecondaryTableConfig getSecondaryTable()

setSecondaryTable

public void setSecondaryTable(SecondaryTableConfig secondaryTable)

getPrimaryKeyJoinColumn

public PrimaryKeyJoinColumnConfig getPrimaryKeyJoinColumn()

setPrimaryKeyJoinColumn

public void setPrimaryKeyJoinColumn(PrimaryKeyJoinColumnConfig primaryKeyJoinColumn)

getInheritance

public InheritanceConfig getInheritance()

setInheritance

public void setInheritance(InheritanceConfig inheritance)

getDiscriminatorValue

public java.lang.String getDiscriminatorValue()

setDiscriminatorValue

public void setDiscriminatorValue(java.lang.String discriminatorValue)

getDiscriminatorColumn

public DiscriminatorColumnConfig getDiscriminatorColumn()

setDiscriminatorColumn

public void setDiscriminatorColumn(DiscriminatorColumnConfig discriminatorColumn)

getSequenceGenerator

public SequenceGeneratorConfig getSequenceGenerator()

setSequenceGenerator

public void setSequenceGenerator(SequenceGeneratorConfig sequenceGenerator)

getTableGenerator

public TableGeneratorConfig getTableGenerator()

setTableGenerator

public void setTableGenerator(TableGeneratorConfig tableGenerator)

getNamedQuery

public NamedQueryConfig getNamedQuery()

setNamedQuery

public void setNamedQuery(NamedQueryConfig namedQuery)

getNamedNativeQuery

public NamedNativeQueryConfig getNamedNativeQuery()

setNamedNativeQuery

public void setNamedNativeQuery(NamedNativeQueryConfig namedNativeQuery)

getSqlResultSetMapping

public SqlResultSetMappingConfig getSqlResultSetMapping()

setSqlResultSetMapping

public void setSqlResultSetMapping(SqlResultSetMappingConfig sqlResultSetMapping)

toString

public java.lang.String toString()
Overrides:
toString in class MappedSuperclassConfig

getAccess

public java.lang.String getAccess()
Returns the access type.


setAccess

public void setAccess(java.lang.String access)
Sets the access type.