public class AccountDataType extends AbstractDataType<AccountDataType>
Modifier and Type | Class and Description |
---|---|
static class |
AccountDataType.Fields |
static class |
AccountDataType.Type |
AbstractDataType.ControlField
Constructor and Description |
---|
AccountDataType(Map<String,String> map) |
Modifier and Type | Method and Description |
---|---|
static AccountDataType |
create(String name,
AccountDataType.Type type_id,
double initial_balance) |
Double |
getCurrentBalance()
Extension of the API to take the deposit - withdrawal values to give
balance.
|
Double |
getDeposit() |
protected Enum<?>[] |
getEditFields() |
protected Enum<?>[] |
getFields() |
protected Enum<?>[] |
getInsertFields() |
Double |
getJiveDeposit() |
Double |
getJiveWithdrawal() |
String |
getName() |
AccountDataType.Type |
getTypeId() |
Double |
getWithdrawal() |
void |
setDeposit(double value) |
void |
setJiveDeposit(Double value) |
void |
setJiveWithdrawal(Double value) |
void |
setName(String name) |
void |
setTypeId(AccountDataType.Type type_id) |
void |
setWithdrawal(Double value) |
addField, equals, getBooleanValue, getDoubleValue, getEditParameters, getFieldsMap, getFieldsToIgnoreInEqualsMethod, getId, getIdParameter, getIdParameter, getInsertParameters, getIntegerValue, getLimitParameter, getLongValue, getNameValuePair, getNonNullValue, getPageParameter, getValue, getValue, getValues, setIntValueFromBooleanString, setValue, toString
protected Enum<?>[] getEditFields()
getEditFields
in class AbstractDataType<AccountDataType>
protected Enum<?>[] getInsertFields()
getInsertFields
in class AbstractDataType<AccountDataType>
public static AccountDataType create(String name, AccountDataType.Type type_id, double initial_balance)
name
- type_id
- initial_balance
- public String getName()
public void setName(String name)
public AccountDataType.Type getTypeId() throws ClearcheckbookException
ClearcheckbookException
public void setTypeId(AccountDataType.Type type_id)
public Double getDeposit()
public void setDeposit(double value)
public Double getWithdrawal()
public Double getCurrentBalance()
public void setWithdrawal(Double value)
public Double getJiveDeposit()
public Double getJiveWithdrawal()
public void setJiveDeposit(Double value)
public void setJiveWithdrawal(Double value)
protected Enum<?>[] getFields()
getFields
in class AbstractDataType<AccountDataType>
Copyright © 2014 Leonard UK Ltd. All rights reserved.