public class _ApplicationAttributeStub extends org.omg.CORBA.portable.ObjectImpl implements ApplicationAttribute
| Constructor and Description |
|---|
_ApplicationAttributeStub() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String[] |
_ids() |
ApplicationElement |
getApplicationElement()
(4017)
Return the application element to which the attribute belongs.
|
BaseAttribute |
getBaseAttribute()
(4001)
Get the base attribute of the application attribute.
|
DataType |
getDataType()
(4002)
Get the data type of the application attribute.
|
EnumerationDefinition |
getEnumerationDefinition()
(4020)
Get the definition of the enumeration.
|
int |
getLength()
(4003)
Get the maximum allowed string length of the value of the
application attribute.
|
java.lang.String |
getName()
(4004)
Get the name of the application attribute.
|
ACL[] |
getRights()
(4016)
Retrieve access control list information of the given object.
|
T_LONGLONG |
getUnit()
(4005)
Get the unit Id of the application attribute.
|
boolean |
hasUnit()
(4022)
Has the attribute an unit.
|
boolean |
hasValueFlag()
(4024)
Deprecated, not used any more since ASAM ODS 5.2.
|
boolean |
isAutogenerated()
(4018)
Get the auto generate flag of the application attribute.
|
boolean |
isObligatory()
(4006)
Get the obligatory flag of the application attribute.
|
boolean |
isUnique()
(4007)
Get the unique flag of the application attribute.
|
void |
setBaseAttribute(BaseAttribute baseAttr)
(4008)
Set the base attribute of the application attribute.
|
void |
setDataType(DataType aaDataType)
(4009)
Set the data type of the application attribute.
|
void |
setEnumerationDefinition(EnumerationDefinition enumDef)
(4021)
Set the definition of the enumeration.
|
void |
setIsAutogenerated(boolean isAutogenerated)
(4019)
Set the auto generate flag of the application attribute.
|
void |
setIsObligatory(boolean aaIsObligatory)
(4010)
Set the obligatory flag of the application attribute.
|
void |
setIsUnique(boolean aaIsUnique)
(4011)
Set the unique flag of the application attribute.
|
void |
setLength(int aaLength)
(4012)
Set the maximum allowed length of the application attribute.
|
void |
setName(java.lang.String aaName)
(4013)
Set the name of an application attribute.
|
void |
setRights(InstanceElement usergroup,
int rights,
RightsSet set)
(4015)
The given user group the rights should be set for.
|
void |
setUnit(T_LONGLONG aaUnit)
(4014)
Set the unit Id of an application attribute.
|
void |
withUnit(boolean withUnit)
(4023)
Specifies whether the attribute will have an unit or not.
|
void |
withValueFlag(boolean withValueFlag)
(4025)
Deprecated, not used any more since ASAM ODS 5.2.
|
_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, toStringpublic 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 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 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 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 auto generate 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_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVE
AO_INVALID_DATATYPEpublic 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_DENIED
AO_INVALID_DATATYPEpublic 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_ACTIVEpublic void withUnit(boolean withUnit)
throws AoException
withUnit in interface ApplicationAttributeOperationswithUnit - TRUE, if the attribute will have an unit, FALSE
otherwise.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 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 void withValueFlag(boolean withValueFlag)
throws AoException
withValueFlag in interface ApplicationAttributeOperationswithValueFlag - TRUE flag if the attribute becomes a value
flag, else FALSE.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 java.lang.String[] _ids()
_ids in class org.omg.CORBA.portable.ObjectImpl