org.nakedobjects.example.expenses
Class Employee
java.lang.Object
java.util.Observable
org.nakedobjects.object.AbstractNakedObject
org.nakedobjects.example.expenses.Employee
- All Implemented Interfaces:
- java.io.Externalizable, Naked, NakedObject, java.io.Serializable
- public class Employee
- extends AbstractNakedObject
- See Also:
- Serialized Form
| Methods inherited from class org.nakedobjects.object.AbstractNakedObject |
about, aboutExplorationActionClass, aboutExplorationActionClone, aboutExplorationActionMakePersistent, canClone, contextualTitle, copyObject, 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, 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 |
Employee
public Employee()
fieldOrder
public static java.lang.String fieldOrder()
created
public void created()
- Description copied from class:
AbstractNakedObject
- hook method - fully specified in the interface
- Specified by:
created in interface NakedObject- Overrides:
created in class AbstractNakedObject
associateProjects
public void associateProjects(Project project)
dissociateProjects
public void dissociateProjects(Project project)
getProjects
public InternalCollection getProjects()
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()
toString
public java.lang.String toString()
- Overrides:
toString in class AbstractNakedObject
getFirstName
public TextString getFirstName()
getAccount
public Account getAccount()
setAccount
public void setAccount(Account newAccount)
getSurname
public TextString getSurname()