org.csapi.jr.se
Class Attribute

java.lang.Object
  |
  +--org.csapi.jr.se.Attribute
All Implemented Interfaces:
java.io.Serializable

public final class Attribute
extends java.lang.Object
implements java.io.Serializable

This is a Sequence of Data Elements containing the attribute name and value.

See Also:
Serialized Form

Constructor Summary
Attribute()
          Creates a new Attribute instance.
Attribute(java.lang.String _attributeName, org.csapi.jr.se.AttributeValue _attributeValue)
          Creates a new Attribute instance.
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
 java.lang.String getAttributeName()
          This method returns a attributeName.
 org.csapi.jr.se.AttributeValue getAttributeValue()
          This method returns a attributeValue.
 int hashCode()
          Returns a hashcode value for the object.
 void setAttributeName(java.lang.String attributeName)
          This method sets a attributeName.
 void setAttributeValue(org.csapi.jr.se.AttributeValue attributeValue)
          This method sets a attributeValue.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Attribute

public Attribute()
Creates a new Attribute instance.


Attribute

public Attribute(java.lang.String _attributeName,
                 org.csapi.jr.se.AttributeValue _attributeValue)
Creates a new Attribute instance.

Parameters:
_attributeName - The name of the attribute.
_attributeValue - The typed value(s) for the attribute.
Method Detail

getAttributeName

public java.lang.String getAttributeName()
This method returns a attributeName.

Returns:
a String value

getAttributeValue

public org.csapi.jr.se.AttributeValue getAttributeValue()
This method returns a attributeValue.

Returns:
a org.csapi.jr.se.AttributeValue value

setAttributeName

public void setAttributeName(java.lang.String attributeName)
This method sets a attributeName.


setAttributeValue

public void setAttributeValue(org.csapi.jr.se.AttributeValue attributeValue)
This method sets a attributeValue.


equals

public boolean equals(java.lang.Object o)
Indicates whether some other object is 'equal to' this one.

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Returns a hashcode value for the object.

Overrides:
hashCode in class java.lang.Object