KickJava   Java API By Example, From Geeks To Geeks.

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


1 // ----------------------------------------------------------------------------
2
// Instance/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:04 CEST 2006
9
//
10
// GENERATED - DO NOT CHANGE MANUALLY
11
//
12
//////////////////////////////////////////////////////////////////////////////
13
package org.opencrx.kernel.activity1.cci;
14
15 public class AbstractVoteImpl
16   extends org.openmdx.base.accessor.jmi.spi.RefObject_1
17   implements AbstractVote {
18
19   public AbstractVoteImpl(
20     org.openmdx.base.accessor.generic.cci.Object_1_0 object,
21     javax.jmi.reflect.RefClass refClass
22   ) {
23     super(object, refClass);
24   }
25
26 // ----------------------------------------------------------------------------
27
// Instance/ImplReferenceGet0_1NoQualifier
28
// ----------------------------------------------------------------------------
29
public org.opencrx.kernel.account1.cci.Contact getAssignedTo(
30   ) {
31     return (org.opencrx.kernel.account1.cci.Contact)refGetValue(
32       "org:opencrx:kernel:activity1:AbstractVote:assignedTo"
33     );
34   }
35
36 // ----------------------------------------------------------------------------
37
// Instance/ImplReferenceSetNoQualifier
38
// ----------------------------------------------------------------------------
39
public void setAssignedTo(
40     org.opencrx.kernel.account1.cci.Contact newValue
41   ) {
42     refSetValue(
43       "org:opencrx:kernel:activity1:AbstractVote:assignedTo",
44       newValue
45     );
46   }
47
48 // ----------------------------------------------------------------------------
49
// Instance/ImplReferenceRemoveOptional
50
// ----------------------------------------------------------------------------
51
public void removeAssignedTo (
52   ) {
53     refRemoveValue(
54       "org:opencrx:kernel:activity1:AbstractVote:assignedTo"
55     );
56   }
57 // ----------------------------------------------------------------------------
58
// Instance/ImplAttributeGet0_1
59
// ----------------------------------------------------------------------------
60
public String JavaDoc getDescription (
61   ) {
62     return (String JavaDoc)this.refGetValue("description", 0);
63   }
64 // ----------------------------------------------------------------------------
65
// Instance/ImplAttributeSet0_1
66
// ----------------------------------------------------------------------------
67
public void setDescription(
68     String JavaDoc newValue
69   ) {
70     refSetValue("org:opencrx:kernel:activity1:AbstractVote:description", 0, newValue);
71   }
72
73 // ----------------------------------------------------------------------------
74
// Instance/ImplAttributeGet1_1
75
// ----------------------------------------------------------------------------
76
public String JavaDoc getName(
77   ) {
78     return getName(0);
79   }
80
81   protected String JavaDoc getName(
82     int index
83   ) {
84     return (String JavaDoc)this.refGetValue("org:opencrx:kernel:activity1:AbstractVote:name", index);
85   }
86
87 // ----------------------------------------------------------------------------
88
// Instance/ImplAttributeSet1_1
89
// ----------------------------------------------------------------------------
90
public void setName(
91     String JavaDoc newValue
92   ) {
93     setName(0, newValue);
94   }
95
96   protected void setName(
97     int index,
98     String JavaDoc newValue
99   ) {
100     refSetValue("org:opencrx:kernel:activity1:AbstractVote:name", index, newValue);
101   }
102 // ----------------------------------------------------------------------------
103
// Instance/ImplOperation
104
// ----------------------------------------------------------------------------
105
public org.openmdx.base.cci.Void assignToMe(
106       org.openmdx.base.cci.Void params
107   ) throws javax.jmi.reflect.RefException {
108     java.util.List JavaDoc args = new java.util.ArrayList JavaDoc();
109     args.add(params);
110     return (org.openmdx.base.cci.Void)refInvokeOperation(
111       "org:opencrx:kernel:base:Assignable:assignToMe",
112       args
113     );
114   }
115
116   public org.openmdx.base.cci.Void assignToMe(
117   ) throws javax.jmi.reflect.RefException {
118     return assignToMe(
119       ((org.openmdx.base.cci.basePackage)refOutermostPackage().refPackage("org:openmdx:base")).createVoid(
120               )
121     );
122   }
123
124 // ----------------------------------------------------------------------------
125
// Instance/ImplEnd
126
// ----------------------------------------------------------------------------
127
}
128
Popular Tags