KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > enhydra > pim > business > api > PersonI


1 package org.enhydra.pim.business.api;
2
3 import java.util.Vector JavaDoc;
4
5 import org.enhydra.pim.exception.EnhydraPimException;
6
7 /**
8  * @author P.Djojic Apr 20, 2005 9:16:23 PM
9  *
10  * TODO PersonI
11  */

12
13 public interface PersonI extends BasePimInterface{
14
15     /**
16      * Sets Firstname column.
17      * @param _firstname new column value.
18      *
19      * @uml.property name="firstname"
20      */

21     public void setFirstname(String JavaDoc _firstname);
22
23     /**
24      * Return value of Firstname column.
25      * @return value of Firstname column.
26      *
27      * @uml.property name="firstname"
28      */

29     public String JavaDoc getFirstname();
30
31     /**
32      * Sets Lastname column.
33      * @param _lastname new column value.
34      *
35      * @uml.property name="lastname"
36      */

37     public void setLastname(String JavaDoc _lastname);
38
39     /**
40      * Return value of Lastname column.
41      * @return value of Lastname column.
42      *
43      * @uml.property name="lastname"
44      */

45     public String JavaDoc getLastname();
46
47     /**
48      * Sets Nicname column.
49      * @param _nicname new column value.
50      *
51      * @uml.property name="nicname"
52      */

53     public void setNicname(String JavaDoc _nicname);
54
55     /**
56      * Return value of Nicname column.
57      * @return value of Nicname column.
58      *
59      * @uml.property name="nicname"
60      */

61     public String JavaDoc getNicname();
62
63     /**
64      * Sets Note.
65      * @param _note new value.
66      *
67      * @uml.property name="note"
68      */

69     public void setNote(String JavaDoc _note);
70
71     /**
72      * Return value of Note.
73      * @return value of Note.
74      *
75      * @uml.property name="note"
76      */

77     public String JavaDoc getNote();
78
79     /**
80      * Sets Owner.
81      * @param _owner new value.
82      *
83      * @uml.property name="owner"
84      */

85     public void setOwner(OwnerI _owner);
86
87     /**
88      * Return value of Owner.
89      * @return value of Owner.
90      *
91      * @uml.property name="owner"
92      * @uml.associationEnd multiplicity="(0 1)"
93      */

94     public OwnerI getOwner();
95
96     
97
98     
99     /**
100      * Returns Person Contacts.
101      * @return Returns User Tasks.
102      * @throws EnhydraPimException
103      */

104     public Vector JavaDoc getContacts() throws EnhydraPimException;
105  
106     
107     /**
108      * Add Person Contact.
109      * @param _contact Person Contact.
110      * @throws EnhydraPimException
111      */

112     public void addContact(ContactI _contact) throws EnhydraPimException;
113     
114     
115     /**
116      * Remove Person Contact.
117      * @param _contact Person Contact.
118      * @throws EnhydraPimException
119      */

120     public void removeContact(ContactI _contact) throws EnhydraPimException;
121     
122 }
Popular Tags