public class EntityMappingsConfig
extends java.lang.Object
Constructor and Description |
---|
EntityMappingsConfig() |
Modifier and Type | Method and Description |
---|---|
void |
addEmbeddable(EmbeddableConfig embeddable) |
void |
addEntity(EntityConfig entity)
Adds a new
|
void |
addMappedSuperclass(MappedSuperclassConfig mappedSuperclass) |
void |
addNamedNativeQuery(NamedNativeQueryConfig namedNativeQuery) |
void |
addNamedQuery(NamedQueryConfig namedQuery) |
void |
addSequenceGenerator(SequenceGeneratorConfig sequenceGenerator) |
void |
addSqlResultSetMapping(SqlResultSetMappingConfig sqlResultSetMapping) |
void |
addTableGenerator(TableGeneratorConfig tableGenerator) |
AccessType |
getAccess() |
java.lang.String |
getCatalog() |
java.lang.String |
getDescription() |
EmbeddableConfig |
getEmbeddable(java.lang.String name) |
java.util.HashMap<java.lang.String,EmbeddableConfig> |
getEmbeddableMap() |
EntityConfig |
getEntityConfig(java.lang.String name)
Returns an entity config.
|
java.util.HashMap<java.lang.String,EntityConfig> |
getEntityMap()
Returns the entity map.
|
MappedSuperclassConfig |
getMappedSuperclass(java.lang.String name) |
java.util.HashMap<java.lang.String,MappedSuperclassConfig> |
getMappedSuperclassMap() |
NamedNativeQueryConfig |
getNamedNativeQuery(java.lang.String name) |
java.util.HashMap<java.lang.String,NamedNativeQueryConfig> |
getNamedNativeQueryMap() |
NamedQueryConfig |
getNamedQuery(java.lang.String name) |
java.util.HashMap<java.lang.String,NamedQueryConfig> |
getNamedQueryMap() |
java.lang.String |
getPackage() |
PersistenceUnitMetaDataConfig |
getPersistenceUnitMetaData() |
Path |
getRoot() |
java.lang.String |
getSchema() |
SequenceGeneratorConfig |
getSequenceGenerator(java.lang.String name) |
java.util.HashMap<java.lang.String,SequenceGeneratorConfig> |
getSequenceGeneratorMap() |
SqlResultSetMappingConfig |
getSqlResultSetMapping(java.lang.String name) |
java.util.HashMap<java.lang.String,SqlResultSetMappingConfig> |
getSqlResultSetMappingMap() |
TableGeneratorConfig |
getTableGenerator(java.lang.String name) |
java.util.HashMap<java.lang.String,TableGeneratorConfig> |
getTableGeneratorMap() |
java.lang.String |
getVersion() |
void |
setAccess(java.lang.String access) |
void |
setCatalog(java.lang.String catalog) |
void |
setDescription(java.lang.String description) |
void |
setPackage(java.lang.String packageName) |
void |
setPersistenceUnitMetaData(PersistenceUnitMetaDataConfig persistenceUnitMetaData) |
void |
setRoot(Path root) |
void |
setSchema(java.lang.String schema) |
void |
setSchemaLocation(java.lang.String schema)
Sets the schema location
|
void |
setVersion(java.lang.String version) |
java.lang.String |
toString() |
public AccessType getAccess()
public java.lang.String getCatalog()
public java.lang.String getDescription()
public java.lang.String getPackage()
public PersistenceUnitMetaDataConfig getPersistenceUnitMetaData()
public void setPersistenceUnitMetaData(PersistenceUnitMetaDataConfig persistenceUnitMetaData)
public Path getRoot()
public java.lang.String getSchema()
public java.lang.String getVersion()
public void setAccess(java.lang.String access)
public void setCatalog(java.lang.String catalog)
public void setDescription(java.lang.String description)
public void setPackage(java.lang.String packageName)
public void setRoot(Path root)
public void setSchema(java.lang.String schema)
public void setVersion(java.lang.String version)
public void setSchemaLocation(java.lang.String schema)
public void addEntity(EntityConfig entity)
public EntityConfig getEntityConfig(java.lang.String name)
public java.util.HashMap<java.lang.String,EntityConfig> getEntityMap()
public void addSequenceGenerator(SequenceGeneratorConfig sequenceGenerator)
public SequenceGeneratorConfig getSequenceGenerator(java.lang.String name)
public java.util.HashMap<java.lang.String,SequenceGeneratorConfig> getSequenceGeneratorMap()
public void addTableGenerator(TableGeneratorConfig tableGenerator)
public TableGeneratorConfig getTableGenerator(java.lang.String name)
public java.util.HashMap<java.lang.String,TableGeneratorConfig> getTableGeneratorMap()
public void addNamedQuery(NamedQueryConfig namedQuery)
public NamedQueryConfig getNamedQuery(java.lang.String name)
public java.util.HashMap<java.lang.String,NamedQueryConfig> getNamedQueryMap()
public void addNamedNativeQuery(NamedNativeQueryConfig namedNativeQuery)
public NamedNativeQueryConfig getNamedNativeQuery(java.lang.String name)
public java.util.HashMap<java.lang.String,NamedNativeQueryConfig> getNamedNativeQueryMap()
public void addSqlResultSetMapping(SqlResultSetMappingConfig sqlResultSetMapping)
public SqlResultSetMappingConfig getSqlResultSetMapping(java.lang.String name)
public java.util.HashMap<java.lang.String,SqlResultSetMappingConfig> getSqlResultSetMappingMap()
public void addMappedSuperclass(MappedSuperclassConfig mappedSuperclass)
public MappedSuperclassConfig getMappedSuperclass(java.lang.String name)
public java.util.HashMap<java.lang.String,MappedSuperclassConfig> getMappedSuperclassMap()
public void addEmbeddable(EmbeddableConfig embeddable)
public EmbeddableConfig getEmbeddable(java.lang.String name)
public java.util.HashMap<java.lang.String,EmbeddableConfig> getEmbeddableMap()
public java.lang.String toString()
toString
in class java.lang.Object