All Packages  This Package  Class Hierarchy  Class Search  Index

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

  Summary

public abstract class  Field
     extends java.lang.Object
     implements java.lang.Cloneable
{
          // Methods 10
     public int decPoint();
     public String get();
     public int getDecimalPositionCount();
     public int getLength();
     public String getName();
     public char getType() throws xBaseJException;
     public int length();
     public String name();
     public void put(String) throws xBaseJException;
     public char type() throws xBaseJException;
}


  Cross Reference

Extended By:
CharField, DateField, LogicalField, MemoField, NumField

Returned By:
DBF.getField(), DBF.getField()





  Methods

· name

Summary  |  Top
   public String name() 
Note: name() is deprecateduse getName

Returns:
String contianing the field name


· getName

Summary  |  Top
   public String getName() 

Returns:
String contianing the field name


· length

Summary  |  Top
   public int length() 
Note: length() is deprecateduse getLength

Returns:
int - the field length


· getLength

Summary  |  Top
   public int getLength() 

Returns:
int - the field length


· type

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

Returns:
char field type
Throws: xBaseJException
undefined field type


· getType

Summary  |  Top
   public char getType()  throws xBaseJException

Returns:
char field type
Throws: xBaseJException
undefined field type


· decPoint

Summary  |  Top
   public int decPoint() 
Note: decPoint() is deprecateduse getDecimalPositionCount

Returns:
int - the number of decimal positions for numeric fields, zero returned otherwise


· getDecimalPositionCount

Summary  |  Top
   public int getDecimalPositionCount() 

Returns:
int - the number of decimal positions for numeric fields, zero returned otherwise


· get

Summary  |  Top
   public String get() 

Returns:
String field contents after any type of read.


· put

Summary  |  Top
   public void put(String inValue)  throws xBaseJException

set field contents, no database updates until a DBF update or write is issued

Parameter Description
inValue value to set

Throws: xBaseJException
value length too long


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