public class _InstanceElementStub extends org.omg.CORBA.portable.ObjectImpl implements InstanceElement
Constructor and Description |
---|
_InstanceElementStub() |
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
_ids() |
void |
addInstanceAttribute(NameValueUnit instAttr)
(14001)
Add an instance attribute to the instance.
|
T_LONGLONG |
compare(InstanceElement compIeObj)
(14031)
Compare two instance elements.
|
InstanceElement[] |
createRelatedInstances(ApplicationRelation applRel,
NameValueSeqUnit[] attributes,
ApplicationRelationInstanceElementSeq[] relatedInstances)
(14032)
Create a list with new instances which are related to the actual
instance element.
|
void |
createRelation(ApplicationRelation relation,
InstanceElement instElem)
(14002)
Create a relation between the current and the given instance.
|
InstanceElement |
deepCopy(java.lang.String newName,
java.lang.String newVersion)
(14028)
Provides an easy-to-use and effective copy mechanism for instance
element hierarchies inside the server (e.g. copy a project with all
tests or copy a test with all measurements).
|
void |
destroy()
(14030)
Destroy the object on the server.
|
ApplicationElement |
getApplicationElement()
(14003)
Get the application element of the instance element.
|
java.lang.String |
getAsamPath()
(14004)
Get the ASAM-Path of the instance element.
|
T_LONGLONG |
getId()
(14005)
Get the Id of the instance element.
|
InitialRight[] |
getInitialRights()
(14025)
Retrieve access control list information for the initial rights of
the given object.
|
java.lang.String |
getName()
(14006)
Get the name of the instance element.
|
InstanceElementIterator |
getRelatedInstances(ApplicationRelation applRel,
java.lang.String iePattern)
(14007)
Get the related instances.
|
InstanceElementIterator |
getRelatedInstancesByRelationship(Relationship ieRelationship,
java.lang.String iePattern)
(14008)
Get the list of related instances.
|
ACL[] |
getRights()
(14024)
Retrieve access control list information of the given object.
|
NameValueUnit |
getValue(java.lang.String attrName)
(14009)
Get the name-value-unit tuple of the given attribute of the instance
element.
|
NameValueUnit |
getValueByBaseName(java.lang.String baseAttrName)
(14010)
Get the attribute's name-value-unit tuple of the attribute inherited
from the given base attribute of the instance element.
|
NameValueUnit |
getValueInUnit(NameUnit attr)
(14021)
Get the attribute value (name, value and unit) of the given
attribute of the instance element.
|
NameValueUnit[] |
getValueSeq(java.lang.String[] attrNames)
(14029)
Get the sequence of the values of the application or instance
attributes, specified by their names.
|
java.lang.String[] |
listAttributes(java.lang.String iaPattern,
AttrType aType)
(14011)
Get the attribute names from the instance element.
|
NameIterator |
listRelatedInstances(ApplicationRelation ieRelation,
java.lang.String iePattern)
(14012)
Get the names of the related instances.
|
NameIterator |
listRelatedInstancesByRelationship(Relationship ieRelationship,
java.lang.String iePattern)
(14013)
Get the names of the related instances.
|
void |
removeInstanceAttribute(java.lang.String attrName)
(14014)
Remove an instance attribute.
|
void |
removeRelation(ApplicationRelation applRel,
InstanceElement instElem_nm)
(14015)
Remove the relation between the current instance and the given
instance.
|
void |
renameInstanceAttribute(java.lang.String oldName,
java.lang.String newName)
(14016)
Rename the instance attribute.
|
void |
setInitialRights(InstanceElement usergroup,
int rights,
T_LONGLONG refAid,
RightsSet set)
(14026)
The given user group the initial rights should be set for.
|
void |
setName(java.lang.String iaName)
(14017)
Set the name of an instance element.
|
void |
setRights(InstanceElement usergroup,
int rights,
RightsSet set)
(14023)
The given user group the rights should be set for.
|
void |
setValue(NameValueUnit value)
(14018)
Set the value of an application attribute or of an existing instance
attribute.
|
void |
setValueSeq(NameValueUnit[] values)
(14022)
Set a sequence of values of application attributes but no instances
attributes.
|
InstanceElement |
shallowCopy(java.lang.String newName,
java.lang.String newVersion)
(14027)
Provides an easy-to-use and effective copy mechanism for instance
elements inside the server.
|
Measurement |
upcastMeasurement()
(14019)
Cast an instance element to a measurement.
|
ODSFile |
upcastODSFile()
(14033)
Upcast the InstanceElement object to the corresponding ODSFile
interface for an instance.
|
SubMatrix |
upcastSubMatrix()
(14020)
Cast an instance element to a submatrix.
|
_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 addInstanceAttribute(NameValueUnit instAttr) throws AoException
addInstanceAttribute
in interface InstanceElementOperations
instAttr
- The instance attribute to be added.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 createRelation(ApplicationRelation relation, InstanceElement instElem) throws AoException
createRelation
in interface InstanceElementOperations
relation
- The application relation.instElem
- The instance element.AoException
- with the following possible error codes:
AO_BAD_PARAMETER
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_INVALID_RELATION
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEpublic ApplicationElement getApplicationElement() throws AoException
getApplicationElement
in interface InstanceElementOperations
AoException
- with the following possible error codes:
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEpublic java.lang.String getAsamPath() throws AoException
getAsamPath
in interface InstanceElementOperations
AoException
- with the following possible error codes:
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEpublic T_LONGLONG getId() throws AoException
getId
in interface InstanceElementOperations
AoException
- with the following possible error codes:
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEpublic java.lang.String getName() throws AoException
getName
in interface InstanceElementOperations
AoException
- with the following possible error codes:
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEpublic InstanceElementIterator getRelatedInstances(ApplicationRelation applRel, java.lang.String iePattern) throws AoException
getRelatedInstances
in interface InstanceElementOperations
applRel
- The application relation.iePattern
- The name or the search pattern for the related
instance names.AoException
- with the following possible error codes:
AO_BAD_PARAMETER
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_INVALID_RELATION
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEpublic InstanceElementIterator getRelatedInstancesByRelationship(Relationship ieRelationship, java.lang.String iePattern) throws AoException
getRelatedInstancesByRelationship
in interface InstanceElementOperations
ieRelationship
- The requested relationship.iePattern
- The name or the search pattern for the related
instance names.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_ACTIVEpublic NameValueUnit getValue(java.lang.String attrName) throws AoException
getValue
in interface InstanceElementOperations
attrName
- The name of the requested attribute.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 NameValueUnit getValueByBaseName(java.lang.String baseAttrName) throws AoException
getValueByBaseName
in interface InstanceElementOperations
baseAttrName
- The base name of the requested attribute.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[] listAttributes(java.lang.String iaPattern, AttrType aType) throws AoException
listAttributes
in interface InstanceElementOperations
iaPattern
- The name or the search pattern for the attribute
names.aType
- The requested attribute type.AoException
- with the following possible error codes:
AO_BAD_PARAMETER
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_INVALID_ATTRIBUTE_TYPE
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEpublic NameIterator listRelatedInstances(ApplicationRelation ieRelation, java.lang.String iePattern) throws AoException
listRelatedInstances
in interface InstanceElementOperations
ieRelation
- The application relation.iePattern
- The name or the search pattern for the related
instance 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_ACTIVEpublic NameIterator listRelatedInstancesByRelationship(Relationship ieRelationship, java.lang.String iePattern) throws AoException
listRelatedInstancesByRelationship
in interface InstanceElementOperations
ieRelationship
- The requested relationship.iePattern
- The name or the search pattern for the related
instance names.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_ACTIVEpublic void removeInstanceAttribute(java.lang.String attrName) throws AoException
removeInstanceAttribute
in interface InstanceElementOperations
attrName
- The name of the attribute to be removed.AoException
- with the following possible error codes:
AO_BAD_PARAMETER
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_FOUND
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEpublic void removeRelation(ApplicationRelation applRel, InstanceElement instElem_nm) throws AoException
removeRelation
in interface InstanceElementOperations
applRel
- The relation to be removed.instElem_nm
- The instance element for specific delete from
n:m relations.AoException
- with the following possible error codes:
AO_BAD_PARAMETER
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_INVALID_RELATION
AO_NOT_FOUND
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEpublic void renameInstanceAttribute(java.lang.String oldName, java.lang.String newName) throws AoException
renameInstanceAttribute
in interface InstanceElementOperations
oldName
- The old instance attribute name.newName
- The new instance attribute name.AoException
- with the following possible error codes:
AO_BAD_PARAMETER
AO_CONNECTION_LOST
AO_DUPLICATE_NAME
AO_IMPLEMENTATION_PROBLEM
AO_NOT_FOUND
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEpublic void setName(java.lang.String iaName) throws AoException
setName
in interface InstanceElementOperations
iaName
- The instance attribute name.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 setValue(NameValueUnit value) throws AoException
setValue
in interface InstanceElementOperations
value
- The value to be set in the instance element.AoException
- with the following possible error codes:
AO_BAD_PARAMETER
AO_CONNECTION_LOST
AO_DUPLICATE_VALUE
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVE
AO_TRANSACTION_NOT_ACTIVEpublic Measurement upcastMeasurement() throws AoException
upcastMeasurement
in interface InstanceElementOperations
AoException
- with the following possible error codes:
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVE
AO_INVALID_BASETYPEpublic SubMatrix upcastSubMatrix() throws AoException
upcastSubMatrix
in interface InstanceElementOperations
AoException
- with the following possible error codes:
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVE
AO_INVALID_BASETYPEpublic NameValueUnit getValueInUnit(NameUnit attr) throws AoException
getValueInUnit
in interface InstanceElementOperations
attr
- The name of the requested attribute and the unit of
the attribute value.AoException
- with the following possible error codes:
AO_BAD_PARAMETER
AO_CONNECTION_LOST
AO_INCOMPATIBLE_UNITS
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEpublic void setValueSeq(NameValueUnit[] values) throws AoException
setValueSeq
in interface InstanceElementOperations
values
- The sequence of the values to be set at the instance
element.AoException
- with the following possible error codes:
AO_BAD_PARAMETER
AO_CONNECTION_LOST
AO_DUPLICATE_VALUE
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVE
AO_TRANSACTION_NOT_ACTIVEpublic void setRights(InstanceElement usergroup, int rights, RightsSet set) throws AoException
setRights
in interface InstanceElementOperations
usergroup
- The user group for which the rights will be
modified.rights
- The new right for the user group. The rights
constants are defined in the interface
SecurityRights. The interface definition language
IDL does not allow to set the values of enumerations
thus the constant definitions had to be done in an
interface.set
- What to do with the new right.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 ACL[] getRights() throws AoException
getRights
in interface InstanceElementOperations
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 InitialRight[] getInitialRights() throws AoException
getInitialRights
in interface InstanceElementOperations
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 setInitialRights(InstanceElement usergroup, int rights, T_LONGLONG refAid, RightsSet set) throws AoException
setInitialRights
in interface InstanceElementOperations
usergroup
- The user group for which the initial rights will
be modified.rights
- The new initial rights for the user group. The
rights constants are defined in the interface
SecurityRights. The interface definition language
IDL does not allow to set the values of enumerations
thus the constant definitions have to be done in the
interface.refAid
- The Id of referencing application element for which
the initial rights will be used. If no refAid is set
the initial rights will be used for each new
instance element independent of the application
element.set
- What to do with the new initial rights.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 InstanceElement shallowCopy(java.lang.String newName, java.lang.String newVersion) throws AoException
shallowCopy
in interface InstanceElementOperations
newName
- The name of the new instance element. If a new
version shall be created this parameter may be NULL
to use the same name for the copy. In this case a
new version must be provided.newVersion
- The version of the new instance element. This
parameter may be NULL if a new name is provided.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 InstanceElement deepCopy(java.lang.String newName, java.lang.String newVersion) throws AoException
deepCopy
in interface InstanceElementOperations
newName
- The name of the new instance element. If a new
version shall be created this parameter may be NULL
to use the same name for the copy. In this case a
new version must be provided.newVersion
- The version of the new instance element. This
parameter may be NULL if a new name is provided.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 NameValueUnit[] getValueSeq(java.lang.String[] attrNames) throws AoException
getValueSeq
in interface InstanceElementOperations
attrNames
- The names of the attributes to be reported.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 destroy() throws AoException
destroy
in interface InstanceElementOperations
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 T_LONGLONG compare(InstanceElement compIeObj) throws AoException
compare
in interface InstanceElementOperations
compIeObj
- The instance element to compare with.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 InstanceElement[] createRelatedInstances(ApplicationRelation applRel, NameValueSeqUnit[] attributes, ApplicationRelationInstanceElementSeq[] relatedInstances) throws AoException
createRelatedInstances
in interface InstanceElementOperations
applRel
- The application relation for witch the related
instances will be created.attributes
- The attributes of the new created instances.relatedInstances
- The list with related instances for
different application relations.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 ODSFile upcastODSFile() throws AoException
upcastODSFile
in interface InstanceElementOperations
AoException
- with the following possible error codes:
AO_INVALID_BASETYPE
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEpublic java.lang.String[] _ids()
_ids
in class org.omg.CORBA.portable.ObjectImpl