org.opengroup.arm40.transaction
public interface ArmIdentityProperties extends ArmInterface
ArmIdentityProperties
is new in ARM 4.0. It addresses a
requirement to accept a set of string (name,value) pairs that extend the
concept of application and transaction identity and context.
ARM defines two types of properties - identity and context. The difference
between them is as follows:
ArmIdentityProperties
contains some attributes that are
common to the identity of both an application and a transaction.
The full identity is captured in ArmApplicationDefinition
and
ArmTransactionDefinition
, which each adds other attributes
to those listed here. All these attributes are immutable.
The common attributes include:
ARM:
" are reserved for the ARM specification. The
specification will define names with known semantics using this prefix.
One name format is currently defined. Any name beginning with the
eight-character prefix "ARM:CIM:
" represents a name defined
using the DMTF CIM (Distributed Management Task Force Common
Information Model) naming rules. For example,
"ARM:CIM:CIM_SoftwareElement.Name
" indicates that the
property value has the semantics of the Name property of the
CIM_SoftwareElement
class. It is anticipated that additional
naming semantics are likely to be added in the future.
Objects implementing this interface are created using
ArmTransactionFactory.
Method Summary | |
---|---|
String | getContextName(int index) |
String | getIdentityName(int index) |
String | getIdentityValue(int index) |
Parameters: index the index of the context name to be returned.
Returns: the string (the name
part of the (name,value)
context property) at the specified array index. The returned value
may be null
.
Parameters: index the index of the identity name to be returned.
Returns: the string (the name
part of the (name,value)
identity property) at the specified array index. The returned value
will be null
if either the name or value at
the index is set to null.
Parameters: index the index of the identity value to be returned.
Returns: the string (the value
part of the (name,value)
identity property) at the specified array index. The returned value
will be null
if either the name or value at
the index is set to null.