public class BaseElement extends BaseElementPOA implements BaseElement
Modifier and Type | Field and Description |
---|---|
protected AoSession |
aosObj |
protected long |
cObjPtr |
protected static java.util.HashMap<java.lang.Long,org.omg.CORBA.Object> |
refCache |
Constructor and Description |
---|
BaseElement() |
BaseElement(long cObjPtr) |
Modifier and Type | Method and Description |
---|---|
org.omg.CORBA.Request |
_create_request(org.omg.CORBA.Context ctx,
java.lang.String operation,
org.omg.CORBA.NVList arg_list,
org.omg.CORBA.NamedValue result) |
org.omg.CORBA.Request |
_create_request(org.omg.CORBA.Context ctx,
java.lang.String operation,
org.omg.CORBA.NVList arg_list,
org.omg.CORBA.NamedValue result,
org.omg.CORBA.ExceptionList exclist,
org.omg.CORBA.ContextList ctxlist) |
org.omg.CORBA.Object |
_duplicate() |
org.omg.CORBA.DomainManager[] |
_get_domain_managers() |
org.omg.CORBA.Policy |
_get_policy(int policy_type) |
int |
_hash(int maximum) |
boolean |
_is_equivalent(org.omg.CORBA.Object other) |
void |
_release() |
org.omg.CORBA.Request |
_request(java.lang.String operation) |
org.omg.CORBA.Object |
_set_policy_override(org.omg.CORBA.Policy[] policies,
org.omg.CORBA.SetOverrideType set_add) |
protected void |
finalize() |
BaseRelation[] |
getAllRelations()
Get all known relations of the base element.
|
BaseAttribute[] |
getAttributes(java.lang.String baPattern)
Get attributes of the base element.
|
static org.omg.CORBA.Object |
getInstance(long cObjPtr,
AoSession aosObj) |
BaseElement[] |
getRelatedElementsByRelationship(Relationship brRelationship)
Get the related elements of a base element defined by the
relationship.
|
BaseRelation[] |
getRelationsByType(RelationType brRelationType)
Get the base element's relations of the requested relation
type.
|
java.lang.String |
getType()
Get the type of the base element.
|
boolean |
isTopLevel()
Get whether or not the base element is a top level
element.
|
java.lang.String[] |
listAttributes(java.lang.String baPattern)
Get attribute names of the base element.
|
java.lang.String[] |
listRelatedElementsByRelationship(Relationship brRelationship)
Get the related element names of the base element defined
by the relationship.
|
_all_interfaces, _invoke, _this, _this
_default_POA, _get_delegate, _get_interface_def, _is_a, _non_existent, _object_id, _orb, _poa, _set_delegate, _this_object, _this_object
protected static java.util.HashMap<java.lang.Long,org.omg.CORBA.Object> refCache
protected long cObjPtr
protected AoSession aosObj
public static org.omg.CORBA.Object getInstance(long cObjPtr, AoSession aosObj)
public BaseRelation[] getAllRelations() throws AoException
getAllRelations
in interface BaseElementOperations
AoException
- with the following possible error codes:
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEpublic BaseAttribute[] getAttributes(java.lang.String baPattern) throws AoException
getAttributes
in interface BaseElementOperations
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_ACTIVEpublic BaseElement[] getRelatedElementsByRelationship(Relationship brRelationship) throws AoException
getRelatedElementsByRelationship
in interface BaseElementOperations
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_ACTIVEpublic BaseRelation[] getRelationsByType(RelationType brRelationType) throws AoException
getRelationsByType
in interface BaseElementOperations
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_ACTIVEpublic java.lang.String getType() throws AoException
getType
in interface BaseElementOperations
AoException
- with the following possible error codes:
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEpublic boolean isTopLevel() throws AoException
isTopLevel
in interface BaseElementOperations
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[] listAttributes(java.lang.String baPattern) throws AoException
listAttributes
in interface BaseElementOperations
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_ACTIVEpublic java.lang.String[] listRelatedElementsByRelationship(Relationship brRelationship) throws AoException
listRelatedElementsByRelationship
in interface BaseElementOperations
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_ACTIVEprotected void finalize() throws java.lang.Throwable
finalize
in class java.lang.Object
java.lang.Throwable
public org.omg.CORBA.Request _create_request(org.omg.CORBA.Context ctx, java.lang.String operation, org.omg.CORBA.NVList arg_list, org.omg.CORBA.NamedValue result)
_create_request
in interface org.omg.CORBA.Object
public org.omg.CORBA.Request _create_request(org.omg.CORBA.Context ctx, java.lang.String operation, org.omg.CORBA.NVList arg_list, org.omg.CORBA.NamedValue result, org.omg.CORBA.ExceptionList exclist, org.omg.CORBA.ContextList ctxlist)
_create_request
in interface org.omg.CORBA.Object
public org.omg.CORBA.Object _duplicate()
_duplicate
in interface org.omg.CORBA.Object
public org.omg.CORBA.DomainManager[] _get_domain_managers()
_get_domain_managers
in interface org.omg.CORBA.Object
public org.omg.CORBA.Policy _get_policy(int policy_type)
_get_policy
in interface org.omg.CORBA.Object
public int _hash(int maximum)
_hash
in interface org.omg.CORBA.Object
public boolean _is_equivalent(org.omg.CORBA.Object other)
_is_equivalent
in interface org.omg.CORBA.Object
public void _release()
_release
in interface org.omg.CORBA.Object
public org.omg.CORBA.Request _request(java.lang.String operation)
_request
in interface org.omg.CORBA.Object
public org.omg.CORBA.Object _set_policy_override(org.omg.CORBA.Policy[] policies, org.omg.CORBA.SetOverrideType set_add)
_set_policy_override
in interface org.omg.CORBA.Object