All Packages Class Hierarchy This Package Previous Next Index
Class xBaseJ.LogicalField
java.lang.Object
|
+----xBaseJ.Field
|
+----xBaseJ.LogicalField
- public class LogicalField
- extends Field
-
LogicalField(String)
-
public method for creating a LogicalField object.
-
getBoolean()
-
returns true or false
-
getChar()
-
returns T for true and F for false
-
getType()
- return the character 'L' indicating a logical Field
-
put(boolean)
- allows input true or false
-
put(char)
- allows input of Y, y, T, t and 1 for true, N, n, F, f, and 0 for false
-
put(String)
- allows input of Y, y, T, t and 1 for true, N, n, F, f, and 0 for false
-
type()
- return the character 'L' indicating a logical Field
Deprecated.
LogicalField
public LogicalField(String iName) throws xBaseJException, IOException
- public method for creating a LogicalField object. It is not associated with a database
but can be when used with some DBF methods.
- Parameters:
- Name - the name of the field
- Throws: xBaseJException
- exception caused in calling methods
- Throws: IOException
- can not occur but defined for calling methods
- See Also:
- Field
type
public char type()
- Note: type() is deprecated.
use getType
- return the character 'L' indicating a logical Field
- Overrides:
- type in class Field
getType
public char getType()
- return the character 'L' indicating a logical Field
- Overrides:
- getType in class Field
put
public void put(String inValue) throws xBaseJException
- allows input of Y, y, T, t and 1 for true, N, n, F, f, and 0 for false
- Throws: xBaseJException
- most likely a format exception
- Overrides:
- put in class Field
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
- Throws: xBaseJException
- most likely a format exception
put
public void put(boolean inValue)
- allows input true or false
getChar
public char getChar()
- returns T for true and F for false
getBoolean
public boolean getBoolean()
- returns true or false
All Packages Class Hierarchy This Package Previous Next Index