com.ibm.manplato.Protocol.Util.StdApps
Class ExpenseRecord
java.lang.Object
|
+--com.ibm.manplato.Protocol.Util.DLPRecord
|
+--com.ibm.manplato.Protocol.Util.StdApps.ExpenseRecord
- All Implemented Interfaces:
- java.io.Serializable
- public class ExpenseRecord
- extends DLPRecord
- Version:
- $Rev$-$Date: 2001/05/14 10:49:13 $$State: Exp $
- Author:
- File Created By: Brad BARCLAY <bbarclay@ca.ibm.com>, Last Modified By: $Author: fpal $
- See Also:
- Serialized Form
Fields inherited from class com.ibm.manplato.Protocol.Util.DLPRecord |
ARCHIVED, attributes, BUSY, category, data, DATA_INCLUDED, DELETE_ALL_IN_CATEGORY, DELETE_ALL_RECORDS, DELETED, DIRTY, index, recordID, recordSize, SECRET, SORT_DATABASE |
Methods inherited from class com.ibm.manplato.Protocol.Util.DLPRecord |
checkAttribute, getAttributes, getCategory, getIndex, getLength, getRecordID, getRecordSize, setAttributes, setCategory, setData, setIndex, setRecordID, setRecordSize |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AMEX
public static final byte AMEX
CASH
public static final byte CASH
CHEQUE
public static final byte CHEQUE
CREDIT_CARD
public static final byte CREDIT_CARD
MASTERCARD
public static final byte MASTERCARD
PREPAID
public static final byte PREPAID
VISA
public static final byte VISA
UNFILED
public static final byte UNFILED
AIRFARE
public static final byte AIRFARE
BREAKFAST
public static final byte BREAKFAST
BUS
public static final byte BUS
BUSINESS_MEALS
public static final byte BUSINESS_MEALS
CAR_RENTAL
public static final byte CAR_RENTAL
DINNER
public static final byte DINNER
ENTERTAINMENT
public static final byte ENTERTAINMENT
FAX
public static final byte FAX
GAS
public static final byte GAS
GIFTS
public static final byte GIFTS
HOTEL
public static final byte HOTEL
INCIDENTALS
public static final byte INCIDENTALS
LAUNDRY
public static final byte LAUNDRY
LIMO
public static final byte LIMO
LODGING
public static final byte LODGING
LUNCH
public static final byte LUNCH
MILEAGE
public static final byte MILEAGE
OTHER
public static final byte OTHER
PARKING
public static final byte PARKING
POSTAGE
public static final byte POSTAGE
SNACK
public static final byte SNACK
SUBWAY
public static final byte SUBWAY
SUPPLIES
public static final byte SUPPLIES
TAXI
public static final byte TAXI
TELEPHONE
public static final byte TELEPHONE
TIPS
public static final byte TIPS
TOLLS
public static final byte TOLLS
TRAIN
public static final byte TRAIN
ExpenseRecord
public ExpenseRecord()
ExpenseRecord
public ExpenseRecord(DLPRecord record)
- Parameters:
record
- com.ibm.manplato.Protocol.Util.DLPRecord
getCurrencyType
public byte getCurrencyType()
getCurrencyTypeAsString
public java.lang.String getCurrencyTypeAsString()
- Returns:
- java.lang.String
getData
public byte[] getData()
- Overrides:
getData
in class DLPRecord
- Returns:
- byte[]
getAmount
public java.lang.String getAmount()
getAmountAsFloat
public float getAmountAsFloat()
getAttendees
public java.lang.String getAttendees()
getCity
public java.lang.String getCity()
getDate
public java.util.Calendar getDate()
getNote
public java.lang.String getNote()
getType
public byte getType()
getTypeAsString
public java.lang.String getTypeAsString()
- Returns:
- java.lang.String
getVendor
public java.lang.String getVendor()
getPaymentType
public byte getPaymentType()
getPaymentTypeAsString
public java.lang.String getPaymentTypeAsString()
- Returns:
- java.lang.String
setCurrencyType
public void setCurrencyType(byte newCurrencyType)
setAmount
public void setAmount(float newAmount)
setAmount
public void setAmount(java.lang.String newAmount)
setAttendees
public void setAttendees(java.lang.String newAttendees)
setCity
public void setCity(java.lang.String newCity)
setDate
public void setDate(java.util.Calendar newDate)
setNote
public void setNote(java.lang.String newNote)
setType
public void setType(byte newType)
setPaymentType
public void setPaymentType(byte newPaymentType)
setVendor
public void setVendor(java.lang.String newVendor)
toString
public java.lang.String toString()
- Overrides:
toString
in class DLPRecord
- Returns:
- java.lang.String
toString
public java.lang.String toString(ExpenseAppBlock expAppBlock)
- Returns:
- java.lang.String