org.nakedobjects.example.expenses
Class Account

java.lang.Object
  extended byjava.util.Observable
      extended byorg.nakedobjects.object.AbstractNakedObject
          extended byorg.nakedobjects.example.expenses.Account
All Implemented Interfaces:
java.io.Externalizable, Naked, NakedObject, java.io.Serializable

public class Account
extends AbstractNakedObject

See Also:
Serialized Form

Constructor Summary
Account()
           
 
Method Summary
 void actionBalanceAccount()
           
 Payment actionGenerateAdvance()
           
 Money deriveBalance()
           
 TextString getAccountNumber()
           
 InternalCollection getClaims()
           
 InternalCollection getOutStandingClaims()
           
 InternalCollection getPayments()
           
 Title title()
          every Naked Object is required to provide a Title by which it is identified to the end user.
 
Methods inherited from class org.nakedobjects.object.AbstractNakedObject
about, aboutExplorationActionClass, aboutExplorationActionClone, aboutExplorationActionMakePersistent, canClone, contextualTitle, copyObject, created, createInstance, createInstance, createTransientInstance, deleted, destroy, equals, explorationActionClass, explorationActionClone, explorationActionMakePersistent, getClassHelpText, getClassName, getCollectiveName, getFullClassName, getIconName, getIdString, getNakedClass, getObjectHelpText, getObjectStore, getOid, hashCode, iconImage, init, isEmpty, isFinder, isLookupElement, isPersistent, isResolved, isSameAs, isValid, makeFinder, makePersistent, objectChanged, readExternal, resolve, resolve, setChangedAndNotifyObservers, setOid, setResolved, summary, toString, writeExternal
 
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.nakedobjects.object.NakedObject
addObserver, countObservers, deleteObserver, hasChanged
 

Constructor Detail

Account

public Account()
Method Detail

title

public Title title()
Description copied from class: AbstractNakedObject
every Naked Object is required to provide a Title by which it is identified to the end user.

Unless overridden, the String representation of this Title object is available through contextualTitle().

Specified by:
title in interface Naked
Overrides:
title in class AbstractNakedObject
See Also:
AbstractNakedObject.contextualTitle()

deriveBalance

public Money deriveBalance()

getClaims

public InternalCollection getClaims()

getPayments

public InternalCollection getPayments()

getAccountNumber

public TextString getAccountNumber()

getOutStandingClaims

public InternalCollection getOutStandingClaims()

actionBalanceAccount

public void actionBalanceAccount()

actionGenerateAdvance

public Payment actionGenerateAdvance()