net.sf.cb2java.copybook
Class SignedSeparate

java.lang.Object
  extended bynet.sf.cb2java.copybook.Element
      extended bynet.sf.cb2java.copybook.Leaf
          extended bynet.sf.cb2java.copybook.Numeric
              extended bynet.sf.cb2java.copybook.SignedSeparate

public class SignedSeparate
extends Numeric


Nested Class Summary
static class SignedSeparate.Position
           
 
Field Summary
static SignedSeparate.Position LEADING
           
static SignedSeparate.Position TRAILING
           
 
Method Summary
 int digits()
           
 SignedSeparate.Position signPosition()
           
 byte[] toBytes(java.lang.Object data)
          converts the supplied data to bytes
 
Methods inherited from class net.sf.cb2java.copybook.Numeric
createEx, createEx, decimalPlaces, getChildren, getFormatObject, getLength, getUnscaled, getValue, signed, validate
 
Methods inherited from class net.sf.cb2java.copybook.Element
getBytes, getLevel, getName, getOccurs, getPosition, getString, toString, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

LEADING

public static final SignedSeparate.Position LEADING

TRAILING

public static final SignedSeparate.Position TRAILING
Method Detail

signPosition

public SignedSeparate.Position signPosition()

toBytes

public byte[] toBytes(java.lang.Object data)
Description copied from class: Element
converts the supplied data to bytes

Specified by:
toBytes in class Element
Parameters:
data - the data to convert to bytes
Returns:
the bytes for the data

digits

public int digits()
Specified by:
digits in class Numeric