KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > enhydra > pim > business > base > ContactType


1 package org.enhydra.pim.business.base;
2
3 import java.math.BigDecimal JavaDoc;
4 import org.enhydra.pim.business.api.*;
5
6 /**
7  * @author P.Djojic Apr 20, 2005 3:59:36 AM
8  *
9  * TODO ContactType
10  */

11 public class ContactType extends BasePimImpl implements ContactTypeI, java.io.Serializable JavaDoc {
12
13     private String JavaDoc contact_type = null;
14
15     /**
16      * @param contact_type
17      */

18     public ContactType(String JavaDoc contact_type) {
19         super(null);
20         this.contact_type = contact_type;
21     }
22
23     /**
24      * @param handle
25      * @param contact_type
26      */

27     public ContactType(BigDecimal JavaDoc handle, String JavaDoc contact_type) {
28         super(handle);
29         this.contact_type = contact_type;
30     }
31
32     public void clean() {
33         super.clean();
34         this.contact_type = null;
35     }
36
37     /**
38      * Sets Contact_type.
39      *
40      * @param _contact_type
41      * new value.
42      */

43     public void setContact_type(String JavaDoc _contact_type) {
44         contact_type = _contact_type;
45     }
46
47     /**
48      * Return value of Contact_type.
49      *
50      * @return value of Contact_type.
51      */

52     public String JavaDoc getContact_type() {
53         return contact_type;
54     }
55 }
Popular Tags