org.csapi.jr.se.cs
Class ChargingParameterValue

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

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

Defines the Tagged Choice of Data Elements that identify a charging parameter.

See Also:
Serialized Form

Constructor Summary
ChargingParameterValue()
          Creates a new ChargingParameterValue.
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
 boolean getBooleanValue()
          This method returns a BooleanValue
 org.csapi.jr.se.cs.ChargingParameterValueType getDiscriminator()
          This method returns the discriminator.
 float getFloatValue()
          This method returns a FloatValue
 int getIntValue()
          This method returns a IntValue
 byte[] getOctetValue()
          This method returns a OctetValue
 java.lang.String getStringValue()
          This method returns a StringValue
 int hashCode()
          Returns a hashcode value for the object.
 void setBooleanValue(boolean value)
          This method sets a BooleanValue
 void setFloatValue(float value)
          This method sets a FloatValue
 void setIntValue(int value)
          This method sets a IntValue
 void setOctetValue(byte[] value)
          This method sets a OctetValue
 void setStringValue(java.lang.String value)
          This method sets a StringValue
 void setUndefined(org.csapi.jr.se.cs.ChargingParameterValueType discriminator)
          This method will receive the discriminator as a parameter and will set _object to null
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChargingParameterValue

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

Method Detail

getDiscriminator

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

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

getIntValue

public int getIntValue()
                throws InvalidUnionAccessorException
This method returns a IntValue

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

setIntValue

public void setIntValue(int value)
This method sets a IntValue

Parameters:
value - a int value

getFloatValue

public float getFloatValue()
                    throws InvalidUnionAccessorException
This method returns a FloatValue

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

setFloatValue

public void setFloatValue(float value)
This method sets a FloatValue

Parameters:
value - a float value

getStringValue

public java.lang.String getStringValue()
                                throws InvalidUnionAccessorException
This method returns a StringValue

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

setStringValue

public void setStringValue(java.lang.String value)
This method sets a StringValue

Parameters:
value - a java.lang.String value

getBooleanValue

public boolean getBooleanValue()
                        throws InvalidUnionAccessorException
This method returns a BooleanValue

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

setBooleanValue

public void setBooleanValue(boolean value)
This method sets a BooleanValue

Parameters:
value - a boolean value

getOctetValue

public byte[] getOctetValue()
                     throws InvalidUnionAccessorException
This method returns a OctetValue

Returns:
a byte[] value
Throws:
InvalidUnionAccessorException - if an error occurs

setOctetValue

public void setOctetValue(byte[] value)
This method sets a OctetValue

Parameters:
value - a byte[] value

setUndefined

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

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