com.servingxml.util.record
Class PackedDecimalValueType

java.lang.Object
  extended by com.servingxml.util.record.PackedDecimalValueType
All Implemented Interfaces:
ValueType

public class PackedDecimalValueType
extends java.lang.Object
implements ValueType


Constructor Summary
PackedDecimalValueType(int digitCount, int decimalPlaces)
           
 
Method Summary
 java.lang.Object fromString(java.lang.String s)
           
 java.lang.Object[] fromStringArray(java.lang.String[] sa)
           
 int getSqlType()
           
 java.lang.Object getSqlValue(java.lang.Object o)
           
 java.lang.String toString(java.lang.Object o)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PackedDecimalValueType

public PackedDecimalValueType(int digitCount,
                              int decimalPlaces)
Method Detail

fromStringArray

public java.lang.Object[] fromStringArray(java.lang.String[] sa)
Specified by:
fromStringArray in interface ValueType

fromString

public java.lang.Object fromString(java.lang.String s)
Specified by:
fromString in interface ValueType

toString

public java.lang.String toString(java.lang.Object o)
Specified by:
toString in interface ValueType

getSqlValue

public java.lang.Object getSqlValue(java.lang.Object o)
Specified by:
getSqlValue in interface ValueType

getSqlType

public int getSqlType()
Specified by:
getSqlType in interface ValueType