xBaseJ.Client
Class NumField

java.lang.Object
  |
  +--xBaseJ.Client.Field
        |
        +--xBaseJ.Client.NumField
Direct Known Subclasses:
FloatField

public class NumField
extends Field


Fields inherited from class xBaseJ.Client.Field
Name
 
Method Summary
 int decPoint()
          Deprecated. use getDecimalPostionCount
 int getDecimalPositionCount()
           
 char getType()
           
 void put(double inValue)
          sets the field contents.
 void put(long inValue)
          sets the field contents.
 void put(java.lang.String inValue)
          sets the field contents.
 char type()
          Deprecated. use getType
 
Methods inherited from class xBaseJ.Client.Field
get, getLength, getName, length, name
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

type

public char type()
Deprecated. use getType

Overrides:
type in class Field
Returns:
char 'N' indicating a numeric field

getType

public char getType()
Overrides:
getType in class Field
Returns:
char 'N' indicating a numeric field

decPoint

public int decPoint()
Deprecated. use getDecimalPostionCount

Overrides:
decPoint in class Field
Returns:
int - the number of decimal positions

getDecimalPositionCount

public int getDecimalPositionCount()
Overrides:
getDecimalPositionCount in class Field
Returns:
int - the number of decimal positions

put

public void put(java.lang.String inValue)
         throws xBaseJException
sets the field contents.
Overrides:
put in class Field
Parameters:
inValue - String
Throws:
xBaseJException - most likely a formatting exception

put

public void put(long inValue)
         throws xBaseJException
sets the field contents.
Parameters:
inValue - long
Throws:
xBaseJException - most likely a formatting exception

put

public void put(double inValue)
         throws xBaseJException
sets the field contents.
Parameters:
inValue - double
Throws:
xBaseJException - most likely a formatting exception