1 package org.opencrx.kernel.base.cci; 14 15 public class DateTimeReplacementClassImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefClass_1 17 implements DateTimeReplacementClass { 18 19 public DateTimeReplacementClassImpl( 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:opencrx:kernel:base:DateTimeReplacement"; 28 } 29 30 public DateTimeReplacement getDateTimeReplacement( 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 DateTimeReplacement target = (DateTimeReplacement)refCreateInstance( 38 args 39 ); 40 return target; 41 } else { 42 return (DateTimeReplacement)((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 DateTimeReplacement createDateTimeReplacement( 55 ) { 56 DateTimeReplacement target = (DateTimeReplacement)refCreateInstance( 57 null 58 ); 59 return target; 60 } 61 public DateTimeReplacement createDateTimeReplacement( 65 java.util.Date newDateTime 66 , short accessLevelBrowse 67 , short accessLevelDelete 68 , short accessLevelUpdate 69 ) { 70 DateTimeReplacementImpl _object = (DateTimeReplacementImpl)createDateTimeReplacement(); 71 _object.setNewDateTime(newDateTime); 72 _object.setAccessLevelBrowse(accessLevelBrowse); 73 _object.setAccessLevelDelete(accessLevelDelete); 74 _object.setAccessLevelUpdate(accessLevelUpdate); 75 return _object; 76 } 77 78 public DateTimeReplacement extendSecureObject( 82 org.opencrx.kernel.base.cci.SecureObject _base 83 , java.util.Date newDateTime 84 ) { 85 DateTimeReplacementImpl _object = (DateTimeReplacementImpl)getDateTimeReplacement(_base); 86 _object.setNewDateTime(newDateTime); 87 return _object; 88 } 89 90 public DateTimeReplacement extendTemplateReplacement( 94 org.opencrx.kernel.base.cci.TemplateReplacement _base 95 , java.util.Date newDateTime 96 ) { 97 DateTimeReplacementImpl _object = (DateTimeReplacementImpl)getDateTimeReplacement(_base); 98 _object.setNewDateTime(newDateTime); 99 return _object; 100 } 101 102 public DateTimeReplacement extendBasicObject( 106 org.openmdx.base.cci.BasicObject _base 107 , java.util.Date newDateTime 108 , short accessLevelBrowse 109 , short accessLevelDelete 110 , short accessLevelUpdate 111 ) { 112 DateTimeReplacementImpl _object = (DateTimeReplacementImpl)getDateTimeReplacement(_base); 113 _object.setNewDateTime(newDateTime); 114 _object.setAccessLevelBrowse(accessLevelBrowse); 115 _object.setAccessLevelDelete(accessLevelDelete); 116 _object.setAccessLevelUpdate(accessLevelUpdate); 117 return _object; 118 } 119 120 public DateTimeReplacement extendContextCapable( 124 org.openmdx.base.cci.ContextCapable _base 125 , java.util.Date newDateTime 126 , short accessLevelBrowse 127 , short accessLevelDelete 128 , short accessLevelUpdate 129 ) { 130 DateTimeReplacementImpl _object = (DateTimeReplacementImpl)getDateTimeReplacement(_base); 131 _object.setNewDateTime(newDateTime); 132 _object.setAccessLevelBrowse(accessLevelBrowse); 133 _object.setAccessLevelDelete(accessLevelDelete); 134 _object.setAccessLevelUpdate(accessLevelUpdate); 135 return _object; 136 } 137 138 public DateTimeReplacement extendExtentCapable( 142 org.openmdx.base.cci.ExtentCapable _base 143 , java.util.Date newDateTime 144 , short accessLevelBrowse 145 , short accessLevelDelete 146 , short accessLevelUpdate 147 ) { 148 DateTimeReplacementImpl _object = (DateTimeReplacementImpl)getDateTimeReplacement(_base); 149 _object.setNewDateTime(newDateTime); 150 _object.setAccessLevelBrowse(accessLevelBrowse); 151 _object.setAccessLevelDelete(accessLevelDelete); 152 _object.setAccessLevelUpdate(accessLevelUpdate); 153 return _object; 154 } 155 156 public DateTimeReplacement extendViewCapable( 160 org.openmdx.compatibility.view1.cci.ViewCapable _base 161 , java.util.Date newDateTime 162 , short accessLevelBrowse 163 , short accessLevelDelete 164 , short accessLevelUpdate 165 ) { 166 DateTimeReplacementImpl _object = (DateTimeReplacementImpl)getDateTimeReplacement(_base); 167 _object.setNewDateTime(newDateTime); 168 _object.setAccessLevelBrowse(accessLevelBrowse); 169 _object.setAccessLevelDelete(accessLevelDelete); 170 _object.setAccessLevelUpdate(accessLevelUpdate); 171 return _object; 172 } 173 174 } 178 | Popular Tags |