wt.step.processor.expressParser
Class ExpressSchema
java.lang.Object
wt.step.processor.expressParser.ExpressSchema
- public class ExpressSchema
- extends Object
A model of an Express Schema loaded from a definition file.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_name
private String _name
_allEntities
private Hashtable _allEntities
_allTypes
private Hashtable _allTypes
_theLastestEntity
private EntityDefinition _theLastestEntity
ExpressSchema
public ExpressSchema(String definitionFilename)
throws FileNotFoundException,
ParseException
ExpressSchema
public ExpressSchema(InputStream stream)
throws ParseException
loadSchema
private void loadSchema(InputStream stream)
throws ParseException
- Throws:
ParseException
dump
public void dump()
setName
public void setName(String name)
getName
public String getName()
addEntity
public void addEntity(String entityName)
getEntityDefinition
public EntityDefinition getEntityDefinition(String entityName)
getTypeDefinition
public TypeDefinition getTypeDefinition(String typeName)
getListContentTypeName
public String getListContentTypeName(String listTypeName)
- Takes the alias name for the list type and cuts 'LIST [0:?] OF' off the
start of the actual type name to return the content type name.
isListType
public boolean isListType(String listTypeName)
throws TransferException
- Throws:
TransferException
addType
public void addType(String alias,
String actual)
addAttributeToLatestEntity
public void addAttributeToLatestEntity(String attributeName,
String attributeType)
addSubtypeToLatestEntity
public void addSubtypeToLatestEntity(String subtypeName)
getEntityIterator
public Enumeration getEntityIterator()
applyLinkTypes
public void applyLinkTypes(Properties exportScope)
throws ClassNotFoundException
- Throws:
ClassNotFoundException
addLinkType
private void addLinkType(Class linkClass,
RoleDescriptor role)
throws ClassNotFoundException,
WTIntrospectionException
- Throws:
ClassNotFoundException
WTIntrospectionException