|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.step.processor.stepParser.StepEntity
A single entity from a STEP/Part21 file.
Field Summary | |
private Vector |
_attributes
Raw attributes of the Entity |
private boolean |
_entityReferencesResolved
Entity references are parsed by Id and resolved to entity references when all Entities have been parsed. |
private int |
_id
|
private String |
_name
Step entity name |
private static String |
IDENTIFIER_SERIES
|
private static String |
ITERATION_IDENTIFIER
|
private static String |
ITERATION_INFO
|
private static String |
ITERATION_MASTER
|
private static String |
LINK_ROLE_A_OBJECT
|
private static String |
LINK_ROLE_B_OBJECT
|
private static String |
MASTER_NAME
|
private static String |
MASTER_NUMBER
|
private static String |
SERIES_VALUE
|
private static String |
VERSION_IDENTIFIER
|
private static String |
VERSION_INFO
|
Constructor Summary | |
StepEntity(String entityName,
int entityId,
Vector attributes)
|
Method Summary | |
Object |
getAttribute(String attributeName,
ExpressSchema schemaOfEntity,
StepData dataForResolvingEntityReferences)
|
Enumeration |
getAttributeDefinitions(ExpressSchema schemaOfEntity)
Access to the EntityDefinition.AttributeDefinition's of all attributes of this entity. |
private Object |
getAttributeValue(String attributeName,
ExpressSchema schemaOfEntity)
|
private EntityDefinition |
getEntityDefinition(ExpressSchema schemaOfEntity)
|
int |
getId()
|
String |
getName()
|
boolean |
hasAttributeValue(String attributeName,
ExpressSchema schemaOfEntity)
|
void |
resolveEntityReferences(StepData stepData)
Modifies attributes of this Entity by resolving EntityReferences into the StepEntities that they refernce |
private void |
resolveEntityReferences(Vector vector,
StepData stepData)
Modifies the contents of the Vector to resolve any EntityReferences in it into the StepEntities that they reference. |
String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final String ITERATION_MASTER
private static final String MASTER_NAME
private static final String MASTER_NUMBER
private static final String ITERATION_INFO
private static final String ITERATION_IDENTIFIER
private static final String IDENTIFIER_SERIES
private static final String SERIES_VALUE
private static final String VERSION_INFO
private static final String VERSION_IDENTIFIER
private static final String LINK_ROLE_A_OBJECT
private static final String LINK_ROLE_B_OBJECT
private String _name
private Vector _attributes
private boolean _entityReferencesResolved
private int _id
Constructor Detail |
public StepEntity(String entityName, int entityId, Vector attributes)
Method Detail |
public String toString()
public String getName()
public int getId()
private EntityDefinition getEntityDefinition(ExpressSchema schemaOfEntity) throws TransferException
TransferException
private Object getAttributeValue(String attributeName, ExpressSchema schemaOfEntity) throws TransferException
TransferException
public boolean hasAttributeValue(String attributeName, ExpressSchema schemaOfEntity) throws TransferException
TransferException
public Enumeration getAttributeDefinitions(ExpressSchema schemaOfEntity) throws TransferException
TransferException
public Object getAttribute(String attributeName, ExpressSchema schemaOfEntity, StepData dataForResolvingEntityReferences) throws TransferException
TransferException
public void resolveEntityReferences(StepData stepData)
private void resolveEntityReferences(Vector vector, StepData stepData)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |