1 package org.opencrx.kernel.address1.cci; 14 15 public class PostalAddressableImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefObject_1 17 implements PostalAddressable { 18 19 public PostalAddressableImpl( 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 java.util.List getPostalAddressLine ( 30 ) { 31 return (java.util.List )this.refGetValue("postalAddressLine"); 32 } 33 public String getPostalAddressLine( 34 int index 35 ) { 36 return (String )this.refGetValue("org:opencrx:kernel:address1:PostalAddressable:postalAddressLine", index); 37 } 38 39 public void setPostalAddressLine( 43 java.util.List newValue 44 ) { 45 refSetValue("org:opencrx:kernel:address1:PostalAddressable:postalAddressLine", newValue); 46 } 47 48 public void setPostalAddressLine( 49 String [] newValue 50 ) { 51 refSetValue("org:opencrx:kernel:address1:PostalAddressable:postalAddressLine", newValue); 52 } 53 54 public String getPostalCity ( 58 ) { 59 return (String )this.refGetValue("postalCity", 0); 60 } 61 public void setPostalCity( 65 String newValue 66 ) { 67 refSetValue("org:opencrx:kernel:address1:PostalAddressable:postalCity", 0, newValue); 68 } 69 70 public String getPostalCode ( 74 ) { 75 return (String )this.refGetValue("postalCode", 0); 76 } 77 public void setPostalCode( 81 String newValue 82 ) { 83 refSetValue("org:opencrx:kernel:address1:PostalAddressable:postalCode", 0, newValue); 84 } 85 86 public short getPostalCountry( 90 ) { 91 return getPostalCountry(0); 92 } 93 94 protected short getPostalCountry( 95 int index 96 ) { 97 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:address1:PostalAddressable:postalCountry", index)).shortValue(); 98 } 99 100 public void setPostalCountry( 104 short newValue 105 ) { 106 setPostalCountry(0, newValue); 107 } 108 109 protected void setPostalCountry( 110 int index, 111 short newValue 112 ) { 113 refSetValue("org:opencrx:kernel:address1:PostalAddressable:postalCountry", index, new Short (newValue)); 114 } 115 public String getPostalCounty ( 119 ) { 120 return (String )this.refGetValue("postalCounty", 0); 121 } 122 public void setPostalCounty( 126 String newValue 127 ) { 128 refSetValue("org:opencrx:kernel:address1:PostalAddressable:postalCounty", 0, newValue); 129 } 130 131 public short getPostalFreightTerms( 135 ) { 136 return getPostalFreightTerms(0); 137 } 138 139 protected short getPostalFreightTerms( 140 int index 141 ) { 142 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:address1:PostalAddressable:postalFreightTerms", index)).shortValue(); 143 } 144 145 public void setPostalFreightTerms( 149 short newValue 150 ) { 151 setPostalFreightTerms(0, newValue); 152 } 153 154 protected void setPostalFreightTerms( 155 int index, 156 short newValue 157 ) { 158 refSetValue("org:opencrx:kernel:address1:PostalAddressable:postalFreightTerms", index, new Short (newValue)); 159 } 160 public java.math.BigDecimal getPostalLatitude ( 164 ) { 165 return (java.math.BigDecimal )this.refGetValue("postalLatitude", 0); 166 } 167 public void setPostalLatitude( 171 java.math.BigDecimal newValue 172 ) { 173 refSetValue("org:opencrx:kernel:address1:PostalAddressable:postalLatitude", 0, newValue); 174 } 175 176 public java.math.BigDecimal getPostalLongitude ( 180 ) { 181 return (java.math.BigDecimal )this.refGetValue("postalLongitude", 0); 182 } 183 public void setPostalLongitude( 187 java.math.BigDecimal newValue 188 ) { 189 refSetValue("org:opencrx:kernel:address1:PostalAddressable:postalLongitude", 0, newValue); 190 } 191 192 public String getPostalState ( 196 ) { 197 return (String )this.refGetValue("postalState", 0); 198 } 199 public void setPostalState( 203 String newValue 204 ) { 205 refSetValue("org:opencrx:kernel:address1:PostalAddressable:postalState", 0, newValue); 206 } 207 208 public java.util.List getPostalStreet ( 212 ) { 213 return (java.util.List )this.refGetValue("postalStreet"); 214 } 215 public String getPostalStreet( 216 int index 217 ) { 218 return (String )this.refGetValue("org:opencrx:kernel:address1:PostalAddressable:postalStreet", index); 219 } 220 221 public void setPostalStreet( 225 java.util.List newValue 226 ) { 227 refSetValue("org:opencrx:kernel:address1:PostalAddressable:postalStreet", newValue); 228 } 229 230 public void setPostalStreet( 231 String [] newValue 232 ) { 233 refSetValue("org:opencrx:kernel:address1:PostalAddressable:postalStreet", newValue); 234 } 235 236 public short getPostalUtcOffset( 240 ) { 241 return getPostalUtcOffset(0); 242 } 243 244 protected short getPostalUtcOffset( 245 int index 246 ) { 247 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:address1:PostalAddressable:postalUtcOffset", index)).shortValue(); 248 } 249 250 public void setPostalUtcOffset( 254 short newValue 255 ) { 256 setPostalUtcOffset(0, newValue); 257 } 258 259 protected void setPostalUtcOffset( 260 int index, 261 short newValue 262 ) { 263 refSetValue("org:opencrx:kernel:address1:PostalAddressable:postalUtcOffset", index, new Short (newValue)); 264 } 265 public org.opencrx.kernel.document1.cci.Media getPicture( 269 ) { 270 return (org.opencrx.kernel.document1.cci.Media)refGetValue( 271 "org:opencrx:kernel:generic:Pictured:picture" 272 ); 273 } 274 275 public void setPicture( 279 org.opencrx.kernel.document1.cci.Media newValue 280 ) { 281 refSetValue( 282 "org:opencrx:kernel:generic:Pictured:picture", 283 newValue 284 ); 285 } 286 287 public void removePicture ( 291 ) { 292 refRemoveValue( 293 "org:opencrx:kernel:generic:Pictured:picture" 294 ); 295 } 296 public byte[] getPictureContent ( 300 ) { 301 return (byte[])this.refGetValue("pictureContent", 0); 302 } 303 protected void setPictureContent( 307 byte[] newValue 308 ) { 309 refSetValue("org:opencrx:kernel:generic:Pictured:pictureContent", 0, newValue); 310 } 311 312 public String getPictureContentMimeType ( 316 ) { 317 return (String )this.refGetValue("pictureContentMimeType", 0); 318 } 319 protected void setPictureContentMimeType( 323 String newValue 324 ) { 325 refSetValue("org:opencrx:kernel:generic:Pictured:pictureContentMimeType", 0, newValue); 326 } 327 328 public String getPictureContentName ( 332 ) { 333 return (String )this.refGetValue("pictureContentName", 0); 334 } 335 protected void setPictureContentName( 339 String newValue 340 ) { 341 refSetValue("org:opencrx:kernel:generic:Pictured:pictureContentName", 0, newValue); 342 } 343 344 } 348 | Popular Tags |