KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > opencrx > kernel > address1 > cci > EMailAddressableImpl


1 // ----------------------------------------------------------------------------
2
// Instance/ImplBegin
3
// ----------------------------------------------------------------------------
4
//////////////////////////////////////////////////////////////////////////////
5
//
6
// Name: $Id: JMIAbstractMapper.java,v 1.11 2006/01/21 23:09:07 wfro Exp $
7
// Generated by: openMDX JMI Mapper
8
// Date: Mon Apr 03 11:39:06 CEST 2006
9
//
10
// GENERATED - DO NOT CHANGE MANUALLY
11
//
12
//////////////////////////////////////////////////////////////////////////////
13
package org.opencrx.kernel.address1.cci;
14
15 public class EMailAddressableImpl
16   extends org.openmdx.base.accessor.jmi.spi.RefObject_1
17   implements EMailAddressable {
18
19   public EMailAddressableImpl(
20     org.openmdx.base.accessor.generic.cci.Object_1_0 object,
21     javax.jmi.reflect.RefClass refClass
22   ) {
23     super(object, refClass);
24   }
25
26 // ----------------------------------------------------------------------------
27
// Instance/ImplAttributeGet0_1
28
// ----------------------------------------------------------------------------
29
public String JavaDoc getEmailAddress (
30   ) {
31     return (String JavaDoc)this.refGetValue("emailAddress", 0);
32   }
33 // ----------------------------------------------------------------------------
34
// Instance/ImplAttributeSet0_1
35
// ----------------------------------------------------------------------------
36
public void setEmailAddress(
37     String JavaDoc newValue
38   ) {
39     refSetValue("org:opencrx:kernel:address1:EMailAddressable:emailAddress", 0, newValue);
40   }
41
42 // ----------------------------------------------------------------------------
43
// Instance/ImplAttributeGet1_1
44
// ----------------------------------------------------------------------------
45
public short getEmailFormat(
46   ) {
47     return getEmailFormat(0);
48   }
49
50   protected short getEmailFormat(
51     int index
52   ) {
53     return ((java.lang.Number JavaDoc)this.refGetValue("org:opencrx:kernel:address1:EMailAddressable:emailFormat", index)).shortValue();
54   }
55
56 // ----------------------------------------------------------------------------
57
// Instance/ImplAttributeSet1_1
58
// ----------------------------------------------------------------------------
59
public void setEmailFormat(
60     short newValue
61   ) {
62     setEmailFormat(0, newValue);
63   }
64
65   protected void setEmailFormat(
66     int index,
67     short newValue
68   ) {
69     refSetValue("org:opencrx:kernel:address1:EMailAddressable:emailFormat", index, new Short JavaDoc(newValue));
70   }
71 // ----------------------------------------------------------------------------
72
// Instance/ImplAttributeGet1_1
73
// ----------------------------------------------------------------------------
74
public short getEmailType(
75   ) {
76     return getEmailType(0);
77   }
78
79   protected short getEmailType(
80     int index
81   ) {
82     return ((java.lang.Number JavaDoc)this.refGetValue("org:opencrx:kernel:address1:EMailAddressable:emailType", index)).shortValue();
83   }
84
85 // ----------------------------------------------------------------------------
86
// Instance/ImplAttributeSet1_1
87
// ----------------------------------------------------------------------------
88
public void setEmailType(
89     short newValue
90   ) {
91     setEmailType(0, newValue);
92   }
93
94   protected void setEmailType(
95     int index,
96     short newValue
97   ) {
98     refSetValue("org:opencrx:kernel:address1:EMailAddressable:emailType", index, new Short JavaDoc(newValue));
99   }
100 // ----------------------------------------------------------------------------
101
// Instance/ImplEnd
102
// ----------------------------------------------------------------------------
103
}
104
Popular Tags