public interface BaseStructureOperations
Modifier and Type | Method and Description |
---|---|
BaseElement |
getElementByType(java.lang.String beType)
(11001)
Get the base element that matches the requested type.
|
BaseElement[] |
getElements(java.lang.String bePattern)
(11002)
Get the base elements that match the pattern.
|
BaseRelation |
getRelation(BaseElement elem1,
BaseElement elem2)
(11003)
Get the base relation between two base elements.
|
BaseRelation[] |
getRelations(BaseElement elem1,
BaseElement elem2)
(11008)
Get the base relations between two base elements.
|
BaseElement[] |
getTopLevelElements(java.lang.String bePattern)
(11004)
Get the top level base elements that match the pattern.
|
java.lang.String |
getVersion()
(11005)
Get the version of the base model as string.
|
java.lang.String[] |
listElements(java.lang.String bePattern)
(11006)
Get the base element names that match the pattern.
|
java.lang.String[] |
listTopLevelElements(java.lang.String bePattern)
(11007)
Get the top level base element names that match the pattern.
|
BaseElement getElementByType(java.lang.String beType) throws AoException
beType
- The name of the requested base element.AoException
- with the following possible error codes:
AO_BAD_PARAMETER
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_INVALID_BASETYPE
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEBaseElement[] getElements(java.lang.String bePattern) throws AoException
bePattern
- The name or the search pattern for the requested
base elements.AoException
- with the following possible error codes:
AO_BAD_PARAMETER
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEBaseRelation getRelation(BaseElement elem1, BaseElement elem2) throws AoException
elem1
- The base element from which the relation starts.elem2
- The base element to which the relation points.AoException
- with the following possible error codes:
AO_BAD_PARAMETER
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVE
AO_NOT_FOUNDBaseElement[] getTopLevelElements(java.lang.String bePattern) throws AoException
bePattern
- The name or the search pattern for the requested
top level base elements.AoException
- with the following possible error codes:
AO_BAD_PARAMETER
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEjava.lang.String getVersion() throws AoException
AoException
- with the following possible error codes:
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEjava.lang.String[] listElements(java.lang.String bePattern) throws AoException
bePattern
- The name or the search pattern for the requested
base element names.AoException
- with the following possible error codes:
AO_BAD_PARAMETER
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEjava.lang.String[] listTopLevelElements(java.lang.String bePattern) throws AoException
bePattern
- The name or the search pattern for the requested
top level base element names.AoException
- with the following possible error codes:
AO_BAD_PARAMETER
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEBaseRelation[] getRelations(BaseElement elem1, BaseElement elem2) throws AoException
elem1
- The base element from which the relation starts.elem2
- The base element to which the relation points.AoException
- with the following possible error codes:
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVE
AO_NOT_FOUND