| java.lang.Object net.sf.jmoney.model2.ExtendableObject net.sf.jmoney.model2.Account net.sf.jmoney.model2.CapitalAccount net.sf.jmoney.model2.CurrencyAccount net.sf.jmoney.model2.BankAccount
Constructor Summary | |
public | BankAccount(IObjectKey objectKey, ListKey parent, String name, IListManager<CapitalAccount> subAccounts, String abbreviation, String comment, IObjectKey currencyKey, long startBalance, String bank, String accountNumber, Long minBalance, IValues extensionValues) The full constructor for a BankAccount object. | public | BankAccount(IObjectKey objectKey, ListKey parent) The default constructor for a BankAccount object. |
BankAccount | public BankAccount(IObjectKey objectKey, ListKey parent, String name, IListManager<CapitalAccount> subAccounts, String abbreviation, String comment, IObjectKey currencyKey, long startBalance, String bank, String accountNumber, Long minBalance, IValues extensionValues)(Code) | | The full constructor for a BankAccount object. This constructor is called
only be the datastore when loading data from the datastore. The properties
passed to this constructor must be valid because datastores should only pass back
values that were previously saved from a CapitalAccount object. So, for example,
we can be sure that a non-null name and currency are passed to this constructor.
Parameters: name - the name of the account |
BankAccount | public BankAccount(IObjectKey objectKey, ListKey parent)(Code) | | The default constructor for a BankAccount object. This constructor is called
when a new BankAccount object is created. The properties are set to default
values. The list properties are set to empty lists. The parameter list for this
constructor is the same as the full constructor except that there are no parameters
for the scalar properties.
|
getAccountNumber | public String getAccountNumber()(Code) | | the account number of this account. |
getBank | public String getBank()(Code) | | the bank name of this account. |
getExtendablePropertySetId | protected String getExtendablePropertySetId()(Code) | | |
getMinBalance | public Long getMinBalance()(Code) | | the minimal balance of this account. |
setAccountNumber | public void setAccountNumber(String anAccountNumber)(Code) | | Sets the account number of this account.
Parameters: anAccountNumber - the account number |
setBank | public void setBank(String aBank)(Code) | | Parameters: aBank - the name of this account. |
setMinBalance | public void setMinBalance(Long m)(Code) | | Parameters: m - the minimal balance which may be null. |
|
|