xBaseJ.Client
Class LogicalField

java.lang.Object
  |
  +--xBaseJ.Client.Field
        |
        +--xBaseJ.Client.LogicalField

public class LogicalField
extends Field


Fields inherited from class xBaseJ.Client.Field
Name
 
Method Summary
 boolean getBoolean()
           
 char getChar()
           
 char getType()
           
 void put(boolean inValue)
          allows input true or false
 void put(char inValue)
          allows input of Y, y, T, t and 1 for true, N, n, F, f, and 0 for false
 void put(java.lang.String inValue)
          allows input of Y, y, T, t and 1 for true, N, n, F, f, and 0 for false
 char type()
          Deprecated. use getType
 
Methods inherited from class xBaseJ.Client.Field
decPoint, get, getDecimalPositionCount, 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 'L' indicating logical field

getType

public char getType()
Overrides:
getType in class Field
Returns:
char 'L' indicating logical field

put

public void put(java.lang.String inValue)
         throws xBaseJException
allows input of Y, y, T, t and 1 for true, N, n, F, f, and 0 for false
Overrides:
put in class Field
Parameters:
String - - one character length string
Throws:
xBaseJException - field value is not one of the allowable inputs

put

public void put(char inValue)
         throws xBaseJException
allows input of Y, y, T, t and 1 for true, N, n, F, f, and 0 for false
Parameters:
char - - Y, y, T, t and 1 for true, N, n, F, f, and 0 for false
Throws:
xBaseJException - field value is not one of the allowable inputs

put

public void put(boolean inValue)
allows input true or false
Parameters:
boolean - - true or false

getChar

public char getChar()
Returns:
T for true and F for false

getBoolean

public boolean getBoolean()
Returns:
boolean true or false