org.sourceforge.jemm.sample.demo1.model
Class Person
java.lang.Object
org.sourceforge.jemm.sample.demo1.model.Person
- All Implemented Interfaces:
- JEMMObject
public class Person
- extends java.lang.Object
- implements JEMMObject
- Author:
- Paul Keeble
Constructor Summary |
Person(ShadowUserObject jemmOIF)
Generated by the compiler and used internally for creating an object. |
Person(java.lang.String name)
Create a Person instance. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
jemmOIF
protected ShadowUserObject jemmOIF
name
protected java.lang.String name
account
protected Account account
Person
public Person(java.lang.String name)
- Create a Person instance.
- Parameters:
name
- The name of the person.
Person
public Person(ShadowUserObject jemmOIF)
- Generated by the compiler and used internally for creating an object.
- Parameters:
jemmOIF
- The shadow object this object uses to talk to the store.
getName
public java.lang.String getName()
- Return the name of the account holder.
- Returns:
- The account holders name.
setAccount
public void setAccount(Account account)
getAccount
public Account getAccount()
- Return the account referred to by the given index.
- Parameters:
index
- The index of the target account.
- Returns:
- The account at the given index.
Copyright © 2009. All Rights Reserved.