org.csapi.jr.se
Class StructuredAttributeValue

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

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

This is a Sequence of Data Elements containing the structured attribute type tag and the value to be interpreted using that type.

See Also:
Serialized Form

Constructor Summary
StructuredAttributeValue()
          Creates a new StructuredAttributeValue instance.
StructuredAttributeValue(java.lang.String _type, java.lang.Object _value)
          Creates a new StructuredAttributeValue instance.
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
 java.lang.String getType()
          This method returns a type.
 java.lang.Object getValue()
          This method returns a value.
 int hashCode()
          Returns a hashcode value for the object.
 void setType(java.lang.String type)
          This method sets a type.
 void setValue(java.lang.Object value)
          This method sets a value.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StructuredAttributeValue

public StructuredAttributeValue()
Creates a new StructuredAttributeValue instance.


StructuredAttributeValue

public StructuredAttributeValue(java.lang.String _type,
                                java.lang.Object _value)
Creates a new StructuredAttributeValue instance.

Parameters:
_type -
_value -
Method Detail

getType

public java.lang.String getType()
This method returns a type.

Returns:
a String value

getValue

public java.lang.Object getValue()
This method returns a value.

Returns:
a Object value

setType

public void setType(java.lang.String type)
This method sets a type.


setValue

public void setValue(java.lang.Object value)
This method sets a value.


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