KickJava   Java API By Example, From Geeks To Geeks.

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


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 PhoneNumberAddressableImpl
16   extends org.openmdx.base.accessor.jmi.spi.RefObject_1
17   implements PhoneNumberAddressable {
18
19   public PhoneNumberAddressableImpl(
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/ImplAttributeGet1_1
28
// ----------------------------------------------------------------------------
29
public boolean isAutomaticParsing(
30   ) {
31     return isAutomaticParsing(0);
32   }
33
34   protected boolean isAutomaticParsing(
35     int index
36   ) {
37     return ((Boolean JavaDoc)this.refGetValue("org:opencrx:kernel:address1:PhoneNumberAddressable:automaticParsing", index)).booleanValue();
38   }
39
40 // ----------------------------------------------------------------------------
41
// Instance/ImplAttributeSet1_1
42
// ----------------------------------------------------------------------------
43
public void setAutomaticParsing(
44     boolean newValue
45   ) {
46     setAutomaticParsing(0, newValue);
47   }
48
49   protected void setAutomaticParsing(
50     int index,
51     boolean newValue
52   ) {
53     refSetValue("org:opencrx:kernel:address1:PhoneNumberAddressable:automaticParsing", index, new Boolean JavaDoc(newValue));
54   }
55 // ----------------------------------------------------------------------------
56
// Instance/ImplAttributeGet0_1
57
// ----------------------------------------------------------------------------
58
public String JavaDoc getPhoneCityArea (
59   ) {
60     return (String JavaDoc)this.refGetValue("phoneCityArea", 0);
61   }
62 // ----------------------------------------------------------------------------
63
// Instance/ImplAttributeSet0_1
64
// ----------------------------------------------------------------------------
65
public void setPhoneCityArea(
66     String JavaDoc newValue
67   ) {
68     refSetValue("org:opencrx:kernel:address1:PhoneNumberAddressable:phoneCityArea", 0, newValue);
69   }
70
71 // ----------------------------------------------------------------------------
72
// Instance/ImplAttributeGet1_1
73
// ----------------------------------------------------------------------------
74
public short getPhoneCountryPrefix(
75   ) {
76     return getPhoneCountryPrefix(0);
77   }
78
79   protected short getPhoneCountryPrefix(
80     int index
81   ) {
82     return ((java.lang.Number JavaDoc)this.refGetValue("org:opencrx:kernel:address1:PhoneNumberAddressable:phoneCountryPrefix", index)).shortValue();
83   }
84
85 // ----------------------------------------------------------------------------
86
// Instance/ImplAttributeSet1_1
87
// ----------------------------------------------------------------------------
88
public void setPhoneCountryPrefix(
89     short newValue
90   ) {
91     setPhoneCountryPrefix(0, newValue);
92   }
93
94   protected void setPhoneCountryPrefix(
95     int index,
96     short newValue
97   ) {
98     refSetValue("org:opencrx:kernel:address1:PhoneNumberAddressable:phoneCountryPrefix", index, new Short JavaDoc(newValue));
99   }
100 // ----------------------------------------------------------------------------
101
// Instance/ImplAttributeGet0_1
102
// ----------------------------------------------------------------------------
103
public String JavaDoc getPhoneExtension (
104   ) {
105     return (String JavaDoc)this.refGetValue("phoneExtension", 0);
106   }
107 // ----------------------------------------------------------------------------
108
// Instance/ImplAttributeSet0_1
109
// ----------------------------------------------------------------------------
110
public void setPhoneExtension(
111     String JavaDoc newValue
112   ) {
113     refSetValue("org:opencrx:kernel:address1:PhoneNumberAddressable:phoneExtension", 0, newValue);
114   }
115
116 // ----------------------------------------------------------------------------
117
// Instance/ImplAttributeGet0_1
118
// ----------------------------------------------------------------------------
119
public String JavaDoc getPhoneLocalNumber (
120   ) {
121     return (String JavaDoc)this.refGetValue("phoneLocalNumber", 0);
122   }
123 // ----------------------------------------------------------------------------
124
// Instance/ImplAttributeSet0_1
125
// ----------------------------------------------------------------------------
126
public void setPhoneLocalNumber(
127     String JavaDoc newValue
128   ) {
129     refSetValue("org:opencrx:kernel:address1:PhoneNumberAddressable:phoneLocalNumber", 0, newValue);
130   }
131
132 // ----------------------------------------------------------------------------
133
// Instance/ImplAttributeGet0_1
134
// ----------------------------------------------------------------------------
135
public String JavaDoc getPhoneNumberFull (
136   ) {
137     return (String JavaDoc)this.refGetValue("phoneNumberFull", 0);
138   }
139 // ----------------------------------------------------------------------------
140
// Instance/ImplAttributeSet0_1
141
// ----------------------------------------------------------------------------
142
public void setPhoneNumberFull(
143     String JavaDoc newValue
144   ) {
145     refSetValue("org:opencrx:kernel:address1:PhoneNumberAddressable:phoneNumberFull", 0, newValue);
146   }
147
148 // ----------------------------------------------------------------------------
149
// Instance/ImplEnd
150
// ----------------------------------------------------------------------------
151
}
152
Popular Tags