public interface BaseElementOperations
| Modifier and Type | Method and Description |
|---|---|
BaseRelation[] |
getAllRelations()
(9001)
Get all known relations of the base element.
|
BaseAttribute[] |
getAttributes(java.lang.String baPattern)
(9002)
Get attributes of the base element matching with the given pattern.
|
BaseElement[] |
getRelatedElementsByRelationship(Relationship brRelationship)
(9003)
Get the related elements of a base element defined by the
relationship.
|
BaseRelation[] |
getRelationsByType(RelationType brRelationType)
(9004)
Get the base element's relations of the requested relation type.
|
java.lang.String |
getType()
(9005)
Get the type of the base element.
|
boolean |
isTopLevel()
(9006)
Get whether or not the base element is a top level element.
|
java.lang.String[] |
listAttributes(java.lang.String baPattern)
(9007)
Get all attribute names of the base element matching with the given
atrribute name pattern.
|
java.lang.String[] |
listRelatedElementsByRelationship(Relationship brRelationship)
(9008)
Get the related element names of the base element defined by the
relationship.
|
BaseRelation[] getAllRelations() throws AoException
AoException - with the following possible error codes:
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEBaseAttribute[] getAttributes(java.lang.String baPattern) throws AoException
baPattern - The name or the search pattern for the requested
base attributes.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_ACTIVEBaseElement[] getRelatedElementsByRelationship(Relationship brRelationship) throws AoException
brRelationship - The requested relationship.AoException - with the following possible error codes:
AO_BAD_PARAMETER
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_INVALID_RELATIONSHIP
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEBaseRelation[] getRelationsByType(RelationType brRelationType) throws AoException
brRelationType - The requested relation type.AoException - with the following possible error codes:
AO_BAD_PARAMETER
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_INVALID_RELATION_TYPE
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEjava.lang.String getType()
throws AoException
AoException - with the following possible error codes:
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEboolean isTopLevel()
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[] listAttributes(java.lang.String baPattern)
throws AoException
baPattern - The name or the search pattern for the requested
base attribute 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[] listRelatedElementsByRelationship(Relationship brRelationship) throws AoException
brRelationship - The requested relationship.AoException - with the following possible error codes:
AO_BAD_PARAMETER
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_INVALID_RELATIONSHIP
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVE