org.arm4.arm40.transaction
Class ArmProperty

java.lang.Object
  extended by org.arm4.arm40.transaction.ArmProperty

public class ArmProperty
extends java.lang.Object

ArmProperty addresses a requirement to accept a set of string name=value pair that extend the concept of application and transaction identity. An identity property name and value are the same for all instances of an application or transaction. A set of identity names (maximum of 20; maximum length of 127 characters) A set of identity values (maximum of 20; maximum length of 255 characters)

Version:
$Revision$ $Date$
Author:
dcarter

Field Summary
protected  java.lang.String m_name
           
protected  java.lang.String m_value
           
 
Constructor Summary
ArmProperty(java.lang.String name)
          Constructor.
ArmProperty(java.lang.String name, java.lang.String value)
          Constructor.
 
Method Summary
 java.lang.String getName()
          Returns the unique identifier for this property.
 java.lang.String getValue()
          Returns the value for the property, as identified by the given key.
 void setName(java.lang.String name)
          Sets the unique identifier for this property.
 void setValue(java.lang.String value)
          Sets the value for this property
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_name

protected java.lang.String m_name

m_value

protected java.lang.String m_value
Constructor Detail

ArmProperty

public ArmProperty(java.lang.String name)
Constructor.

Parameters:
name - is a unique identifier for this property.

ArmProperty

public ArmProperty(java.lang.String name,
                   java.lang.String value)
Constructor.

Parameters:
name - is a unique identifier for this property.
value - is the value for the property, as identified by the given key.
Method Detail

getName

public java.lang.String getName()
Returns the unique identifier for this property.

Returns:
the unique identifier for this property.

setName

public void setName(java.lang.String name)
Sets the unique identifier for this property.

Parameters:
name - is the unique identifier for this property.

getValue

public java.lang.String getValue()
Returns the value for the property, as identified by the given key.

Returns:
the value for the property, as identified by the given key.

setValue

public void setValue(java.lang.String value)
Sets the value for this property

Parameters:
value - is the value to associate with this property