public class _ApplicationStructureStub extends org.omg.CORBA.portable.ObjectImpl implements ApplicationStructure
Constructor and Description |
---|
_ApplicationStructureStub() |
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
_ids() |
void |
check()
(7001)
Check the application model for ASAM ODS conformity.
|
ApplicationElement |
createElement(BaseElement baseElem)
(7002)
Create a new application element in the application model.
|
EnumerationDefinition |
createEnumerationDefinition(java.lang.String enumName)
(7018)
Create a new enumeration definition.
|
void |
createInstanceRelations(ApplicationRelation applRel,
InstanceElement[] elemList1,
InstanceElement[] elemList2)
(7022)
Create the relation between a list of instances.
|
ApplicationRelation |
createRelation()
(7003)
Create a new relation.
|
ApplicationElement |
getElementById(T_LONGLONG aeId)
(7004)
Get the application element with the requested Id.
|
ApplicationElement |
getElementByName(java.lang.String aeName)
(7005)
Get the application element with the requested name.
|
ApplicationElement[] |
getElements(java.lang.String aePattern)
(7006)
Get the application elements whose names match with the pattern.
|
ApplicationElement[] |
getElementsByBaseType(java.lang.String aeType)
(7007)
Get the names of application elements that are derived from the
specified base element.
|
EnumerationDefinition |
getEnumerationDefinition(java.lang.String enumName)
(7021)
Get the specified enumeration definition.
|
InstanceElement |
getInstanceByAsamPath(java.lang.String asamPath)
(7008)
Get the instance element specified by the ASAM path.
|
InstanceElement[] |
getInstancesById(ElemId[] ieIds)
(7016)
Get the instance elements specified by the sequence of element ids.
|
ApplicationRelation[] |
getRelations(ApplicationElement applElem1,
ApplicationElement applElem2)
(7009)
Returns the relations between two application elements.
|
AoSession |
getSession()
(7017)
Get the current client session in which the application model is
created.
|
ApplicationElement[] |
getTopLevelElements(java.lang.String aeType)
(7010)
Get the top level application elements which are inherited from the
base element that matches the base type.
|
java.lang.String[] |
listElements(java.lang.String aePattern)
(7011)
Get the names of the application elements that match with the
pattern.
|
java.lang.String[] |
listElementsByBaseType(java.lang.String aeType)
(7012)
Get the names of application elements that are derived from the
given base type.
|
java.lang.String[] |
listEnumerations()
(7020)
Get the list of all enumeration names.
|
java.lang.String[] |
listTopLevelElements(java.lang.String aeType)
(7013)
Get the names of the top level application elements that are derived
from the given base type.
|
void |
removeElement(ApplicationElement applElem)
(7014)
Remove an application element from the application model.
|
void |
removeEnumerationDefinition(java.lang.String enumName)
(7019)
Remove the enumeration definition.
|
void |
removeRelation(ApplicationRelation applRel)
(7015)
This method removes an application relation from the model.
|
_create_request, _create_request, _duplicate, _get_delegate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_delegate, _set_policy_override, equals, hashCode, toString
public void check() throws AoException
check
in interface ApplicationStructureOperations
AoException
- with the following possible error codes:
AO_CONNECTION_LOST
AO_DUPLICATE_BASE_ATTRIBUTE
AO_IMPLEMENTATION_PROBLEM
AO_INVALID_RELATION
AO_MISSING_ATTRIBUTE
AO_MISSING_RELATION
AO_MISSING_APPLICATION_ELEMENT
AO_NOT_IMPLEMENTED
AO_NO_PATH_TO_ELEMENT
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEpublic ApplicationElement createElement(BaseElement baseElem) throws AoException
createElement
in interface ApplicationStructureOperations
baseElem
- The base element from which the application
element is derived.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_TRANSACTION_NOT_ACTIVEpublic ApplicationRelation createRelation() throws AoException
createRelation
in interface ApplicationStructureOperations
AoException
- with the following possible error codes:
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVE
AO_TRANSACTION_NOT_ACTIVEpublic ApplicationElement getElementById(T_LONGLONG aeId) throws AoException
getElementById
in interface ApplicationStructureOperations
aeId
- The Id of the requested application element.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_ACTIVEpublic ApplicationElement getElementByName(java.lang.String aeName) throws AoException
getElementByName
in interface ApplicationStructureOperations
aeName
- The name of the requested application element.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_ACTIVEpublic ApplicationElement[] getElements(java.lang.String aePattern) throws AoException
getElements
in interface ApplicationStructureOperations
aePattern
- The name or the search pattern for the requested
application 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_ACTIVEpublic ApplicationElement[] getElementsByBaseType(java.lang.String aeType) throws AoException
getElementsByBaseType
in interface ApplicationStructureOperations
aeType
- The requested base element type. The base element
type can be a pattern.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_ACTIVEpublic InstanceElement getInstanceByAsamPath(java.lang.String asamPath) throws AoException
getInstanceByAsamPath
in interface ApplicationStructureOperations
asamPath
- The ASAM path of the requested instance element.AoException
- with the following possible error codes:
AO_BAD_PARAMETER
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_INVALID_ASAM_PATH
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEpublic ApplicationRelation[] getRelations(ApplicationElement applElem1, ApplicationElement applElem2) throws AoException
getRelations
in interface ApplicationStructureOperations
applElem1
- The first application element.applElem2
- The second application element.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_ACTIVEpublic ApplicationElement[] getTopLevelElements(java.lang.String aeType) throws AoException
getTopLevelElements
in interface ApplicationStructureOperations
aeType
- The requested base type. The base element type can
be a pattern.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_ACTIVEpublic java.lang.String[] listElements(java.lang.String aePattern) throws AoException
listElements
in interface ApplicationStructureOperations
aePattern
- 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_ACTIVEpublic java.lang.String[] listElementsByBaseType(java.lang.String aeType) throws AoException
listElementsByBaseType
in interface ApplicationStructureOperations
aeType
- The requested base type. The base element type can
be a pattern.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_ACTIVEpublic java.lang.String[] listTopLevelElements(java.lang.String aeType) throws AoException
listTopLevelElements
in interface ApplicationStructureOperations
aeType
- The requested base type.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_ACTIVEpublic void removeElement(ApplicationElement applElem) throws AoException
removeElement
in interface ApplicationStructureOperations
applElem
- The application element to be removed.AoException
- with the following possible error codes:
AO_BAD_PARAMETER
AO_CONNECTION_LOST
AO_HAS_INSTANCES
AO_HAS_REFERENCES
AO_IMPLEMENTATION_PROBLEM
AO_NOT_FOUND
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVE
AO_TRANSACTION_NOT_ACTIVEpublic void removeRelation(ApplicationRelation applRel) throws AoException
removeRelation
in interface ApplicationStructureOperations
applRel
- The application relation to be removed.AoException
- with the following possible error codes:
AO_BAD_PARAMETER
AO_CONNECTION_LOST
AO_HAS_INSTANCES
AO_IMPLEMENTATION_PROBLEM
AO_NOT_FOUND
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVE
AO_TRANSACTION_NOT_ACTIVEpublic InstanceElement[] getInstancesById(ElemId[] ieIds) throws AoException
getInstancesById
in interface ApplicationStructureOperations
ieIds
- The sequence with the element ids.AoException
- with the following possible error codes:
AO_BAD_PARAMETER
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_INVALID_ASAM_PATH
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEpublic AoSession getSession() throws AoException
getSession
in interface ApplicationStructureOperations
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_ACTIVEpublic EnumerationDefinition createEnumerationDefinition(java.lang.String enumName) throws AoException
createEnumerationDefinition
in interface ApplicationStructureOperations
enumName
- Name of the enumerationAoException
- 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_TRANSACTION_NOT_ACTIVE
AO_ACCESS_DENIEDpublic void removeEnumerationDefinition(java.lang.String enumName) throws AoException
removeEnumerationDefinition
in interface ApplicationStructureOperations
enumName
- Name of the enumeration to remove.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_TRANSACTION_NOT_ACTIVE
AO_ACCESS_DENIEDpublic java.lang.String[] listEnumerations() throws AoException
listEnumerations
in interface ApplicationStructureOperations
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_ACTIVEpublic EnumerationDefinition getEnumerationDefinition(java.lang.String enumName) throws AoException
getEnumerationDefinition
in interface ApplicationStructureOperations
enumName
- Name of the requested enumeration.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_ACTIVEpublic void createInstanceRelations(ApplicationRelation applRel, InstanceElement[] elemList1, InstanceElement[] elemList2) throws AoException
createInstanceRelations
in interface ApplicationStructureOperations
applRel
- The application relation.elemList1
- The list with the instances of one application
element for which the relation will be created.elemList2
- The list with the related instances.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_TRANSACTION_NOT_ACTIVEpublic java.lang.String[] _ids()
_ids
in class org.omg.CORBA.portable.ObjectImpl