public abstract class SchemaBase extends Object
This class must be extended by an EXPRESS class to provide a comcrete implementation of the schema. Within the namespace for the schema, the extention class is named Schema.
Modifier | Constructor and Description |
---|---|
protected |
SchemaBase() |
Modifier and Type | Method and Description |
---|---|
StaticEntityDomain |
findEntityDomain(String name)
Gets the EntityDomain within the schema.
|
static SchemaBase |
forName(String name)
Gets the schema with the specified name
|
String |
getName()
Gets the name of the schema
|
protected abstract PopulationBase |
newPopulation(Model mod,
Object id) |
public static SchemaBase forName(String name) throws SchemaNotFoundException, SchemaStructureException
name
- The name to search for.SchemaNotFoundException
- the requested schema could not be
located.SchemaStructureException
- The schema classes are incompatible
with this class library.protected abstract PopulationBase newPopulation(Model mod, Object id)
public String getName()
public StaticEntityDomain findEntityDomain(String name) throws DomainNotFoundException, SchemaStructureException
name
- The name of the entity to find.DomainNotFoundException
- The requested domain could not be foundSchemaStructureException
- Malformed schema classes.