public class BaseElement extends java.lang.Object implements BaseElement
| Modifier and Type | Field and Description |
|---|---|
protected long |
cObjPtr |
| 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.Object |
_get_interface_def() |
org.omg.CORBA.Policy |
_get_policy(int policy_type) |
int |
_hash(int maximum) |
boolean |
_is_a(java.lang.String repositoryIdentifier) |
boolean |
_is_equivalent(org.omg.CORBA.Object other) |
boolean |
_non_existent() |
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) |
boolean |
equals(java.lang.Object obj) |
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.
|
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.
|
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic BaseRelation[] getAllRelations() throws AoException
getAllRelations in interface BaseElementOperationsAoException - 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 BaseElementOperationsbaPattern - 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 BaseElementOperationsbrRelationship - 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 BaseElementOperationsbrRelationType - 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 BaseElementOperationsAoException - 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 BaseElementOperationsAoException - 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 BaseElementOperationsbaPattern - 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 BaseElementOperationsbrRelationship - 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.Objectjava.lang.Throwablepublic 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.Objectpublic 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.Objectpublic org.omg.CORBA.Object _duplicate()
_duplicate in interface org.omg.CORBA.Objectpublic org.omg.CORBA.DomainManager[] _get_domain_managers()
_get_domain_managers in interface org.omg.CORBA.Objectpublic org.omg.CORBA.Object _get_interface_def()
_get_interface_def in interface org.omg.CORBA.Objectpublic org.omg.CORBA.Policy _get_policy(int policy_type)
_get_policy in interface org.omg.CORBA.Objectpublic int _hash(int maximum)
_hash in interface org.omg.CORBA.Objectpublic boolean _is_a(java.lang.String repositoryIdentifier)
_is_a in interface org.omg.CORBA.Objectpublic boolean _is_equivalent(org.omg.CORBA.Object other)
_is_equivalent in interface org.omg.CORBA.Objectpublic boolean _non_existent()
_non_existent in interface org.omg.CORBA.Objectpublic void _release()
_release in interface org.omg.CORBA.Objectpublic org.omg.CORBA.Request _request(java.lang.String operation)
_request in interface org.omg.CORBA.Objectpublic 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