org.arm4.arm40.transaction

Class ArmProperty

public class ArmProperty extends 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 Stringm_name
protected Stringm_value
Constructor Summary
ArmProperty(String name)
Constructor.
ArmProperty(String name, String value)
Constructor.
Method Summary
StringgetName()
Returns the unique identifier for this property.
StringgetValue()
Returns the value for the property, as identified by the given key.
voidsetName(String name)
Sets the unique identifier for this property.
voidsetValue(String value)
Sets the value for this property

Field Detail

m_name

protected String m_name

m_value

protected String m_value

Constructor Detail

ArmProperty

public ArmProperty(String name)
Constructor.

Parameters: name is a unique identifier for this property.

ArmProperty

public ArmProperty(String name, 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 String getName()
Returns the unique identifier for this property.

Returns: the unique identifier for this property.

getValue

public 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.

setName

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

Parameters: name is the unique identifier for this property.

setValue

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

Parameters: value is the value to associate with this property