1 package org.opencrx.kernel.contract1.cci; 14 15 public class AddressContainerImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefObject_1 17 implements AddressContainer { 18 19 public AddressContainerImpl( 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 setAddress( 30 java.util.List newValue 31 ) { 32 refSetValue("org:opencrx:kernel:contract1:AddressContainer:address", newValue); 33 } 34 35 public void setAddress( 36 org.opencrx.kernel.contract1.cci.ContractAddress[] newValue 37 ) { 38 refSetValue("org:opencrx:kernel:contract1:AddressContainer:address", newValue); 39 } 40 41 public org.opencrx.kernel.contract1.cci.ContractAddress getAddress( 45 String id 46 ) { 47 return (org.opencrx.kernel.contract1.cci.ContractAddress)refGetValue( 48 "org:opencrx:kernel:contract1:AddressContainer:address", 49 id 50 ); 51 } 52 53 public java.util.Collection getAddress( 57 ) { 58 return (java.util.Collection )refGetValue( 59 "org:opencrx:kernel:contract1:AddressContainer:address" 60 ); 61 } 62 63 public java.util.List getAddress( 64 org.opencrx.kernel.contract1.cci.ContractAddressFilter filter 65 ) { 66 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 67 "org:opencrx:kernel:contract1:AddressContainer:address" 68 )).toList(filter); 69 } 70 71 public void addAddress ( 75 String id, 76 org.opencrx.kernel.contract1.cci.ContractAddress newValue 77 ) { 78 refAddValue( 79 "org:opencrx:kernel:contract1:AddressContainer:address", 80 id, 81 newValue 82 ); 83 } 84 85 public void addAddress ( 89 org.opencrx.kernel.contract1.cci.ContractAddress newValue 90 ) { 91 refAddValue( 92 "org:opencrx:kernel:contract1:AddressContainer:address", 93 newValue 94 ); 95 } 96 97 public void removeAddress ( 101 String id 102 ) { 103 refRemoveValue( 104 "org:opencrx:kernel:contract1:AddressContainer:address", 105 id 106 ); 107 } 108 109 } 113 | Popular Tags |