KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > ojb > odmg > shared > Person


1 /*
2  * Created by IntelliJ IDEA.
3  * User: tom
4  * Date: May 28, 2001
5  * Time: 10:30:56 PM
6  * To change template for new interface use
7  * Code Style | Class Templates options (Tools | IDE Options).
8  */

9 package org.apache.ojb.odmg.shared;
10
11 import java.io.Serializable JavaDoc;
12
13 public interface Person extends Serializable JavaDoc
14 {
15     int getId();
16
17     void setId(int id);
18
19     public abstract String JavaDoc getFirstname();
20
21     public abstract String JavaDoc getLastname();
22
23     public abstract Person getMother();
24
25     public abstract Person getFather();
26
27     public abstract Person[] getChildren();
28
29
30     public abstract void setFirstname(String JavaDoc pFirstname);
31
32     public abstract void setLastname(String JavaDoc pLastname);
33
34     public abstract void setMother(Person pMother);
35
36     public abstract void setFather(Person pFather);
37
38     public abstract void setChildren(Person[] pChildren);
39
40     public abstract void addChild(Person pChild);
41 }
42
Popular Tags