test.ojb.odmg
Class PersonImpl
java.lang.Object
|
+--test.ojb.odmg.PersonImpl
- All Implemented Interfaces:
- Person, java.io.Serializable
- public class PersonImpl
- extends java.lang.Object
- implements Person
- See Also:
- Serialized Form
Constructor Summary |
PersonImpl()
|
PersonImpl(int pId,
java.lang.String pFirstname,
java.lang.String pLastname,
int pMotherId,
int pFatherId)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PersonImpl
public PersonImpl()
PersonImpl
public PersonImpl(int pId,
java.lang.String pFirstname,
java.lang.String pLastname,
int pMotherId,
int pFatherId)
getFirstname
public java.lang.String getFirstname()
- Specified by:
getFirstname
in interface Person
getLastname
public java.lang.String getLastname()
- Specified by:
getLastname
in interface Person
getMother
public Person getMother()
- Specified by:
getMother
in interface Person
getFather
public Person getFather()
- Specified by:
getFather
in interface Person
getChildren
public Person[] getChildren()
- Specified by:
getChildren
in interface Person
setFirstname
public void setFirstname(java.lang.String pFirstname)
- Specified by:
setFirstname
in interface Person
setLastname
public void setLastname(java.lang.String pLastname)
- Specified by:
setLastname
in interface Person
setMother
public void setMother(Person pMother)
- Specified by:
setMother
in interface Person
setFather
public void setFather(Person pFather)
- Specified by:
setFather
in interface Person
setChildren
public void setChildren(Person[] pChildren)
- Specified by:
setChildren
in interface Person
addChild
public void addChild(Person pChild)
- Specified by:
addChild
in interface Person
Authors: Thomas Mahler and others. (C) 2000, 2001.
All rights reserved. Published under the Gnu Public License.
http://objectbridge.sourceforge.net
Version: 0.8.375, 2002-04-04