org.sourceforge.ifx.basetypes
Class IFXDecimal

java.lang.Object
  extended byorg.sourceforge.ifx.basetypes.IFXObject
      extended byorg.sourceforge.ifx.basetypes.IFXDecimal
All Implemented Interfaces:
IBaseType
Direct Known Subclasses:
CurrencyAndAmount_SimpleType, CurrencyAndAmount_SimpleType, CurrencyAndAmount_SimpleType, Decimal, Decimal, DecimalNumber, PercentageRate

public class IFXDecimal
extends IFXObject
implements IBaseType

The IFXDecimal class provides a wrapper for the xsd:decimal type.

Version:
$Revision: 1.1 $
Author:
Sujit Pal (spal@users.sourceforge.net)

Constructor Summary
IFXDecimal()
          Default ctor
 
Method Summary
 boolean equals(java.lang.Object obj)
          Compares two IFXDecimal objects for equality.
 java.lang.String getString()
          Returns the String form of this object.
 void setString(java.lang.String s)
          Sets the object from a String.
 
Methods inherited from class org.sourceforge.ifx.basetypes.IFXObject
toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IFXDecimal

public IFXDecimal()
Default ctor

Method Detail

getString

public java.lang.String getString()
Returns the String form of this object.

Specified by:
getString in interface IBaseType
Returns:
the string

setString

public void setString(java.lang.String s)
Sets the object from a String.

Specified by:
setString in interface IBaseType
Parameters:
s - the string to set.

equals

public boolean equals(java.lang.Object obj)
Compares two IFXDecimal objects for equality.

Overrides:
equals in class IFXObject
Parameters:
obj - the object to compare against.
Returns:
true or false.