Expense Record for the Palm Expense database.
AIRFARE
public static final byte AIRFARE
The Airfare expense type.
AMEX
public static final byte AMEX
The American Express payment type.
BREAKFAST
public static final byte BREAKFAST
The Breakfast expense type.
BUS
public static final byte BUS
The Bus expense type.
BUSINESS_MEALS
public static final byte BUSINESS_MEALS
The Business Meal expense type.
CAR_RENTAL
public static final byte CAR_RENTAL
The Car Rental expense type.
CASH
public static final byte CASH
The Cash payment type.
CHEQUE
public static final byte CHEQUE
The Cheque payment type.
CREDIT_CARD
public static final byte CREDIT_CARD
The generic Credit Card payment type.
DINNER
public static final byte DINNER
The Dinner expense type.
ENTERTAINMENT
public static final byte ENTERTAINMENT
The Entertainment expense type.
FAX
public static final byte FAX
The fascimilie (fax) expense type.
GAS
public static final byte GAS
The Gasoline expense type.
GIFTS
public static final byte GIFTS
The Gifts expense type.
HOTEL
public static final byte HOTEL
The Hotel expense type.
INCIDENTALS
public static final byte INCIDENTALS
The Incedentals expense type.
LAUNDRY
public static final byte LAUNDRY
The Laundry expense type.
LIMO
public static final byte LIMO
The Limosine expense type.
LODGING
public static final byte LODGING
The Lodging expense type.
LUNCH
public static final byte LUNCH
The Lunch expense type.
MASTERCARD
public static final byte MASTERCARD
The Mastercard payment type.
MILEAGE
public static final byte MILEAGE
The Milage expense type.
OTHER
public static final byte OTHER
The Other expense type.
PARKING
public static final byte PARKING
The Parking expense type.
POSTAGE
public static final byte POSTAGE
The Postage expense type.
PREPAID
public static final byte PREPAID
The prepaid payment type.
SNACK
public static final byte SNACK
The Snack expense type.
SUBWAY
public static final byte SUBWAY
The Subway expense type.
SUPPLIES
public static final byte SUPPLIES
The Supplies expense type.
TAXI
public static final byte TAXI
The Taxi expense type.
TELEPHONE
public static final byte TELEPHONE
The Telephone expense type.
TIPS
public static final byte TIPS
The Tips expense type.
TOLLS
public static final byte TOLLS
The Tolls expense type.
TRAIN
public static final byte TRAIN
The Train expense type.
UNFILED
public static final byte UNFILED
The unspecified/unfiled payment type.
VISA
public static final byte VISA
The Visa payment type.
generateData
protected void generateData()
Generate the raw data block from the existing fields.
- generateData in interface DLPRecord
getCurrencyType
public byte getCurrencyType()
Return the currency type byte data value.
- the currency type used by this record.
getCurrencyTypeAsString
public String getCurrencyTypeAsString()
Return the currency type as a String representation.
- the currency type as a String representation.
getExpenseAmount
public String getExpenseAmount()
Get the expense amount value.
getExpenseAmountAsFloat
public float getExpenseAmountAsFloat()
Get the expense amount as a float value.
- the expense amount as a float value.
getExpenseAttendees
public String getExpenseAttendees()
Get the String representation of the attendees.
- the String representation of the attendees.
getExpenseCity
public String getExpenseCity()
Get the city for this expense record.
- the city for this expense record.
getExpenseDate
public Calendar getExpenseDate()
Get the date of this expense record as a Calendar type.
- the date of this expense record as a Calendar type.
getExpenseNote
public String getExpenseNote()
Get the note associated with this expense record.
- the note associated with this expense record.
getExpenseType
public byte getExpenseType()
Get the expense type of this expense record.
- the expense type of this expense record.
getExpenseTypeAsString
public String getExpenseTypeAsString()
Get the expense type as a String representation.
- the expense type as a String representation.
getExpenseVendor
public String getExpenseVendor()
Get the vendor associated with this expense record as a String value.
- the vendor associated with this expense record as a String value.
getPaymentType
public byte getPaymentType()
Get the payment type for this expense reocrd.
- the payment type for this expense reocrd.
getPaymentTypeAsString
public String getPaymentTypeAsString()
Get the payment type of this expense record as a String representation.
- the payment type of this expense record as a String representation.
setCurrencyType
public void setCurrencyType(byte type)
Set the currency type for this record as a byte value.
type - byte value for the currency type.
setExpenseAmount
public void setExpenseAmount(String s)
Set the expense amount from a String value.
s - String value representation of expense amount.
setExpenseAmount
public void setExpenseAmount(float f)
Set the expense amount from a float value.
f - float value of expense amount.
setExpenseAttendees
public void setExpenseAttendees(String s)
Set the attendees value from a String.
s - String value of attendees.
setExpenseCity
public void setExpenseCity(String s)
Set the city for this expense record.
s - the city for this expense record.
setExpenseDate
public void setExpenseDate(Calendar calendar)
Set the date for this expense record from a Calendar value.
calendar - the date for this expense record from a Calendar value.
setExpenseNote
public void setExpenseNote(String s)
Set the note value for this expense record.
s - the note value for this expense record.
setExpenseType
public void setExpenseType(byte type)
Set the type of this expense record from a byte value.
type - byte value of the expense type.
setExpenseVendor
public void setExpenseVendor(String s)
Set the vendor for this expense record.
s - String value of vendor.
setPaymentType
public void setPaymentType(byte type)
Set the payment type of this expense record from a byte value.
type - byte value of payment type.
toString
public String toString()
Return a human-readable String representation of this expense record.
- toString in interface DLPRecord
- a String representation of this expense record.