net.sf.cb2java.copybook.data
Class IntegerData
java.lang.Object
net.sf.cb2java.copybook.data.Data
net.sf.cb2java.copybook.data.ValueData
net.sf.cb2java.copybook.data.NumericData
net.sf.cb2java.copybook.data.IntegerData
- public class IntegerData
- extends NumericData
class that represents numeric data
with no fraction portion
- Author:
- James Watson
Field Summary |
java.math.BigInteger |
data
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
data
public java.math.BigInteger data
IntegerData
public IntegerData(Numeric definition)
getInt
public int getInt()
getLong
public long getLong()
getBigInteger
public java.math.BigInteger getBigInteger()
setValue
public void setValue(long data)
setValueImpl
public void setValueImpl(java.lang.Object data)
- Description copied from class:
Data
- called by setData after validate is called
- Specified by:
setValueImpl
in class Data
- Parameters:
data
- the data to set
setValue
public void setValue(java.math.BigInteger data)
getValue
public java.lang.Object getValue()
- Description copied from class:
Data
- returns the Object as it's 'natural' Java type
- Specified by:
getValue
in class Data