1 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 public String getEmailAddress ( 30 ) { 31 return (String )this.refGetValue("emailAddress", 0); 32 } 33 public void setEmailAddress( 37 String newValue 38 ) { 39 refSetValue("org:opencrx:kernel:address1:EMailAddressable:emailAddress", 0, newValue); 40 } 41 42 public short getEmailFormat( 46 ) { 47 return getEmailFormat(0); 48 } 49 50 protected short getEmailFormat( 51 int index 52 ) { 53 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:address1:EMailAddressable:emailFormat", index)).shortValue(); 54 } 55 56 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 (newValue)); 70 } 71 public short getEmailType( 75 ) { 76 return getEmailType(0); 77 } 78 79 protected short getEmailType( 80 int index 81 ) { 82 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:address1:EMailAddressable:emailType", index)).shortValue(); 83 } 84 85 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 (newValue)); 99 } 100 } 104 | Popular Tags |