KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > opencrx > kernel > activity1 > cci > ResourceAddWorkRecordByPeriodParamsImpl


1 // ----------------------------------------------------------------------------
2
// StructureType/ImplBegin
3
// ----------------------------------------------------------------------------
4
//////////////////////////////////////////////////////////////////////////////
5
//
6
// Name: $Id: JMIAbstractMapper.java,v 1.11 2006/01/21 23:09:07 wfro Exp $
7
// Generated by: openMDX JMI Mapper
8
// Date: Mon Apr 03 11:39:05 CEST 2006
9
//
10
// GENERATED - DO NOT CHANGE MANUALLY
11
//
12
//////////////////////////////////////////////////////////////////////////////
13
package org.opencrx.kernel.activity1.cci;
14
15 public class ResourceAddWorkRecordByPeriodParamsImpl
16   extends org.openmdx.base.accessor.jmi.spi.RefStruct_1
17   implements ResourceAddWorkRecordByPeriodParams {
18
19   public ResourceAddWorkRecordByPeriodParamsImpl(
20     org.openmdx.base.accessor.jmi.cci.RefPackage_1_0 refPackage,
21     java.util.List JavaDoc args
22   ) {
23     super(refPackage, args);
24   }
25
26   public ResourceAddWorkRecordByPeriodParamsImpl(
27     org.openmdx.base.accessor.jmi.cci.RefPackage_1_0 refPackage,
28     java.lang.Object JavaDoc arg
29   ) {
30     super(refPackage, arg);
31   }
32
33   public String JavaDoc refQualifiedTypeName(
34   ) {
35     return "org:opencrx:kernel:activity1:ResourceAddWorkRecordByPeriodParams";
36   }
37
38 // ----------------------------------------------------------------------------
39
// StructureType/ImplFieldGet1_1
40
// ----------------------------------------------------------------------------
41
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:ResourceAddWorkRecordByPeriodParams:activity", index);
50   }
51
52 // ----------------------------------------------------------------------------
53
// StructureType/ImplFieldGet0_1
54
// ----------------------------------------------------------------------------
55
public String JavaDoc getDescription (
56   ) {
57     return (String JavaDoc)this.refGetValue("description", 0);
58   }
59 // ----------------------------------------------------------------------------
60
// StructureType/ImplFieldGet0_1
61
// ----------------------------------------------------------------------------
62
public java.util.Date JavaDoc getEndAt (
63   ) {
64     return (java.util.Date JavaDoc)this.refGetValue("endAt", 0);
65   }
66 // ----------------------------------------------------------------------------
67
// StructureType/ImplFieldGet1_1
68
// ----------------------------------------------------------------------------
69
public String JavaDoc getName(
70   ) {
71     return getName(0);
72   }
73
74   private String JavaDoc getName(
75     int index
76   ) {
77     return (String JavaDoc)this.refGetValue("org:opencrx:kernel:activity1:ResourceAddWorkRecordByPeriodParams:name", index);
78   }
79
80 // ----------------------------------------------------------------------------
81
// StructureType/ImplFieldGet0_1
82
// ----------------------------------------------------------------------------
83
public Short JavaDoc getPauseDurationHours (
84   ) {
85     return (Short JavaDoc)this.refGetValue("pauseDurationHours", 0);
86   }
87 // ----------------------------------------------------------------------------
88
// StructureType/ImplFieldGet0_1
89
// ----------------------------------------------------------------------------
90
public Short JavaDoc getPauseDurationMinutes (
91   ) {
92     return (Short JavaDoc)this.refGetValue("pauseDurationMinutes", 0);
93   }
94 // ----------------------------------------------------------------------------
95
// StructureType/ImplFieldGet1_1
96
// ----------------------------------------------------------------------------
97
public short getRateType(
98   ) {
99     return getRateType(0);
100   }
101
102   private short getRateType(
103     int index
104   ) {
105     return ((java.lang.Number JavaDoc)this.refGetValue("org:opencrx:kernel:activity1:ResourceAddWorkRecordByPeriodParams:rateType", index)).shortValue();
106   }
107
108 // ----------------------------------------------------------------------------
109
// StructureType/ImplFieldGet1_1
110
// ----------------------------------------------------------------------------
111
public java.util.Date JavaDoc getStartAt(
112   ) {
113     return getStartAt(0);
114   }
115
116   private java.util.Date JavaDoc getStartAt(
117     int index
118   ) {
119     return (java.util.Date JavaDoc)this.refGetValue("org:opencrx:kernel:activity1:ResourceAddWorkRecordByPeriodParams:startAt", index);
120   }
121
122 // ----------------------------------------------------------------------------
123
// StructureType/ImplEnd
124
// ----------------------------------------------------------------------------
125
}
126
Popular Tags