|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--xBaseJ.Field | +--xBaseJ.LogicalField
Constructor Summary | |
LogicalField(java.lang.String iName)
public method for creating a LogicalField object. |
Method Summary | |
boolean |
getBoolean()
returns true or false |
char |
getChar()
returns T for true and F for false |
char |
getType()
return the character 'L' indicating a logical Field |
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.Field |
decPoint, get, getBytes, getDecimalPositionCount, getLength, getName, length, name, put, readExternal, writeExternal |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LogicalField(java.lang.String iName) throws xBaseJException, java.io.IOException
xBaseJException
- exception caused in calling methods
java.io.IOException
- can not occur but defined for calling methodsField
Method Detail |
public char type()
type
in class Field
public char getType()
getType
in class Field
public void put(java.lang.String inValue) throws xBaseJException
put
in class Field
inValue
- value to set
xBaseJException
- most likely a format exceptionpublic void put(char inValue) throws xBaseJException
xBaseJException
- most likely a format exceptionpublic void put(boolean inValue)
public char getChar()
public boolean getBoolean()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |