1 package org.opencrx.kernel.activity1.cci; 14 15 public class CalendarDayClassImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefClass_1 17 implements CalendarDayClass { 18 19 public CalendarDayClassImpl( 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:activity1:CalendarDay"; 28 } 29 30 public CalendarDay getCalendarDay( 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 CalendarDay target = (CalendarDay)refCreateInstance( 38 args 39 ); 40 return target; 41 } else { 42 return (CalendarDay)((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 CalendarDay createCalendarDay( 55 ) { 56 CalendarDay target = (CalendarDay)refCreateInstance( 57 null 58 ); 59 return target; 60 } 61 public CalendarDay createCalendarDay( 65 org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar dateOfDay 66 , short accessLevelBrowse 67 , short accessLevelDelete 68 , short accessLevelUpdate 69 ) { 70 CalendarDayImpl _object = (CalendarDayImpl)createCalendarDay(); 71 _object.setDateOfDay(dateOfDay); 72 _object.setAccessLevelBrowse(accessLevelBrowse); 73 _object.setAccessLevelDelete(accessLevelDelete); 74 _object.setAccessLevelUpdate(accessLevelUpdate); 75 return _object; 76 } 77 78 public CalendarDay extendWorkingDay( 82 org.opencrx.kernel.activity1.cci.WorkingDay _base 83 , org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar dateOfDay 84 , short accessLevelBrowse 85 , short accessLevelDelete 86 , short accessLevelUpdate 87 ) { 88 CalendarDayImpl _object = (CalendarDayImpl)getCalendarDay(_base); 89 _object.setDateOfDay(dateOfDay); 90 _object.setAccessLevelBrowse(accessLevelBrowse); 91 _object.setAccessLevelDelete(accessLevelDelete); 92 _object.setAccessLevelUpdate(accessLevelUpdate); 93 return _object; 94 } 95 96 public CalendarDay extendSecureObject( 100 org.opencrx.kernel.base.cci.SecureObject _base 101 , org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar dateOfDay 102 ) { 103 CalendarDayImpl _object = (CalendarDayImpl)getCalendarDay(_base); 104 _object.setDateOfDay(dateOfDay); 105 return _object; 106 } 107 108 public CalendarDay extendBasicObject( 112 org.openmdx.base.cci.BasicObject _base 113 , org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar dateOfDay 114 , short accessLevelBrowse 115 , short accessLevelDelete 116 , short accessLevelUpdate 117 ) { 118 CalendarDayImpl _object = (CalendarDayImpl)getCalendarDay(_base); 119 _object.setDateOfDay(dateOfDay); 120 _object.setAccessLevelBrowse(accessLevelBrowse); 121 _object.setAccessLevelDelete(accessLevelDelete); 122 _object.setAccessLevelUpdate(accessLevelUpdate); 123 return _object; 124 } 125 126 public CalendarDay extendContextCapable( 130 org.openmdx.base.cci.ContextCapable _base 131 , org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar dateOfDay 132 , short accessLevelBrowse 133 , short accessLevelDelete 134 , short accessLevelUpdate 135 ) { 136 CalendarDayImpl _object = (CalendarDayImpl)getCalendarDay(_base); 137 _object.setDateOfDay(dateOfDay); 138 _object.setAccessLevelBrowse(accessLevelBrowse); 139 _object.setAccessLevelDelete(accessLevelDelete); 140 _object.setAccessLevelUpdate(accessLevelUpdate); 141 return _object; 142 } 143 144 public CalendarDay extendExtentCapable( 148 org.openmdx.base.cci.ExtentCapable _base 149 , org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar dateOfDay 150 , short accessLevelBrowse 151 , short accessLevelDelete 152 , short accessLevelUpdate 153 ) { 154 CalendarDayImpl _object = (CalendarDayImpl)getCalendarDay(_base); 155 _object.setDateOfDay(dateOfDay); 156 _object.setAccessLevelBrowse(accessLevelBrowse); 157 _object.setAccessLevelDelete(accessLevelDelete); 158 _object.setAccessLevelUpdate(accessLevelUpdate); 159 return _object; 160 } 161 162 public CalendarDay extendViewCapable( 166 org.openmdx.compatibility.view1.cci.ViewCapable _base 167 , org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar dateOfDay 168 , short accessLevelBrowse 169 , short accessLevelDelete 170 , short accessLevelUpdate 171 ) { 172 CalendarDayImpl _object = (CalendarDayImpl)getCalendarDay(_base); 173 _object.setDateOfDay(dateOfDay); 174 _object.setAccessLevelBrowse(accessLevelBrowse); 175 _object.setAccessLevelDelete(accessLevelDelete); 176 _object.setAccessLevelUpdate(accessLevelUpdate); 177 return _object; 178 } 179 180 } 184 | Popular Tags |