1 package org.opencrx.kernel.building1.cci; 14 15 public class AbstractBuildingUnitImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefObject_1 17 implements AbstractBuildingUnit { 18 19 public AbstractBuildingUnitImpl( 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 getDescription ( 30 ) { 31 return (String )this.refGetValue("description", 0); 32 } 33 public void setDescription( 37 String newValue 38 ) { 39 refSetValue("org:opencrx:kernel:building1:AbstractBuildingUnit:description", 0, newValue); 40 } 41 42 public void setFacility( 46 java.util.List newValue 47 ) { 48 refSetValue("org:opencrx:kernel:building1:AbstractBuildingUnit:facility", newValue); 49 } 50 51 public void setFacility( 52 org.opencrx.kernel.building1.cci.Facility[] newValue 53 ) { 54 refSetValue("org:opencrx:kernel:building1:AbstractBuildingUnit:facility", newValue); 55 } 56 57 public org.opencrx.kernel.building1.cci.Facility getFacility( 61 String id 62 ) { 63 return (org.opencrx.kernel.building1.cci.Facility)refGetValue( 64 "org:opencrx:kernel:building1:AbstractBuildingUnit:facility", 65 id 66 ); 67 } 68 69 public java.util.Collection getFacility( 73 ) { 74 return (java.util.Collection )refGetValue( 75 "org:opencrx:kernel:building1:AbstractBuildingUnit:facility" 76 ); 77 } 78 79 public java.util.List getFacility( 80 org.opencrx.kernel.building1.cci.FacilityFilter filter 81 ) { 82 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 83 "org:opencrx:kernel:building1:AbstractBuildingUnit:facility" 84 )).toList(filter); 85 } 86 87 public void addFacility ( 91 String id, 92 org.opencrx.kernel.building1.cci.Facility newValue 93 ) { 94 refAddValue( 95 "org:opencrx:kernel:building1:AbstractBuildingUnit:facility", 96 id, 97 newValue 98 ); 99 } 100 101 public void addFacility ( 105 org.opencrx.kernel.building1.cci.Facility newValue 106 ) { 107 refAddValue( 108 "org:opencrx:kernel:building1:AbstractBuildingUnit:facility", 109 newValue 110 ); 111 } 112 113 public void removeFacility ( 117 String id 118 ) { 119 refRemoveValue( 120 "org:opencrx:kernel:building1:AbstractBuildingUnit:facility", 121 id 122 ); 123 } 124 125 public String getName( 129 ) { 130 return getName(0); 131 } 132 133 protected String getName( 134 int index 135 ) { 136 return (String )this.refGetValue("org:opencrx:kernel:building1:AbstractBuildingUnit:name", index); 137 } 138 139 public void setName( 143 String newValue 144 ) { 145 setName(0, newValue); 146 } 147 148 protected void setName( 149 int index, 150 String newValue 151 ) { 152 refSetValue("org:opencrx:kernel:building1:AbstractBuildingUnit:name", index, newValue); 153 } 154 public java.math.BigDecimal getSizeInCubicMeter ( 158 ) { 159 return (java.math.BigDecimal )this.refGetValue("sizeInCubicMeter", 0); 160 } 161 public void setSizeInCubicMeter( 165 java.math.BigDecimal newValue 166 ) { 167 refSetValue("org:opencrx:kernel:building1:AbstractBuildingUnit:sizeInCubicMeter", 0, newValue); 168 } 169 170 public java.math.BigDecimal getSizeInSquareMeter ( 174 ) { 175 return (java.math.BigDecimal )this.refGetValue("sizeInSquareMeter", 0); 176 } 177 public void setSizeInSquareMeter( 181 java.math.BigDecimal newValue 182 ) { 183 refSetValue("org:opencrx:kernel:building1:AbstractBuildingUnit:sizeInSquareMeter", 0, newValue); 184 } 185 186 public org.opencrx.kernel.document1.cci.Media getPicture( 190 ) { 191 return (org.opencrx.kernel.document1.cci.Media)refGetValue( 192 "org:opencrx:kernel:generic:Pictured:picture" 193 ); 194 } 195 196 public void setPicture( 200 org.opencrx.kernel.document1.cci.Media newValue 201 ) { 202 refSetValue( 203 "org:opencrx:kernel:generic:Pictured:picture", 204 newValue 205 ); 206 } 207 208 public void removePicture ( 212 ) { 213 refRemoveValue( 214 "org:opencrx:kernel:generic:Pictured:picture" 215 ); 216 } 217 public byte[] getPictureContent ( 221 ) { 222 return (byte[])this.refGetValue("pictureContent", 0); 223 } 224 protected void setPictureContent( 228 byte[] newValue 229 ) { 230 refSetValue("org:opencrx:kernel:generic:Pictured:pictureContent", 0, newValue); 231 } 232 233 public String getPictureContentMimeType ( 237 ) { 238 return (String )this.refGetValue("pictureContentMimeType", 0); 239 } 240 protected void setPictureContentMimeType( 244 String newValue 245 ) { 246 refSetValue("org:opencrx:kernel:generic:Pictured:pictureContentMimeType", 0, newValue); 247 } 248 249 public String getPictureContentName ( 253 ) { 254 return (String )this.refGetValue("pictureContentName", 0); 255 } 256 protected void setPictureContentName( 260 String newValue 261 ) { 262 refSetValue("org:opencrx:kernel:generic:Pictured:pictureContentName", 0, newValue); 263 } 264 265 } 269 | Popular Tags |