1 package org.openmdx.filter1.cci; 14 15 public class BooleanPropertyClassImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefClass_1 17 implements BooleanPropertyClass { 18 19 public BooleanPropertyClassImpl( 20 org.openmdx.base.accessor.jmi.cci.RefPackage_1_0 refPackage 21 ) { 22 super(refPackage); 23 } 24 25 public String refMofId( 26 ) { 27 return "org:openmdx:filter1:BooleanProperty"; 28 } 29 30 public BooleanProperty getBooleanProperty( 31 Object object 32 ) { 33 try { 34 if(object instanceof org.openmdx.base.accessor.jmi.cci.RefObject_1_0) { 35 java.util.List args = new java.util.ArrayList (); 36 args.add(object); 37 BooleanProperty target = (BooleanProperty)refCreateInstance( 38 args 39 ); 40 return target; 41 } else { 42 return (BooleanProperty)((org.openmdx.base.accessor.jmi.cci.RefPackage_1_0)this.refOutermostPackage()).refObject( 43 object instanceof org.openmdx.compatibility.base.naming.Path 44 ? ((org.openmdx.compatibility.base.naming.Path)object).toXri() 45 : ((org.openmdx.base.accessor.generic.cci.Object_1_0)object).objGetPath().toXri() 46 ); 47 } 48 } 49 catch(org.openmdx.base.exception.ServiceException e) { 50 throw new org.openmdx.base.accessor.jmi.cci.JmiServiceException(e); 51 } 52 } 53 54 public BooleanProperty createBooleanProperty( 55 ) { 56 BooleanProperty target = (BooleanProperty)refCreateInstance( 57 null 58 ); 59 return target; 60 } 61 public BooleanProperty createBooleanProperty( 65 short operator 66 , short quantor 67 ) { 68 BooleanPropertyImpl _object = (BooleanPropertyImpl)createBooleanProperty(); 69 _object.setOperator(operator); 70 _object.setQuantor(quantor); 71 return _object; 72 } 73 74 } 78 | Popular Tags |