public class TransactionDataType extends AbstractDataType<TransactionDataType>
Modifier and Type | Class and Description |
---|---|
static class |
TransactionDataType.Fields
This holds the output fields
|
static class |
TransactionDataType.NonoutputFields |
static class |
TransactionDataType.Type |
AbstractDataType.ControlField
Constructor and Description |
---|
TransactionDataType(Map<String,String> map) |
TransactionDataType(TransactionDataType original) |
Modifier and Type | Method and Description |
---|---|
static TransactionDataType |
create(Long id,
String date,
double amount,
long accountId,
long categoryId,
String description,
boolean jive,
long fromAccountId,
long toAccountId,
String checkNum,
String memo,
String payee)
Version with id field.
|
static TransactionDataType |
create(String date,
Double amount,
Long accountId,
Long categoryId,
String description,
Boolean jive,
Long fromAccountId,
Long toAccountId,
String checkNum,
String memo,
String payee) |
Long |
getAccountId() |
Double |
getAmount() |
Long |
getCategoryId() |
String |
getCheckNum() |
String |
getDate() |
String |
getDescription() |
protected Enum<?>[] |
getEditFields() |
protected Enum<?>[] |
getFields() |
static Enum<?>[] |
getFileFields() |
Long |
getFromAccountId() |
protected Enum<?>[] |
getInsertFields() |
Boolean |
getJive() |
String |
getMemo() |
String |
getPayee() |
Long |
getToAccount() |
TransactionDataType.Type |
getTransactionType() |
String[] |
getValues() |
void |
markToBeDeleted() |
void |
setAccountId(Long string) |
void |
setAmount(Double amount) |
void |
setCategoryId(Long string) |
void |
setCheckNum(String string) |
void |
setDate(String string) |
void |
setDescription(String string) |
void |
setFromAccountId(Long fromAccountId) |
void |
setJive(Boolean jive) |
void |
setMemo(String string) |
void |
setPayee(String valString) |
void |
setToAccountId(Long toAccountId) |
void |
setTransactionType(TransactionDataType.Type transactionType) |
addField, equals, getBooleanValue, getDoubleValue, getEditParameters, getFieldsMap, getFieldsToIgnoreInEqualsMethod, getId, getIdParameter, getIdParameter, getInsertParameters, getIntegerValue, getLimitParameter, getLongValue, getNameValuePair, getNonNullValue, getPageParameter, getValue, getValue, setIntValueFromBooleanString, setValue, toString
public TransactionDataType(TransactionDataType original)
public TransactionDataType(Map<String,String> map) throws ClearcheckbookException
ClearcheckbookException
protected Enum<?>[] getFields()
getFields
in class AbstractDataType<TransactionDataType>
public static Enum<?>[] getFileFields()
public String[] getValues() throws ClearcheckbookException
getValues
in class AbstractDataType<TransactionDataType>
ClearcheckbookException
public static TransactionDataType create(Long id, String date, double amount, long accountId, long categoryId, String description, boolean jive, long fromAccountId, long toAccountId, String checkNum, String memo, String payee)
id
- date
- amount
- transactionType
- accountId
- categoryId
- description
- jive
- fromAccountId
- toAccountId
- checkNum
- memo
- payee
- public static TransactionDataType create(String date, Double amount, Long accountId, Long categoryId, String description, Boolean jive, Long fromAccountId, Long toAccountId, String checkNum, String memo, String payee)
public Long getAccountId()
public Double getAmount()
public Long getCategoryId()
public String getCheckNum()
public String getDate()
public String getDescription()
protected Enum<?>[] getEditFields()
getEditFields
in class AbstractDataType<TransactionDataType>
public Long getFromAccountId()
protected Enum<?>[] getInsertFields()
getInsertFields
in class AbstractDataType<TransactionDataType>
public Boolean getJive()
public String getMemo()
public String getPayee()
public Long getToAccount()
public TransactionDataType.Type getTransactionType() throws ClearcheckbookException
ClearcheckbookException
public void setAccountId(Long string)
public void setAmount(Double amount)
public void setCategoryId(Long string)
public void setCheckNum(String string)
public void setDate(String string)
public void setDescription(String string)
public void setFromAccountId(Long fromAccountId)
public void setJive(Boolean jive)
public void setMemo(String string)
public void setPayee(String valString)
public void setToAccountId(Long toAccountId)
public void setTransactionType(TransactionDataType.Type transactionType)
public void markToBeDeleted()
Copyright © 2014 Leonard UK Ltd. All rights reserved.