1 package org.opencrx.kernel.address1.cci; 14 15 public class AddressableImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefObject_1 17 implements Addressable { 18 19 public AddressableImpl( 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 org.opencrx.kernel.building1.cci.Building getBuilding( 30 ) { 31 return (org.opencrx.kernel.building1.cci.Building)refGetValue( 32 "org:opencrx:kernel:address1:Addressable:building" 33 ); 34 } 35 36 public void setBuilding( 40 org.opencrx.kernel.building1.cci.Building newValue 41 ) { 42 refSetValue( 43 "org:opencrx:kernel:address1:Addressable:building", 44 newValue 45 ); 46 } 47 48 public void removeBuilding ( 52 ) { 53 refRemoveValue( 54 "org:opencrx:kernel:address1:Addressable:building" 55 ); 56 } 57 public boolean isMain( 61 ) { 62 return isMain(0); 63 } 64 65 protected boolean isMain( 66 int index 67 ) { 68 return ((Boolean )this.refGetValue("org:opencrx:kernel:address1:Addressable:isMain", index)).booleanValue(); 69 } 70 71 public void setMain( 75 boolean newValue 76 ) { 77 setMain(0, newValue); 78 } 79 80 protected void setMain( 81 int index, 82 boolean newValue 83 ) { 84 refSetValue("org:opencrx:kernel:address1:Addressable:isMain", index, new Boolean (newValue)); 85 } 86 public java.util.List getUsage ( 90 ) { 91 return (java.util.List )this.refGetValue("usage"); 92 } 93 public short getUsage( 94 int index 95 ) { 96 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:address1:Addressable:usage", index)).shortValue(); 97 } 98 99 public void setUsage( 103 java.util.List newValue 104 ) { 105 refSetValue("org:opencrx:kernel:address1:Addressable:usage", newValue); 106 } 107 108 public void setUsage( 109 short[] newValue 110 ) { 111 refSetValue("org:opencrx:kernel:address1:Addressable:usage", newValue); 112 } 113 114 } 118 | Popular Tags |