4.1.0.610 20071213

ch.ecma.csta.binding
Class NumberUnits

java.lang.Object
  extended by ch.ecma.csta.CastorObject
      extended by ch.ecma.csta.binding.NumberUnits
All Implemented Interfaces:
java.io.Serializable

public class NumberUnits
extends ch.ecma.csta.CastorObject
implements java.io.Serializable

Class NumberUnits.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
NumberUnits()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
          Note: hashCode() has not been overriden
 java.lang.Object getChoiceValue()
          Returns the value of field 'choiceValue'.
 NumberOfChargingUnits getNumberOfChargeUnits()
          Returns the value of field 'numberOfChargeUnits'.
 NumberOfCurrencyUnits getNumberOfCurrencyUnits()
          Returns the value of field 'numberOfCurrencyUnits'.
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 void setNumberOfChargeUnits(NumberOfChargingUnits numberOfChargeUnits)
          Sets the value of field 'numberOfChargeUnits'.
 void setNumberOfCurrencyUnits(NumberOfCurrencyUnits numberOfCurrencyUnits)
          Sets the value of field 'numberOfCurrencyUnits'.
static NumberUnits unmarshalNumberUnits(java.io.Reader reader)
          Method unmarshalNumberUnits
 void validate()
          Method validate
 
Methods inherited from class ch.ecma.csta.CastorObject
getOldSessionID, hashCode, setOldSessionID, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NumberUnits

public NumberUnits()
Method Detail

equals

public boolean equals(java.lang.Object obj)
Note: hashCode() has not been overriden

Overrides:
equals in class ch.ecma.csta.CastorObject
Parameters:
obj -
Returns:
boolean

getChoiceValue

public java.lang.Object getChoiceValue()
Returns the value of field 'choiceValue'. The field 'choiceValue' has the following description: Internal choice value storage

Returns:
Object

getNumberOfChargeUnits

public NumberOfChargingUnits getNumberOfChargeUnits()
Returns the value of field 'numberOfChargeUnits'.

Returns:
NumberOfChargingUnits

getNumberOfCurrencyUnits

public NumberOfCurrencyUnits getNumberOfCurrencyUnits()
Returns the value of field 'numberOfCurrencyUnits'.

Returns:
NumberOfCurrencyUnits

isValid

public boolean isValid()
Method isValid

Returns:
boolean

marshal

public void marshal(java.io.Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal

Parameters:
out -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

marshal

public void marshal(org.xml.sax.ContentHandler handler)
             throws java.io.IOException,
                    org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal

Parameters:
handler -
Throws:
java.io.IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

setNumberOfChargeUnits

public void setNumberOfChargeUnits(NumberOfChargingUnits numberOfChargeUnits)
Sets the value of field 'numberOfChargeUnits'.

Parameters:
numberOfChargeUnits - the value of field 'numberOfChargeUnits'.

setNumberOfCurrencyUnits

public void setNumberOfCurrencyUnits(NumberOfCurrencyUnits numberOfCurrencyUnits)
Sets the value of field 'numberOfCurrencyUnits'.

Parameters:
numberOfCurrencyUnits - the value of field 'numberOfCurrencyUnits'.

unmarshalNumberUnits

public static NumberUnits unmarshalNumberUnits(java.io.Reader reader)
                                        throws org.exolab.castor.xml.MarshalException,
                                               org.exolab.castor.xml.ValidationException
Method unmarshalNumberUnits

Parameters:
reader -
Returns:
NumberUnits
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException
Method validate

Throws:
org.exolab.castor.xml.ValidationException

4.1.0.610 20071213

Copyright 2004 Avaya Inc All Rights Reserved.