KickJava   Java API By Example, From Geeks To Geeks.

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


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:02 CEST 2006
9
//
10
// GENERATED - DO NOT CHANGE MANUALLY
11
//
12
//////////////////////////////////////////////////////////////////////////////
13
package org.opencrx.kernel.activity1.cci;
14
15 public class NewActivityParamsImpl
16   extends org.openmdx.base.accessor.jmi.spi.RefStruct_1
17   implements NewActivityParams {
18
19   public NewActivityParamsImpl(
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 NewActivityParamsImpl(
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:NewActivityParams";
36   }
37
38 // ----------------------------------------------------------------------------
39
// StructureType/ImplFieldGet0_1
40
// ----------------------------------------------------------------------------
41
public String JavaDoc getDescription (
42   ) {
43     return (String JavaDoc)this.refGetValue("description", 0);
44   }
45 // ----------------------------------------------------------------------------
46
// StructureType/ImplFieldGet0_1
47
// ----------------------------------------------------------------------------
48
public String JavaDoc getDetailedDescription (
49   ) {
50     return (String JavaDoc)this.refGetValue("detailedDescription", 0);
51   }
52 // ----------------------------------------------------------------------------
53
// StructureType/ImplFieldGet0_1
54
// ----------------------------------------------------------------------------
55
public java.util.Date JavaDoc getDueBy (
56   ) {
57     return (java.util.Date JavaDoc)this.refGetValue("dueBy", 0);
58   }
59 // ----------------------------------------------------------------------------
60
// StructureType/ImplFieldGet1_1
61
// ----------------------------------------------------------------------------
62
public String JavaDoc getName(
63   ) {
64     return getName(0);
65   }
66
67   private String JavaDoc getName(
68     int index
69   ) {
70     return (String JavaDoc)this.refGetValue("org:opencrx:kernel:activity1:NewActivityParams:name", index);
71   }
72
73 // ----------------------------------------------------------------------------
74
// StructureType/ImplFieldGet1_1
75
// ----------------------------------------------------------------------------
76
public short getPriority(
77   ) {
78     return getPriority(0);
79   }
80
81   private short getPriority(
82     int index
83   ) {
84     return ((java.lang.Number JavaDoc)this.refGetValue("org:opencrx:kernel:activity1:NewActivityParams:priority", index)).shortValue();
85   }
86
87 // ----------------------------------------------------------------------------
88
// StructureType/ImplFieldGet0_1
89
// ----------------------------------------------------------------------------
90
public org.opencrx.kernel.account1.cci.Contact getReportingContact (
91   ) {
92     return (org.opencrx.kernel.account1.cci.Contact)this.refGetValue("reportingContact", 0);
93   }
94 // ----------------------------------------------------------------------------
95
// StructureType/ImplFieldGet0_1
96
// ----------------------------------------------------------------------------
97
public java.util.Date JavaDoc getScheduledEnd (
98   ) {
99     return (java.util.Date JavaDoc)this.refGetValue("scheduledEnd", 0);
100   }
101 // ----------------------------------------------------------------------------
102
// StructureType/ImplFieldGet0_1
103
// ----------------------------------------------------------------------------
104
public java.util.Date JavaDoc getScheduledStart (
105   ) {
106     return (java.util.Date JavaDoc)this.refGetValue("scheduledStart", 0);
107   }
108 // ----------------------------------------------------------------------------
109
// StructureType/ImplEnd
110
// ----------------------------------------------------------------------------
111
}
112
Popular Tags