All Packages  This Package  Class Hierarchy  Class Search  Index

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

  Summary

public class  LogicalField
     extends xBaseJ.Field
{
          // Constructors 1
     public LogicalField(String) throws xBaseJException, IOException;

          // Methods 7
     public boolean getBoolean();
     public char getChar();
     public char getType();
     public void put(boolean);
     public void put(char) throws xBaseJException;
     public void put(String) throws xBaseJException;
     public char type();
}




  Constructors

· LogicalField

Summary  |  Top

   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.

Parameter Description
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



  Methods

· type

Summary  |  Top
   public char type() 
Note: type() is deprecateduse getType

return the character 'L' indicating a logical Field

Overrides:
type in class Field


· getType

Summary  |  Top
   public char getType() 

return the character 'L' indicating a logical Field

Overrides:
getType in class Field


· put

Summary  |  Top
   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

Summary  |  Top
   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

Summary  |  Top
   public void put(boolean inValue) 

allows input true or false



· getChar

Summary  |  Top
   public char getChar() 

returns T for true and F for false



· getBoolean

Summary  |  Top
   public boolean getBoolean() 

returns true or false



All Packages  This Package  Class Hierarchy  Class Search  Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7