dbfeditor.data
Class DBFField

java.lang.Object
  extended by dbfeditor.data.DBFField

public class DBFField
extends java.lang.Object

DBFField - This type of object would store information about a particular columns, like what type of data will be stored there.

Author:
Richard McKenna

Constructor Summary
DBFField()
           
 
Method Summary
 int getDisplacement()
          This method gets the displacement.
 byte getFlags()
          This method returns the flags.
 int getLength()
          This method returns the length of the file.
 java.lang.String getName()
          This method returns the name of the file.
 int getNext()
          This method returns the next.
 int getNumberOfDecimalPlaces()
          This method returns the number of decimal places.
 long getReservedData()
          This method returns the reserved data.
 int getStep()
          This method returns the step.
 DBFFieldType getType()
          This method returns the type.
 void setDisplacement(int initDisplacement)
          This method sets the displacement to the new input value.
 void setFlags(byte initFlags)
          This method sets the flags to the new input value.
 void setLength(int initLength)
          This method sets the length to the new input value.
 void setName(java.lang.String initName)
          This method sets the name to the new input value.
 void setNext(int initNext)
          This method sets the next to the new input value.
 void setNumberOfDecimalPlaces(int initNODP)
          This method sets the number of decimal places to the new input value.
 void setReservedData(long initRD)
          This method sets the reserved data to the new input value.
 void setStep(int initStep)
          This method sets the step to the new input value.
 void setType(DBFFieldType initType)
          This method sets the type to the new input value.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DBFField

public DBFField()
Method Detail

getDisplacement

public int getDisplacement()
This method gets the displacement.

Returns:
The value of the displacement.

getFlags

public byte getFlags()
This method returns the flags.

Returns:
The byte value of the flags.

getLength

public int getLength()
This method returns the length of the file.

Returns:
The length of the file.

getName

public java.lang.String getName()
This method returns the name of the file.

Returns:
The name of the file.

getNext

public int getNext()
This method returns the next.

Returns:
Value of the next.

getNumberOfDecimalPlaces

public int getNumberOfDecimalPlaces()
This method returns the number of decimal places.

Returns:
Number of decimal places.

getReservedData

public long getReservedData()
This method returns the reserved data.

Returns:
The value of the reserved data.

getStep

public int getStep()
This method returns the step.

Returns:
The value of the step.

getType

public DBFFieldType getType()
This method returns the type.

Returns:
What type the file is.

setDisplacement

public void setDisplacement(int initDisplacement)
This method sets the displacement to the new input value.

Parameters:
initDisplacement - The new displacement value.

setFlags

public void setFlags(byte initFlags)
This method sets the flags to the new input value.

Parameters:
initFlags - The new flags value.

setLength

public void setLength(int initLength)
This method sets the length to the new input value.

Parameters:
initLength - The new length value.

setName

public void setName(java.lang.String initName)
This method sets the name to the new input value.

Parameters:
initName - The new name.

setNext

public void setNext(int initNext)
This method sets the next to the new input value.

Parameters:
initNext - the new next value.

setNumberOfDecimalPlaces

public void setNumberOfDecimalPlaces(int initNODP)
This method sets the number of decimal places to the new input value.

Parameters:
initNODP - The new number of decimal places.

setReservedData

public void setReservedData(long initRD)
This method sets the reserved data to the new input value.

Parameters:
initRD - The new reserved data value.

setStep

public void setStep(int initStep)
This method sets the step to the new input value.

Parameters:
initStep - The new step value.

setType

public void setType(DBFFieldType initType)
This method sets the type to the new input value.

Parameters:
initType - The new type.