public class ApplicationAttribute extends ApplicationAttributePOA implements ApplicationAttribute
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 |
---|
ApplicationAttribute() |
ApplicationAttribute(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() |
ApplicationElement |
getApplicationElement()
Return the application element to which the attribute
belongs.
|
BaseAttribute |
getBaseAttribute()
Get the base attribute of the application attribute.
|
DataType |
getDataType()
Get the data type of the application attribute.
|
EnumerationDefinition |
getEnumerationDefinition()
Get the definition of the enumeration.
|
static org.omg.CORBA.Object |
getInstance(long cObjPtr,
AoSession aosObj) |
int |
getLength()
Get the maximum allowed length of the value of the
application attribute.
|
java.lang.String |
getName()
Get the name of the application attribute.
|
ACL[] |
getRights()
Retrieve access control list information of the given
object.
|
T_LONGLONG |
getUnit()
Get the unit Id of the application attribute.
|
boolean |
hasUnit()
Has the attribute an unit.
|
boolean |
hasValueFlag()
Has the attribute a value flag.
|
boolean |
isAutogenerated()
Get the autogenerate flag of the application attribute.
|
boolean |
isObligatory()
Get the obligatory flag of the application attribute.
|
boolean |
isUnique()
Get the unique flag of the application attribute.
|
void |
setBaseAttribute(BaseAttribute baseAttr)
Set the base attribute of the application attribute.
|
void |
setDataType(DataType aaDataType)
Set the data type of the application attribute.
|
void |
setEnumerationDefinition(EnumerationDefinition enumDef)
Set the definition of the enumeration.
|
void |
setIsAutogenerated(boolean isAutogenerated)
Set the autogenerate flag of the application attribute.
|
void |
setIsObligatory(boolean aaIsObligatory)
Set the obligatory flag of the application attribute.
|
void |
setIsUnique(boolean aaIsUnique)
Set the unique flag of the application attribute.
|
void |
setLength(int aaLength)
Set the maximum allowed length of the application
attribute.
|
void |
setName(java.lang.String aaName)
Set the name of an application attribute.
|
void |
setRights(InstanceElement usergroup,
int rights,
RightsSet set)
The given usergroup the rights should be set for.
|
void |
setUnit(T_LONGLONG aaUnit)
Set the unit Id of an application attribute.
|
void |
withUnit(boolean withUnit)
Set wether the attribute becomes an unit or not.
|
void |
withValueFlag(boolean withValueFlag)
Set wether the attribute becomes a value flag or not.
|
_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 ApplicationAttribute()
public ApplicationAttribute(long cObjPtr)
public static org.omg.CORBA.Object getInstance(long cObjPtr, AoSession aosObj)
public BaseAttribute getBaseAttribute() throws AoException
getBaseAttribute
in interface ApplicationAttributeOperations
AoException
- with the following possible error codes:
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEpublic DataType getDataType() throws AoException
getDataType
in interface ApplicationAttributeOperations
AoException
- with the following possible error codes:
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEpublic int getLength() throws AoException
getLength
in interface ApplicationAttributeOperations
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 ApplicationAttributeOperations
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 getUnit() throws AoException
getUnit
in interface ApplicationAttributeOperations
AoException
- with the following possible error codes:
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEpublic boolean isObligatory() throws AoException
isObligatory
in interface ApplicationAttributeOperations
AoException
- with the following possible error codes:
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEpublic boolean isUnique() throws AoException
isUnique
in interface ApplicationAttributeOperations
AoException
- with the following possible error codes:
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEpublic void setBaseAttribute(BaseAttribute baseAttr) throws AoException
setBaseAttribute
in interface ApplicationAttributeOperations
baseAttr
- The base attribute.AoException
- with the following possible error codes:
AO_BAD_PARAMETER
AO_CONNECTION_LOST
AO_DUPLICATE_BASE_ATTRIBUTE
AO_IMPLEMENTATION_PROBLEM
AO_INVALID_DATATYPE
AO_MISSING_VALUE
AO_NOT_IMPLEMENTED
AO_NOT_UNIQUE
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEpublic void setDataType(DataType aaDataType) throws AoException
setDataType
in interface ApplicationAttributeOperations
aaDataType
- The data type.AoException
- with the following possible error codes:
AO_BAD_PARAMETER
AO_CONNECTION_LOST
AO_HAS_BASE_ATTRIBUTE
AO_IMPLEMENTATION_PROBLEM
AO_INVALID_DATATYPE
AO_IS_BASE_ATTRIBUTE
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEpublic void setIsObligatory(boolean aaIsObligatory) throws AoException
setIsObligatory
in interface ApplicationAttributeOperations
aaIsObligatory
- The obligatory flag.AoException
- with the following possible error codes:
AO_BAD_PARAMETER
AO_CONNECTION_LOST
AO_HAS_BASE_ATTRIBUTE
AO_IMPLEMENTATION_PROBLEM
AO_IS_BASE_ATTRIBUTE
AO_MISSING_VALUE
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEpublic void setIsUnique(boolean aaIsUnique) throws AoException
setIsUnique
in interface ApplicationAttributeOperations
aaIsUnique
- The unique flag.AoException
- with the following possible error codes:
AO_BAD_PARAMETER
AO_CONNECTION_LOST
AO_HAS_BASE_ATTRIBUTE
AO_IMPLEMENTATION_PROBLEM
AO_IS_BASE_ATTRIBUTE
AO_MISSING_VALUE
AO_NOT_IMPLEMENTED
AO_NOT_UNIQUE
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEpublic void setLength(int aaLength) throws AoException
setLength
in interface ApplicationAttributeOperations
aaLength
- The maximum attribute length.AoException
- with the following possible error codes:
AO_BAD_PARAMETER
AO_CONNECTION_LOST
AO_HAS_INSTANCES
AO_IMPLEMENTATION_PROBLEM
AO_INVALID_LENGTH
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEpublic void setName(java.lang.String aaName) throws AoException
setName
in interface ApplicationAttributeOperations
aaName
- The application attribute name.AoException
- with the following possible error codes:
AO_BAD_PARAMETER
AO_CONNECTION_LOST
AO_DUPLICATE_NAME
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEpublic void setUnit(T_LONGLONG aaUnit) throws AoException
setUnit
in interface ApplicationAttributeOperations
aaUnit
- The unit Id.AoException
- with the following possible error codes:
AO_BAD_PARAMETER
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_INCOMPATIBLE_UNITS
AO_MATH_ERROR
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVE
AO_UNKNOWN_UNITpublic void setRights(InstanceElement usergroup, int rights, RightsSet set) throws AoException
setRights
in interface ApplicationAttributeOperations
usergroup
- The usergroup for which the rights will
be modified.rights
- The new right for the usergroup. 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 ApplicationAttributeOperations
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 ApplicationElement getApplicationElement() throws AoException
getApplicationElement
in interface ApplicationAttributeOperations
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 boolean isAutogenerated() throws AoException
isAutogenerated
in interface ApplicationAttributeOperations
AoException
- with the following possible error codes:
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEpublic void setIsAutogenerated(boolean isAutogenerated) throws AoException
setIsAutogenerated
in interface ApplicationAttributeOperations
isAutogenerated
- The autogenerate flag.AoException
- with the following possible error codes:
AO_BAD_PARAMETER
AO_CONNECTION_LOST
AO_HAS_BASE_ATTRIBUTE
AO_IMPLEMENTATION_PROBLEM
AO_IS_BASE_ATTRIBUTE
AO_MISSING_VALUE
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEpublic EnumerationDefinition getEnumerationDefinition() throws AoException
getEnumerationDefinition
in interface ApplicationAttributeOperations
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 boolean hasUnit() throws AoException
hasUnit
in interface ApplicationAttributeOperations
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 boolean hasValueFlag() throws AoException
hasValueFlag
in interface ApplicationAttributeOperations
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 void setEnumerationDefinition(EnumerationDefinition enumDef) throws AoException
setEnumerationDefinition
in interface ApplicationAttributeOperations
enumDef
- The new enumeration definition.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 void withUnit(boolean withUnit) throws AoException
withUnit
in interface ApplicationAttributeOperations
withUnit
- The flag if the attribute becomes an
unit.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 void withValueFlag(boolean withValueFlag) throws AoException
withValueFlag
in interface ApplicationAttributeOperations
withValueFlag
- The flag if the attribute becomes a
value flag.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_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