Contains the metadata that is the same for all instances of a transaction
type.
The metadata can be used to describe types of instances represented by
ArmTransaction
or
ArmTranReport
).
ArmTransactionDefinition
has the following attributes,
all of which are immutable:
-
The definition of the application that contains the transaction.
It must not be
null
.
-
The name of the transaction (maximum 127 characters).
-
(optional) Identity property names and values and
context property names in arrays.
See the discussion of identity and context property names in
ArmIdentityProperties
.
-
(optional) ID. An optional 16-byte ID may be associated with
the identity of a transaction definition. The returned value, which
could be
null
, is the same value passed to the
newArmTransactionDefinition()
method of
ArmTransactionFactory
. The ID value is bound to a unique
combination of the application identity (represented by
ArmApplicationDefinition
), transaction name, any URI
identity property, any identity property names and values,
and any context property names. When provided, the ID may be used as
a concise alias for the unique combination. It may be
null
.
Objects implementing this interface are created using
ArmTransactionFactory.newArmTransactionDefinition(org.opengroup.arm40.transaction.ArmApplicationDefinition, java.lang.String, org.opengroup.arm40.transaction.ArmIdentityPropertiesTransaction, org.opengroup.arm40.transaction.ArmID)
.