|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Account
Defines the interface for an account.
| Method Summary | |
|---|---|
long |
deposit(long l)
Deposits into this account. |
AgentIdentifier |
getAgentIdentifier()
Returns the AgentIdentifier of the agent that
this account is bound to. |
long |
getBalance()
Returns the balance of this account. |
long |
retrieve(long l)
Returns the value of this account. |
| Methods inherited from interface net.coalevo.foundation.model.Identifiable |
|---|
getIdentifier |
| Method Detail |
|---|
AgentIdentifier getAgentIdentifier()
AgentIdentifier of the agent that
this account is bound to.
AgentIdentifier instance.long deposit(long l)
l - the increment to be added to the account
long retrieve(long l)
l - the amount to be removed from the account.long getBalance()
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||