|
TPTP 4.6.0 Tracing and Profiling Tools Project Internal API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.tptp.trace.arm.internal.transaction.ArmInterfaceImpl
org.eclipse.tptp.trace.arm.internal.transaction.ArmIdentityPropertiesImpl
public class ArmIdentityPropertiesImpl
ArmIdentityProperties addresses a requirement to accept a set of string name=value pairs that extend the concept of application and transaction identity and context. An identity property's name and value are the same for all instances of an application or transaction. A context property's name is the same for all instances of an application or transaction, but a context property's value may vary for each instance and the values are defined in ArmApplication and ArmTransaction. ArmIdentityProperties is created with the newArmIdentityProperties() method of ArmTransactionFactory.
| Field Summary | |
|---|---|
protected java.util.List |
_contextProperties
|
protected java.util.List |
_identityProperties
|
static int |
MAX_ELEMENT_INDEX
|
static java.lang.String |
PROPERTY_TPTP_TRANSACTION_NAME
|
| Fields inherited from class org.eclipse.tptp.trace.arm.internal.transaction.ArmInterfaceImpl |
|---|
validationPropertyKey |
| Constructor Summary | |
|---|---|
ArmIdentityPropertiesImpl(org.opengroup.arm40.transaction.ArmIdentityProperties identityProperties)
Create the ARM Identity Properties. |
|
ArmIdentityPropertiesImpl(java.lang.String[] identityNames,
java.lang.String[] identityValues,
java.lang.String[] contextNames)
Create the ARM Identity Properties. |
|
| Method Summary | |
|---|---|
java.lang.String |
getContextName(int index)
|
java.lang.String[] |
getContextNames()
Returns an array of all the ARM Context Names. |
java.lang.String |
getContextValue(int index)
Returns the ARM Context Value at the given index. |
java.lang.String[] |
getContextValues()
Returns an array of all the ARM Context Values. |
java.lang.String |
getIdentityName(int index)
|
java.lang.String[] |
getIdentityNames()
Returns an array of all the ARM Identity Names. |
java.lang.String |
getIdentityValue(int index)
|
java.lang.String[] |
getIdentityValues()
Returns an array of all the ARM Identity Values. |
void |
setContextValue(int index,
java.lang.String value)
Set the Context value at the given index. |
void |
setContextValues(java.lang.String[] contextValues)
Set all the context values to the given list. |
java.lang.String |
toString()
Returns a XML string based version of this entity. |
| Methods inherited from class org.eclipse.tptp.trace.arm.internal.transaction.ArmInterfaceImpl |
|---|
checkValidation, getErrorCode, getErrorMessage, getFactory, setErrorCode, setFactory |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.opengroup.arm40.transaction.ArmInterface |
|---|
getErrorCode, getErrorMessage, setErrorCode |
| Field Detail |
|---|
public static final int MAX_ELEMENT_INDEX
public static final java.lang.String PROPERTY_TPTP_TRANSACTION_NAME
protected java.util.List _identityProperties
protected java.util.List _contextProperties
| Constructor Detail |
|---|
public ArmIdentityPropertiesImpl(java.lang.String[] identityNames,
java.lang.String[] identityValues,
java.lang.String[] contextNames)
identityNames - identityValues - contextNames - public ArmIdentityPropertiesImpl(org.opengroup.arm40.transaction.ArmIdentityProperties identityProperties)
identityProperties - | Method Detail |
|---|
public java.lang.String getIdentityName(int index)
getIdentityName in interface org.opengroup.arm40.transaction.ArmIdentityPropertiespublic java.lang.String[] getIdentityNames()
public java.lang.String getIdentityValue(int index)
getIdentityValue in interface org.opengroup.arm40.transaction.ArmIdentityPropertiespublic java.lang.String[] getIdentityValues()
public java.lang.String getContextName(int index)
getContextName in interface org.opengroup.arm40.transaction.ArmIdentityPropertiespublic java.lang.String[] getContextNames()
public java.lang.String getContextValue(int index)
index -
public java.lang.String[] getContextValues()
public void setContextValue(int index,
java.lang.String value)
index - value - public void setContextValues(java.lang.String[] contextValues)
contextValues - public java.lang.String toString()
toString in class java.lang.Object
|
TPTP 4.6.0 Tracing and Profiling Tools Project Internal API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||