1 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 public boolean isAutomaticParsing( 30 ) { 31 return isAutomaticParsing(0); 32 } 33 34 protected boolean isAutomaticParsing( 35 int index 36 ) { 37 return ((Boolean )this.refGetValue("org:opencrx:kernel:address1:PhoneNumberAddressable:automaticParsing", index)).booleanValue(); 38 } 39 40 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 (newValue)); 54 } 55 public String getPhoneCityArea ( 59 ) { 60 return (String )this.refGetValue("phoneCityArea", 0); 61 } 62 public void setPhoneCityArea( 66 String newValue 67 ) { 68 refSetValue("org:opencrx:kernel:address1:PhoneNumberAddressable:phoneCityArea", 0, newValue); 69 } 70 71 public short getPhoneCountryPrefix( 75 ) { 76 return getPhoneCountryPrefix(0); 77 } 78 79 protected short getPhoneCountryPrefix( 80 int index 81 ) { 82 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:address1:PhoneNumberAddressable:phoneCountryPrefix", index)).shortValue(); 83 } 84 85 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 (newValue)); 99 } 100 public String getPhoneExtension ( 104 ) { 105 return (String )this.refGetValue("phoneExtension", 0); 106 } 107 public void setPhoneExtension( 111 String newValue 112 ) { 113 refSetValue("org:opencrx:kernel:address1:PhoneNumberAddressable:phoneExtension", 0, newValue); 114 } 115 116 public String getPhoneLocalNumber ( 120 ) { 121 return (String )this.refGetValue("phoneLocalNumber", 0); 122 } 123 public void setPhoneLocalNumber( 127 String newValue 128 ) { 129 refSetValue("org:opencrx:kernel:address1:PhoneNumberAddressable:phoneLocalNumber", 0, newValue); 130 } 131 132 public String getPhoneNumberFull ( 136 ) { 137 return (String )this.refGetValue("phoneNumberFull", 0); 138 } 139 public void setPhoneNumberFull( 143 String newValue 144 ) { 145 refSetValue("org:opencrx:kernel:address1:PhoneNumberAddressable:phoneNumberFull", 0, newValue); 146 } 147 148 } 152 | Popular Tags |