edu.psu.geovista.db.dbase
Class DBaseFieldDescriptor

java.lang.Object
  extended byedu.psu.geovista.db.dbase.DBaseFieldDescriptor

public class DBaseFieldDescriptor
extends java.lang.Object

DBaseFieldDescriptor holds the information about each "column" or "variable" in a dBase file.

Version:
$Revision: 1.1.1.1 $
Author:
Michael T. Wheeler (mtwheels@psu.edu)

Field Summary
static byte FIELD_TYPE_BOOLEAN
           
static byte FIELD_TYPE_DATE
           
static byte FIELD_TYPE_MEMO
           
static byte FIELD_TYPE_NUMERIC
           
static byte FIELD_TYPE_STRING
           
 
Constructor Summary
DBaseFieldDescriptor(java.lang.Object[] dataSet, byte[] byteArray, int numRecords, int currArrayNum)
           
 
Method Summary
 java.lang.Object getDataArray()
           
 byte getFieldDecimalPlaces()
           
 byte getFieldLength()
           
 java.lang.String getFieldName()
           
 byte getFieldType()
           
 byte getSetFieldsFlag()
           
 void setDataArray(java.lang.Object dataArray)
           
 void setFieldDecimalPlaces(byte fieldDecimalPlaces)
           
 void setFieldLength(byte fieldLength)
           
 void setFieldName(java.lang.String fieldName)
           
 void setFieldType(byte fieldType)
           
 void setSetFieldsFlag(byte setFieldsFlag)
           
 java.lang.String toString()
          Gives info about the object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

FIELD_TYPE_STRING

public static final byte FIELD_TYPE_STRING
See Also:
Constant Field Values

FIELD_TYPE_DATE

public static final byte FIELD_TYPE_DATE
See Also:
Constant Field Values

FIELD_TYPE_NUMERIC

public static final byte FIELD_TYPE_NUMERIC
See Also:
Constant Field Values

FIELD_TYPE_BOOLEAN

public static final byte FIELD_TYPE_BOOLEAN
See Also:
Constant Field Values

FIELD_TYPE_MEMO

public static final byte FIELD_TYPE_MEMO
See Also:
Constant Field Values
Constructor Detail

DBaseFieldDescriptor

public DBaseFieldDescriptor(java.lang.Object[] dataSet,
                            byte[] byteArray,
                            int numRecords,
                            int currArrayNum)
                     throws java.io.IOException
Method Detail

setFieldName

public void setFieldName(java.lang.String fieldName)

getFieldName

public java.lang.String getFieldName()

setFieldType

public void setFieldType(byte fieldType)

getFieldType

public byte getFieldType()

setFieldLength

public void setFieldLength(byte fieldLength)

getFieldLength

public byte getFieldLength()

setFieldDecimalPlaces

public void setFieldDecimalPlaces(byte fieldDecimalPlaces)

getFieldDecimalPlaces

public byte getFieldDecimalPlaces()

setSetFieldsFlag

public void setSetFieldsFlag(byte setFieldsFlag)

getSetFieldsFlag

public byte getSetFieldsFlag()

setDataArray

public void setDataArray(java.lang.Object dataArray)

getDataArray

public java.lang.Object getDataArray()

toString

public java.lang.String toString()
Gives info about the object.



Copyright © 1996-2003 GeoVista Center. All Rights Reserved.