1 package org.opencrx.kernel.account1.cci; 14 15 public class AbstractOrganizationalUnitImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefObject_1 17 implements AbstractOrganizationalUnit { 18 19 public AbstractOrganizationalUnitImpl( 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 void setContactMembership( 30 java.util.List newValue 31 ) { 32 refSetValue("org:opencrx:kernel:account1:AbstractOrganizationalUnit:contactMembership", newValue); 33 } 34 35 public void setContactMembership( 36 org.opencrx.kernel.account1.cci.ContactMembership[] newValue 37 ) { 38 refSetValue("org:opencrx:kernel:account1:AbstractOrganizationalUnit:contactMembership", newValue); 39 } 40 41 public org.opencrx.kernel.account1.cci.ContactMembership getContactMembership( 45 String id 46 ) { 47 return (org.opencrx.kernel.account1.cci.ContactMembership)refGetValue( 48 "org:opencrx:kernel:account1:AbstractOrganizationalUnit:contactMembership", 49 id 50 ); 51 } 52 53 public java.util.Collection getContactMembership( 57 ) { 58 return (java.util.Collection )refGetValue( 59 "org:opencrx:kernel:account1:AbstractOrganizationalUnit:contactMembership" 60 ); 61 } 62 63 public java.util.List getContactMembership( 64 org.opencrx.kernel.account1.cci.ContactMembershipFilter filter 65 ) { 66 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 67 "org:opencrx:kernel:account1:AbstractOrganizationalUnit:contactMembership" 68 )).toList(filter); 69 } 70 71 public void addContactMembership ( 75 String id, 76 org.opencrx.kernel.account1.cci.ContactMembership newValue 77 ) { 78 refAddValue( 79 "org:opencrx:kernel:account1:AbstractOrganizationalUnit:contactMembership", 80 id, 81 newValue 82 ); 83 } 84 85 public void addContactMembership ( 89 org.opencrx.kernel.account1.cci.ContactMembership newValue 90 ) { 91 refAddValue( 92 "org:opencrx:kernel:account1:AbstractOrganizationalUnit:contactMembership", 93 newValue 94 ); 95 } 96 97 public void removeContactMembership ( 101 String id 102 ) { 103 refRemoveValue( 104 "org:opencrx:kernel:account1:AbstractOrganizationalUnit:contactMembership", 105 id 106 ); 107 } 108 109 public void setCreditLimit( 113 java.util.List newValue 114 ) { 115 refSetValue("org:opencrx:kernel:account1:AbstractOrganizationalUnit:creditLimit", newValue); 116 } 117 118 public void setCreditLimit( 119 org.opencrx.kernel.account1.cci.CreditLimit[] newValue 120 ) { 121 refSetValue("org:opencrx:kernel:account1:AbstractOrganizationalUnit:creditLimit", newValue); 122 } 123 124 public org.opencrx.kernel.account1.cci.CreditLimit getCreditLimit( 128 String id 129 ) { 130 return (org.opencrx.kernel.account1.cci.CreditLimit)refGetValue( 131 "org:opencrx:kernel:account1:AbstractOrganizationalUnit:creditLimit", 132 id 133 ); 134 } 135 136 public java.util.Collection getCreditLimit( 140 ) { 141 return (java.util.Collection )refGetValue( 142 "org:opencrx:kernel:account1:AbstractOrganizationalUnit:creditLimit" 143 ); 144 } 145 146 public java.util.List getCreditLimit( 147 org.opencrx.kernel.account1.cci.CreditLimitFilter filter 148 ) { 149 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 150 "org:opencrx:kernel:account1:AbstractOrganizationalUnit:creditLimit" 151 )).toList(filter); 152 } 153 154 public void addCreditLimit ( 158 String id, 159 org.opencrx.kernel.account1.cci.CreditLimit newValue 160 ) { 161 refAddValue( 162 "org:opencrx:kernel:account1:AbstractOrganizationalUnit:creditLimit", 163 id, 164 newValue 165 ); 166 } 167 168 public void addCreditLimit ( 172 org.opencrx.kernel.account1.cci.CreditLimit newValue 173 ) { 174 refAddValue( 175 "org:opencrx:kernel:account1:AbstractOrganizationalUnit:creditLimit", 176 newValue 177 ); 178 } 179 180 public void removeCreditLimit ( 184 String id 185 ) { 186 refRemoveValue( 187 "org:opencrx:kernel:account1:AbstractOrganizationalUnit:creditLimit", 188 id 189 ); 190 } 191 192 public String getDescription ( 196 ) { 197 return (String )this.refGetValue("description", 0); 198 } 199 public void setDescription( 203 String newValue 204 ) { 205 refSetValue("org:opencrx:kernel:account1:AbstractOrganizationalUnit:description", 0, newValue); 206 } 207 208 public String getName( 212 ) { 213 return getName(0); 214 } 215 216 protected String getName( 217 int index 218 ) { 219 return (String )this.refGetValue("org:opencrx:kernel:account1:AbstractOrganizationalUnit:name", index); 220 } 221 222 public void setName( 226 String newValue 227 ) { 228 setName(0, newValue); 229 } 230 231 protected void setName( 232 int index, 233 String newValue 234 ) { 235 refSetValue("org:opencrx:kernel:account1:AbstractOrganizationalUnit:name", index, newValue); 236 } 237 } 241 | Popular Tags |