com.caucho.amber.cfg
Class AttributesConfig

java.lang.Object
  extended by com.caucho.amber.cfg.AttributesConfig

public class AttributesConfig
extends java.lang.Object

<attributes> tag in the orm.xml


Constructor Summary
AttributesConfig()
           
 
Method Summary
 void addBasic(com.caucho.amber.cfg.BasicConfig basic)
          Adds a new .
 void addEmbedded(EmbeddedConfig embedded)
           
 void addId(IdConfig id)
          Adds a new .
 void addManyToMany(com.caucho.amber.cfg.ManyToManyConfig manyToMany)
           
 void addManyToOne(com.caucho.amber.cfg.ManyToOneConfig manyToOne)
           
 void addOneToMany(com.caucho.amber.cfg.OneToManyConfig oneToMany)
           
 void addOneToOne(com.caucho.amber.cfg.OneToOneConfig oneToOne)
           
 void addTransient(TransientConfig transientConfig)
           
 void addVersion(VersionConfig version)
           
 com.caucho.amber.cfg.BasicConfig getBasic(java.lang.String name)
          Returns a config.
 java.util.HashMap<java.lang.String,com.caucho.amber.cfg.BasicConfig> getBasicMap()
          Returns the map.
 EmbeddedConfig getEmbedded(java.lang.String name)
           
 EmbeddedIdConfig getEmbeddedId()
          Returns the config.
 java.util.HashMap<java.lang.String,EmbeddedConfig> getEmbeddedMap()
           
 IdConfig getId(java.lang.String name)
          Returns an config.
 java.util.HashMap<java.lang.String,IdConfig> getIdMap()
          Returns the map.
 com.caucho.amber.cfg.ManyToManyConfig getManyToMany(java.lang.String name)
           
 java.util.HashMap<java.lang.String,com.caucho.amber.cfg.ManyToManyConfig> getManyToManyMap()
           
 com.caucho.amber.cfg.ManyToOneConfig getManyToOne(java.lang.String name)
           
 java.util.HashMap<java.lang.String,com.caucho.amber.cfg.ManyToOneConfig> getManyToOneMap()
           
 com.caucho.amber.cfg.OneToManyConfig getOneToMany(java.lang.String name)
           
 java.util.HashMap<java.lang.String,com.caucho.amber.cfg.OneToManyConfig> getOneToManyMap()
           
 com.caucho.amber.cfg.OneToOneConfig getOneToOne(java.lang.String name)
           
 java.util.HashMap<java.lang.String,com.caucho.amber.cfg.OneToOneConfig> getOneToOneMap()
           
 TransientConfig getTransient(java.lang.String name)
           
 java.util.HashMap<java.lang.String,TransientConfig> getTransientMap()
           
 VersionConfig getVersion(java.lang.String name)
           
 java.util.HashMap<java.lang.String,VersionConfig> getVersionMap()
           
 void setEmbeddedId(EmbeddedIdConfig embeddedId)
          Sets the config.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributesConfig

public AttributesConfig()
Method Detail

addBasic

public void addBasic(com.caucho.amber.cfg.BasicConfig basic)
Adds a new .


getBasicMap

public java.util.HashMap<java.lang.String,com.caucho.amber.cfg.BasicConfig> getBasicMap()
Returns the map.


getBasic

public com.caucho.amber.cfg.BasicConfig getBasic(java.lang.String name)
Returns a config.


addId

public void addId(IdConfig id)
Adds a new .


getIdMap

public java.util.HashMap<java.lang.String,IdConfig> getIdMap()
Returns the map.


getId

public IdConfig getId(java.lang.String name)
Returns an config.


getEmbeddedId

public EmbeddedIdConfig getEmbeddedId()
Returns the config.


setEmbeddedId

public void setEmbeddedId(EmbeddedIdConfig embeddedId)
Sets the config.


getVersionMap

public java.util.HashMap<java.lang.String,VersionConfig> getVersionMap()

addVersion

public void addVersion(VersionConfig version)

getVersion

public VersionConfig getVersion(java.lang.String name)

getManyToOneMap

public java.util.HashMap<java.lang.String,com.caucho.amber.cfg.ManyToOneConfig> getManyToOneMap()

addManyToOne

public void addManyToOne(com.caucho.amber.cfg.ManyToOneConfig manyToOne)

getManyToOne

public com.caucho.amber.cfg.ManyToOneConfig getManyToOne(java.lang.String name)

getOneToManyMap

public java.util.HashMap<java.lang.String,com.caucho.amber.cfg.OneToManyConfig> getOneToManyMap()

addOneToMany

public void addOneToMany(com.caucho.amber.cfg.OneToManyConfig oneToMany)

getOneToMany

public com.caucho.amber.cfg.OneToManyConfig getOneToMany(java.lang.String name)

getOneToOneMap

public java.util.HashMap<java.lang.String,com.caucho.amber.cfg.OneToOneConfig> getOneToOneMap()

addOneToOne

public void addOneToOne(com.caucho.amber.cfg.OneToOneConfig oneToOne)

getOneToOne

public com.caucho.amber.cfg.OneToOneConfig getOneToOne(java.lang.String name)

getManyToManyMap

public java.util.HashMap<java.lang.String,com.caucho.amber.cfg.ManyToManyConfig> getManyToManyMap()

addManyToMany

public void addManyToMany(com.caucho.amber.cfg.ManyToManyConfig manyToMany)

getManyToMany

public com.caucho.amber.cfg.ManyToManyConfig getManyToMany(java.lang.String name)

getEmbeddedMap

public java.util.HashMap<java.lang.String,EmbeddedConfig> getEmbeddedMap()

addEmbedded

public void addEmbedded(EmbeddedConfig embedded)

getEmbedded

public EmbeddedConfig getEmbedded(java.lang.String name)

getTransientMap

public java.util.HashMap<java.lang.String,TransientConfig> getTransientMap()

addTransient

public void addTransient(TransientConfig transientConfig)

getTransient

public TransientConfig getTransient(java.lang.String name)