1 package org.opencrx.kernel.activity1.cci; 14 15 public class ResourceAddWorkRecordByDurationParamsImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefStruct_1 17 implements ResourceAddWorkRecordByDurationParams { 18 19 public ResourceAddWorkRecordByDurationParamsImpl( 20 org.openmdx.base.accessor.jmi.cci.RefPackage_1_0 refPackage, 21 java.util.List args 22 ) { 23 super(refPackage, args); 24 } 25 26 public ResourceAddWorkRecordByDurationParamsImpl( 27 org.openmdx.base.accessor.jmi.cci.RefPackage_1_0 refPackage, 28 java.lang.Object arg 29 ) { 30 super(refPackage, arg); 31 } 32 33 public String refQualifiedTypeName( 34 ) { 35 return "org:opencrx:kernel:activity1:ResourceAddWorkRecordByDurationParams"; 36 } 37 38 public org.opencrx.kernel.activity1.cci.Activity getActivity( 42 ) { 43 return getActivity(0); 44 } 45 46 private org.opencrx.kernel.activity1.cci.Activity getActivity( 47 int index 48 ) { 49 return (org.opencrx.kernel.activity1.cci.Activity)this.refGetValue("org:opencrx:kernel:activity1:ResourceAddWorkRecordByDurationParams:activity", index); 50 } 51 52 public String getDescription ( 56 ) { 57 return (String )this.refGetValue("description", 0); 58 } 59 public short getDurationHours( 63 ) { 64 return getDurationHours(0); 65 } 66 67 private short getDurationHours( 68 int index 69 ) { 70 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:activity1:ResourceAddWorkRecordByDurationParams:durationHours", index)).shortValue(); 71 } 72 73 public short getDurationMinutes( 77 ) { 78 return getDurationMinutes(0); 79 } 80 81 private short getDurationMinutes( 82 int index 83 ) { 84 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:activity1:ResourceAddWorkRecordByDurationParams:durationMinutes", index)).shortValue(); 85 } 86 87 public org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar getEndAt ( 91 ) { 92 return (org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar)this.refGetValue("endAt", 0); 93 } 94 public String getName( 98 ) { 99 return getName(0); 100 } 101 102 private String getName( 103 int index 104 ) { 105 return (String )this.refGetValue("org:opencrx:kernel:activity1:ResourceAddWorkRecordByDurationParams:name", index); 106 } 107 108 public short getRateType( 112 ) { 113 return getRateType(0); 114 } 115 116 private short getRateType( 117 int index 118 ) { 119 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:activity1:ResourceAddWorkRecordByDurationParams:rateType", index)).shortValue(); 120 } 121 122 public org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar getStartAt ( 126 ) { 127 return (org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar)this.refGetValue("startAt", 0); 128 } 129 } 133 | Popular Tags |