public interface Schema
Modifier and Type | Method and Description |
---|---|
EntityType |
createEntityType(String name)
Create a new entity type with the given
name |
CaseMode |
getCaseMode()
Get the case mode of the underlying database: lower, upper, or mixed case.
|
EntityType |
getEntityType(String name)
Return the entity type with the given name if one was defined in this schema else
null |
Collection<? extends EntityType> |
getEntityTypes()
Return all entity types contained in this schema.
|
String |
getName()
Return the name of this schema.
|
boolean |
isTemporal()
Return true if this schema is a temporal schema else false test.
|
void |
removeEntityType(EntityType entityType)
Delete the
entityType from this schema. |
void |
setName(String name)
Set the name of this schema to
name . |
@NotNull CaseMode getCaseMode()
String getName()
void setName(String name)
name
. Also sets the internal database name of this schema.name
- The name of the this schema#getDBName()
boolean isTemporal()
@NotNull EntityType createEntityType(String name) throws SchemaException
name
SchemaException
EntityType getEntityType(String name)
null
void removeEntityType(EntityType entityType)
entityType
from this schema.@NotNull Collection<? extends EntityType> getEntityTypes()
Copyright © 2014 e-Spirit AG. All Rights Reserved. Build 5.0_BETA.500