All Packages  This Package  Class Hierarchy  Class Search  Index

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

  Summary

public abstract class  Field
     extends java.lang.Object
{
          // Fields 1
     public String Name;

          // Constructors 1
     public Field();

          // 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;
}

xBaseJ - java access to dBase files

Copyright 1997-1999 - American Coders, LTD - Raleigh NC USA

All rights reserved

Currently supports only dBase III format DBF, DBT and NDX files

dBase IV format DBF, DBT, MDX and NDX files

American Coders, Ltd
P. O. Box 97462
Raleigh, NC 27615 USA
1-919-846-2014
http://www.americancoders.com

Version:
1.8.0
Author:
Joe McVerry, American Coders Ltd.


  Cross Reference

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

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





  Fields

· Name

Summary  |  Top
   public String Name


  Constructors

· Field

Summary  |  Top

   public Field() 

creates a Field object. not useful for the abstract Field class

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



  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() 

return 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
String 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