org.csapi.jr.se
Class AttributeValue

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

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

This is a tagged choice of data elements to hold attribute values of different complexity.

See Also:
Serialized Form

Constructor Summary
AttributeValue()
          Creates a new AttributeValue.
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
 org.csapi.jr.se.AttributeTagInfo getDiscriminator()
          This method returns the discriminator.
 org.csapi.jr.se.SimpleAttributeValue getSimpleValue()
          This method returns a SimpleValue
 org.csapi.jr.se.StructuredAttributeValue getStructuredValue()
          This method returns a StructuredValue
 java.lang.String getXMLValue()
          This method returns a XMLValue
 int hashCode()
          Returns a hashcode value for the object.
 void setSimpleValue(org.csapi.jr.se.SimpleAttributeValue value)
          This method sets a SimpleValue
 void setStructuredValue(org.csapi.jr.se.StructuredAttributeValue value)
          This method sets a StructuredValue
 void setUndefined(org.csapi.jr.se.AttributeTagInfo discriminator)
          This method will receive the discriminator as a parameter and will set _object to null
 void setXMLValue(java.lang.String value)
          This method sets a XMLValue
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeValue

public AttributeValue()
Creates a new AttributeValue. Tagged choice of data elements always have empty constructors

Method Detail

getDiscriminator

public org.csapi.jr.se.AttributeTagInfo getDiscriminator()
                                                  throws InvalidUnionAccessorException
This method returns the discriminator.

Returns:
a AttributeTagInfo value
Throws:
InvalidUnionAccessorException - if an error occurs

getSimpleValue

public org.csapi.jr.se.SimpleAttributeValue getSimpleValue()
                                                    throws InvalidUnionAccessorException
This method returns a SimpleValue

Returns:
a org.csapi.jr.se.SimpleAttributeValue value
Throws:
InvalidUnionAccessorException - if an error occurs

setSimpleValue

public void setSimpleValue(org.csapi.jr.se.SimpleAttributeValue value)
This method sets a SimpleValue

Parameters:
value - a org.csapi.jr.se.SimpleAttributeValue value

getStructuredValue

public org.csapi.jr.se.StructuredAttributeValue getStructuredValue()
                                                            throws InvalidUnionAccessorException
This method returns a StructuredValue

Returns:
a org.csapi.jr.se.StructuredAttributeValue value
Throws:
InvalidUnionAccessorException - if an error occurs

setStructuredValue

public void setStructuredValue(org.csapi.jr.se.StructuredAttributeValue value)
This method sets a StructuredValue

Parameters:
value - a org.csapi.jr.se.StructuredAttributeValue value

getXMLValue

public java.lang.String getXMLValue()
                             throws InvalidUnionAccessorException
This method returns a XMLValue

Returns:
a java.lang.String value
Throws:
InvalidUnionAccessorException - if an error occurs

setXMLValue

public void setXMLValue(java.lang.String value)
This method sets a XMLValue

Parameters:
value - a java.lang.String value

setUndefined

public void setUndefined(org.csapi.jr.se.AttributeTagInfo discriminator)
This method will receive the discriminator as a parameter and will set _object to null

Parameters:
discriminator - a AttributeTagInfo 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