1 package org.opencrx.kernel.depot1.cci; 14 15 public class EMailAddressClassImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefClass_1 17 implements EMailAddressClass { 18 19 public EMailAddressClassImpl( 20 org.openmdx.base.accessor.jmi.cci.RefPackage_1_0 refPackage 21 ) { 22 super(refPackage); 23 } 24 25 public String refMofId( 26 ) { 27 return "org:opencrx:kernel:depot1:EMailAddress"; 28 } 29 30 public EMailAddress getEMailAddress( 31 Object object 32 ) { 33 try { 34 if(object instanceof org.openmdx.base.accessor.jmi.cci.RefObject_1_0) { 35 java.util.List args = new java.util.ArrayList (); 36 args.add(object); 37 EMailAddress target = (EMailAddress)refCreateInstance( 38 args 39 ); 40 return target; 41 } else { 42 return (EMailAddress)((org.openmdx.base.accessor.jmi.cci.RefPackage_1_0)this.refOutermostPackage()).refObject( 43 object instanceof org.openmdx.compatibility.base.naming.Path 44 ? ((org.openmdx.compatibility.base.naming.Path)object).toXri() 45 : ((org.openmdx.base.accessor.generic.cci.Object_1_0)object).objGetPath().toXri() 46 ); 47 } 48 } 49 catch(org.openmdx.base.exception.ServiceException e) { 50 throw new org.openmdx.base.accessor.jmi.cci.JmiServiceException(e); 51 } 52 } 53 54 public EMailAddress createEMailAddress( 55 ) { 56 EMailAddress target = (EMailAddress)refCreateInstance( 57 null 58 ); 59 return target; 60 } 61 public EMailAddress createEMailAddress( 65 short emailFormat 66 , short emailType 67 , short accessLevelBrowse 68 , short accessLevelDelete 69 , short accessLevelUpdate 70 ) { 71 EMailAddressImpl _object = (EMailAddressImpl)createEMailAddress(); 72 _object.setEmailFormat(emailFormat); 73 _object.setEmailType(emailType); 74 _object.setAccessLevelBrowse(accessLevelBrowse); 75 _object.setAccessLevelDelete(accessLevelDelete); 76 _object.setAccessLevelUpdate(accessLevelUpdate); 77 return _object; 78 } 79 80 public EMailAddress extendEMailAddressable( 84 org.opencrx.kernel.address1.cci.EMailAddressable _base 85 , short accessLevelBrowse 86 , short accessLevelDelete 87 , short accessLevelUpdate 88 ) { 89 EMailAddressImpl _object = (EMailAddressImpl)getEMailAddress(_base); 90 _object.setAccessLevelBrowse(accessLevelBrowse); 91 _object.setAccessLevelDelete(accessLevelDelete); 92 _object.setAccessLevelUpdate(accessLevelUpdate); 93 return _object; 94 } 95 96 public EMailAddress extendSecureObject( 100 org.opencrx.kernel.base.cci.SecureObject _base 101 , short emailFormat 102 , short emailType 103 ) { 104 EMailAddressImpl _object = (EMailAddressImpl)getEMailAddress(_base); 105 _object.setEmailFormat(emailFormat); 106 _object.setEmailType(emailType); 107 return _object; 108 } 109 110 public EMailAddress extendDepotAddress( 114 org.opencrx.kernel.depot1.cci.DepotAddress _base 115 , short emailFormat 116 , short emailType 117 ) { 118 EMailAddressImpl _object = (EMailAddressImpl)getEMailAddress(_base); 119 _object.setEmailFormat(emailFormat); 120 _object.setEmailType(emailType); 121 return _object; 122 } 123 124 public EMailAddress extendBasicObject( 128 org.openmdx.base.cci.BasicObject _base 129 , short emailFormat 130 , short emailType 131 , short accessLevelBrowse 132 , short accessLevelDelete 133 , short accessLevelUpdate 134 ) { 135 EMailAddressImpl _object = (EMailAddressImpl)getEMailAddress(_base); 136 _object.setEmailFormat(emailFormat); 137 _object.setEmailType(emailType); 138 _object.setAccessLevelBrowse(accessLevelBrowse); 139 _object.setAccessLevelDelete(accessLevelDelete); 140 _object.setAccessLevelUpdate(accessLevelUpdate); 141 return _object; 142 } 143 144 public EMailAddress extendContextCapable( 148 org.openmdx.base.cci.ContextCapable _base 149 , short emailFormat 150 , short emailType 151 , short accessLevelBrowse 152 , short accessLevelDelete 153 , short accessLevelUpdate 154 ) { 155 EMailAddressImpl _object = (EMailAddressImpl)getEMailAddress(_base); 156 _object.setEmailFormat(emailFormat); 157 _object.setEmailType(emailType); 158 _object.setAccessLevelBrowse(accessLevelBrowse); 159 _object.setAccessLevelDelete(accessLevelDelete); 160 _object.setAccessLevelUpdate(accessLevelUpdate); 161 return _object; 162 } 163 164 public EMailAddress extendExtentCapable( 168 org.openmdx.base.cci.ExtentCapable _base 169 , short emailFormat 170 , short emailType 171 , short accessLevelBrowse 172 , short accessLevelDelete 173 , short accessLevelUpdate 174 ) { 175 EMailAddressImpl _object = (EMailAddressImpl)getEMailAddress(_base); 176 _object.setEmailFormat(emailFormat); 177 _object.setEmailType(emailType); 178 _object.setAccessLevelBrowse(accessLevelBrowse); 179 _object.setAccessLevelDelete(accessLevelDelete); 180 _object.setAccessLevelUpdate(accessLevelUpdate); 181 return _object; 182 } 183 184 public EMailAddress extendViewCapable( 188 org.openmdx.compatibility.view1.cci.ViewCapable _base 189 , short emailFormat 190 , short emailType 191 , short accessLevelBrowse 192 , short accessLevelDelete 193 , short accessLevelUpdate 194 ) { 195 EMailAddressImpl _object = (EMailAddressImpl)getEMailAddress(_base); 196 _object.setEmailFormat(emailFormat); 197 _object.setEmailType(emailType); 198 _object.setAccessLevelBrowse(accessLevelBrowse); 199 _object.setAccessLevelDelete(accessLevelDelete); 200 _object.setAccessLevelUpdate(accessLevelUpdate); 201 return _object; 202 } 203 204 } 208 | Popular Tags |