public class ApplicationAttribute extends java.lang.Object implements ApplicationAttribute
| Modifier and Type | Field and Description |
|---|---|
protected long |
cObjPtr |
| 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.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() |
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.
|
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.
|
public ApplicationAttribute()
public ApplicationAttribute(long cObjPtr)
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic BaseAttribute getBaseAttribute() throws AoException
getBaseAttribute in interface ApplicationAttributeOperationsAoException - 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 ApplicationAttributeOperationsAoException - 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 ApplicationAttributeOperationsAoException - 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 ApplicationAttributeOperationsAoException - 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 ApplicationAttributeOperationsAoException - 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 ApplicationAttributeOperationsAoException - 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 ApplicationAttributeOperationsAoException - 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 ApplicationAttributeOperationsbaseAttr - 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 ApplicationAttributeOperationsaaDataType - 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 ApplicationAttributeOperationsaaIsObligatory - 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 ApplicationAttributeOperationsaaIsUnique - 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 ApplicationAttributeOperationsaaLength - 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 ApplicationAttributeOperationsaaName - 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 ApplicationAttributeOperationsaaUnit - 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 ApplicationAttributeOperationsusergroup - 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 ApplicationAttributeOperationsAoException - 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 ApplicationAttributeOperationsAoException - 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 ApplicationAttributeOperationsAoException - 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 ApplicationAttributeOperationsisAutogenerated - 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 ApplicationAttributeOperationsAoException - 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 ApplicationAttributeOperationsAoException - 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 ApplicationAttributeOperationsAoException - 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 ApplicationAttributeOperationsenumDef - 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 ApplicationAttributeOperationswithUnit - 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 ApplicationAttributeOperationswithValueFlag - 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.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