1 package org.opencrx.kernel.base.cci; 14 15 public class TemplateEnabledImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefObject_1 17 implements TemplateEnabled { 18 19 public TemplateEnabledImpl( 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.base.cci.TemplateApplyReplacementsResult applyReplacements( 30 org.openmdx.base.cci.Void params 31 ) throws javax.jmi.reflect.RefException { 32 java.util.List args = new java.util.ArrayList (); 33 args.add(params); 34 return (org.opencrx.kernel.base.cci.TemplateApplyReplacementsResult)refInvokeOperation( 35 "org:opencrx:kernel:base:TemplateEnabled:applyReplacements", 36 args 37 ); 38 } 39 40 public org.opencrx.kernel.base.cci.TemplateApplyReplacementsResult applyReplacements( 41 ) throws javax.jmi.reflect.RefException { 42 return applyReplacements( 43 ((org.openmdx.base.cci.basePackage)refOutermostPackage().refPackage("org:openmdx:base")).createVoid( 44 ) 45 ); 46 } 47 48 public org.opencrx.kernel.base.cci.TemplateCreateObjectResult createObject( 52 org.opencrx.kernel.base.cci.TemplateCreateObjectParams params 53 ) throws javax.jmi.reflect.RefException { 54 java.util.List args = new java.util.ArrayList (); 55 args.add(params); 56 return (org.opencrx.kernel.base.cci.TemplateCreateObjectResult)refInvokeOperation( 57 "org:opencrx:kernel:base:TemplateEnabled:createObject", 58 args 59 ); 60 } 61 62 public org.opencrx.kernel.base.cci.TemplateCreateObjectResult createObject( 63 String name 64 ) throws javax.jmi.reflect.RefException { 65 return createObject( 66 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createTemplateCreateObjectParams( 67 name 68 ) 69 ); 70 } 71 72 public org.openmdx.base.cci.Void deleteObject( 76 org.openmdx.base.cci.Void params 77 ) throws javax.jmi.reflect.RefException { 78 java.util.List args = new java.util.ArrayList (); 79 args.add(params); 80 return (org.openmdx.base.cci.Void)refInvokeOperation( 81 "org:opencrx:kernel:base:TemplateEnabled:deleteObject", 82 args 83 ); 84 } 85 86 public org.openmdx.base.cci.Void deleteObject( 87 ) throws javax.jmi.reflect.RefException { 88 return deleteObject( 89 ((org.openmdx.base.cci.basePackage)refOutermostPackage().refPackage("org:openmdx:base")).createVoid( 90 ) 91 ); 92 } 93 94 public Boolean isTemplate ( 98 ) { 99 return (Boolean )this.refGetValue("isTemplate", 0); 100 } 101 public void setTemplate( 105 Boolean newValue 106 ) { 107 refSetValue("org:opencrx:kernel:base:TemplateEnabled:isTemplate", 0, newValue); 108 } 109 110 public void setReplacement( 114 java.util.List newValue 115 ) { 116 refSetValue("org:opencrx:kernel:base:TemplateEnabled:replacement", newValue); 117 } 118 119 public void setReplacement( 120 org.opencrx.kernel.base.cci.TemplateReplacement[] newValue 121 ) { 122 refSetValue("org:opencrx:kernel:base:TemplateEnabled:replacement", newValue); 123 } 124 125 public org.opencrx.kernel.base.cci.TemplateReplacement getReplacement( 129 String id 130 ) { 131 return (org.opencrx.kernel.base.cci.TemplateReplacement)refGetValue( 132 "org:opencrx:kernel:base:TemplateEnabled:replacement", 133 id 134 ); 135 } 136 137 public java.util.Collection getReplacement( 141 ) { 142 return (java.util.Collection )refGetValue( 143 "org:opencrx:kernel:base:TemplateEnabled:replacement" 144 ); 145 } 146 147 public java.util.List getReplacement( 148 org.opencrx.kernel.base.cci.TemplateReplacementFilter filter 149 ) { 150 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 151 "org:opencrx:kernel:base:TemplateEnabled:replacement" 152 )).toList(filter); 153 } 154 155 public void addReplacement ( 159 String id, 160 org.opencrx.kernel.base.cci.TemplateReplacement newValue 161 ) { 162 refAddValue( 163 "org:opencrx:kernel:base:TemplateEnabled:replacement", 164 id, 165 newValue 166 ); 167 } 168 169 public void addReplacement ( 173 org.opencrx.kernel.base.cci.TemplateReplacement newValue 174 ) { 175 refAddValue( 176 "org:opencrx:kernel:base:TemplateEnabled:replacement", 177 newValue 178 ); 179 } 180 181 public void removeReplacement ( 185 String id 186 ) { 187 refRemoveValue( 188 "org:opencrx:kernel:base:TemplateEnabled:replacement", 189 id 190 ); 191 } 192 193 public String getTemplateReferenceFilter( 197 ) { 198 return getTemplateReferenceFilter(0); 199 } 200 201 protected String getTemplateReferenceFilter( 202 int index 203 ) { 204 return (String )this.refGetValue("org:opencrx:kernel:base:TemplateEnabled:templateReferenceFilter", index); 205 } 206 207 public void setTemplateReferenceFilter( 211 String newValue 212 ) { 213 setTemplateReferenceFilter(0, newValue); 214 } 215 216 protected void setTemplateReferenceFilter( 217 int index, 218 String newValue 219 ) { 220 refSetValue("org:opencrx:kernel:base:TemplateEnabled:templateReferenceFilter", index, newValue); 221 } 222 } 226 | Popular Tags |