All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class xBaseJ.Client.Field

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

public abstract class Field
extends Object

Variable Index

 o Name

Constructor Index

 o Field()
creates a Field object.

Method Index

 o decPoint()
Deprecated.
 o get()
return String - field contents after any type of read.
 o getDecimalPositionCount()
 o getLength()
 o getName()
 o getType()
 o length()
Deprecated.
 o name()
Deprecated.
 o put(String)
set field contents, no database updates until a DBF update or write is issued
 o type()
Deprecated.

Variables

 o Name
 public String Name

Constructors

 o Field
 public Field()
creates a Field object. not useful for the abstract Field class

See Also:
CharField, DateField, LogicalField, MemoField, NumField

Methods

 o name
 public String name()
Note: name() is deprecated. use getName

Returns:
String contianing the field name
 o getName
 public String getName()
Returns:
String contianing the field name
 o length
 public int length()
Note: length() is deprecated. use getLength

Returns:
int - the field length
 o getLength
 public int getLength()
Returns:
int - the field length
 o type
 public char type() throws xBaseJException
Note: type() is deprecated. use getType

Returns:
char field type
Throws: xBaseJException
undefined field type
 o getType
 public char getType() throws xBaseJException
Returns:
char field type
Throws: xBaseJException
undefined field type
 o decPoint
 public int decPoint()
Note: decPoint() is deprecated. use getDecimalPositionCount

Returns:
int - the number of decimal positions for numeric fields, zero returned otherwise
 o getDecimalPositionCount
 public int getDecimalPositionCount()
Returns:
int - the number of decimal positions for numeric fields, zero returned otherwise
 o get
 public String get()
return String - field contents after any type of read.

 o put
 public void put(String inValue) throws xBaseJException
set field contents, no database updates until a DBF update or write is issued

Parameters:
String - value to set
Throws: xBaseJException
value length too long

All Packages  Class Hierarchy  This Package  Previous  Next  Index