org.gnu.pilotlink
Class FTB3TripRecord

java.lang.Object
  extended by org.gnu.pilotlink.Record
      extended by org.gnu.pilotlink.FTB3TripRecord

public class FTB3TripRecord
extends Record


Field Summary
 
Fields inherited from class org.gnu.pilotlink.Record
ARCHIVED, attribs, BUSY, category, DELETED, DIRTY, id, size, SECRET
 
Constructor Summary
FTB3TripRecord(int i, int att, int cat, int sz)
           
FTB3TripRecord(Record r)
           
FTB3TripRecord()
           
 
Method Summary
 java.util.Date getArrivalTime()
           
 byte[] getBuffer()
          Gets the buffer attribute of the Record object
 long getCarID()
           
 long[] getCat()
           
 double[] getCost()
           
 java.lang.String getDestLocation()
           
 long getEndMileage()
           
 double getFuelCost()
           
 double getFuel()
           
 java.lang.String getNote()
           
 java.lang.String getStartLocation()
           
 long getStartMileage()
           
 java.util.Date getStartTime()
           
 double getSum()
           
 boolean isCost()
           
 boolean isPriv()
           
 boolean isStorno()
           
 void setArrivalTime(java.util.Date arrivalTime)
           
 void setBuffer(byte[] buf)
          Sets the buffer attribute of the Record object
 void setCarID(long carID)
           
 void setCat(long[] cat)
           
 void setCost(boolean isCost)
           
 void setCost(double[] cost)
           
 void setDestLocation(java.lang.String destLocation)
           
 void setEndMileage(long endMileage)
           
 void setFuelCost(float fuelCost)
           
 void setFuel(double fuel)
           
 void setNote(java.lang.String note)
           
 void setPriv(boolean priv)
           
 void setStartLocation(java.lang.String startLocation)
           
 void setStartMileage(long startMileage)
           
 void setStartTime(java.util.Date startTime)
           
 void setStorno(boolean storno)
           
 void setSum(double sum)
           
 java.lang.String toString()
           
 
Methods inherited from class org.gnu.pilotlink.Record
getAttribs, getCategory, getDateAt, getDateAt, getDateTimeAt, getDateTimeAt, getDoubleAt, getDoubleLongAt, getId, getIntAt, getIntAt, getLongAt, getSize, getStringAt, getStringAt, isArchived, isBusy, isDeleted, isDirty, isSecret, setArchived, setAttribs, setCategory, setDateAt, setDateTimeAt, setDirty, setDoubleAt, setDoubleLongAt, setId, setIntAt, setLongAt, setSecret, setSize, setStringAt
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notifyAll, notify, wait, wait, wait
 

Constructor Detail

FTB3TripRecord

public FTB3TripRecord()

FTB3TripRecord

public FTB3TripRecord(int i,
                      int att,
                      int cat,
                      int sz)
Parameters:
i -
att -
cat -
sz -

FTB3TripRecord

public FTB3TripRecord(Record r)
Parameters:
r -
Method Detail

getBuffer

public byte[] getBuffer()
Description copied from class: Record
Gets the buffer attribute of the Record object

Specified by:
getBuffer in class Record
Returns:
The buffer value

setBuffer

public void setBuffer(byte[] buf)
Description copied from class: Record
Sets the buffer attribute of the Record object

Specified by:
setBuffer in class Record
Parameters:
buf - The new buffer value

getArrivalTime

public java.util.Date getArrivalTime()
Returns:
Returns the arrivalTime.

setArrivalTime

public void setArrivalTime(java.util.Date arrivalTime)
Parameters:
arrivalTime - The arrivalTime to set.

getCarID

public long getCarID()
Returns:
Returns the carID.

setCarID

public void setCarID(long carID)
Parameters:
carID - The carID to set.

getCat

public long[] getCat()
Returns:
Returns the cat.

setCat

public void setCat(long[] cat)
Parameters:
cat - The cat to set.

getCost

public double[] getCost()
Returns:
Returns the cost.

setCost

public void setCost(double[] cost)
Parameters:
cost - The cost to set.

getDestLocation

public java.lang.String getDestLocation()
Returns:
Returns the destLocation.

setDestLocation

public void setDestLocation(java.lang.String destLocation)
Parameters:
destLocation - The destLocation to set.

getEndMileage

public long getEndMileage()
Returns:
Returns the endMileage.

setEndMileage

public void setEndMileage(long endMileage)
Parameters:
endMileage - The endMileage to set.

getFuel

public double getFuel()
Returns:
Returns the fuel.

setFuel

public void setFuel(double fuel)
Parameters:
fuel - The fuel to set.

getFuelCost

public double getFuelCost()
Returns:
Returns the fuelCost.

setFuelCost

public void setFuelCost(float fuelCost)
Parameters:
fuelCost - The fuelCost to set.

isCost

public boolean isCost()
Returns:
Returns the isCost.

setCost

public void setCost(boolean isCost)
Parameters:
isCost - The isCost to set.

getNote

public java.lang.String getNote()
Returns:
Returns the note.

setNote

public void setNote(java.lang.String note)
Parameters:
note - The note to set.

isPriv

public boolean isPriv()
Returns:
Returns the priv.

setPriv

public void setPriv(boolean priv)
Parameters:
priv - The priv to set.

getStartLocation

public java.lang.String getStartLocation()
Returns:
Returns the startLocation.

setStartLocation

public void setStartLocation(java.lang.String startLocation)
Parameters:
startLocation - The startLocation to set.

getStartMileage

public long getStartMileage()
Returns:
Returns the startMileage.

setStartMileage

public void setStartMileage(long startMileage)
Parameters:
startMileage - The startMileage to set.

getStartTime

public java.util.Date getStartTime()
Returns:
Returns the startTime.

setStartTime

public void setStartTime(java.util.Date startTime)
Parameters:
startTime - The startTime to set.

isStorno

public boolean isStorno()
Returns:
Returns the storno.

setStorno

public void setStorno(boolean storno)
Parameters:
storno - The storno to set.

getSum

public double getSum()
Returns:
Returns the sum.

setSum

public void setSum(double sum)
Parameters:
sum - The sum to set.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object