~dhis-mobile-devs/dhis-mobile/dhis2-mobile-tracker-api

« back to all changes in this revision

Viewing changes to src/org/hisp/dhis/mobile/tracker/api/models/Event.java

  • Committer: paulmarkcastillo at gmail
  • Date: 2014-12-04 03:26:44 UTC
  • mfrom: (0.1.13 dhis2-mobile-tracker-api)
  • Revision ID: paulmarkcastillo@gmail.com-20141204032644-xdt7yfcgeb6ejuxt
MERGE CODES FROM MALARIA APP

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/**
 
2
 * 
 
3
 */
 
4
package org.hisp.dhis.mobile.tracker.api.models;
 
5
 
 
6
/**
 
7
 * @author Paul Mark Castillo
 
8
 *
 
9
 */
 
10
public class Event
 
11
{
 
12
    /**
 
13
     * 
 
14
     */
 
15
    String event;
 
16
 
 
17
    /**
 
18
     * 
 
19
     */
 
20
    String status;
 
21
 
 
22
    /**
 
23
     * 
 
24
     */
 
25
    String program;
 
26
 
 
27
    /**
 
28
     * 
 
29
     */
 
30
    String programStage;
 
31
 
 
32
    /**
 
33
     * 
 
34
     */
 
35
    String enrollment;
 
36
 
 
37
    /**
 
38
     * 
 
39
     */
 
40
    String enrollmentStatus;
 
41
 
 
42
    /**
 
43
     * 
 
44
     */
 
45
    String orgUnit;
 
46
 
 
47
    /**
 
48
     * 
 
49
     */
 
50
    String eventDate;
 
51
 
 
52
    /**
 
53
     * 
 
54
     */
 
55
    String dueDate;
 
56
 
 
57
    /**
 
58
     * 
 
59
     */
 
60
    DataValue dataValues[];
 
61
 
 
62
    /**
 
63
     * 
 
64
     */
 
65
    String href;
 
66
 
 
67
    /**
 
68
     * @return the event
 
69
     */
 
70
    public String getEvent()
 
71
    {
 
72
        return event;
 
73
    }
 
74
 
 
75
    /**
 
76
     * @param event the event to set
 
77
     */
 
78
    public void setEvent( String event )
 
79
    {
 
80
        this.event = event;
 
81
    }
 
82
 
 
83
    /**
 
84
     * @return the status
 
85
     */
 
86
    public String getStatus()
 
87
    {
 
88
        return status;
 
89
    }
 
90
 
 
91
    /**
 
92
     * @param status the status to set
 
93
     */
 
94
    public void setStatus( String status )
 
95
    {
 
96
        this.status = status;
 
97
    }
 
98
 
 
99
    /**
 
100
     * @return the program
 
101
     */
 
102
    public String getProgram()
 
103
    {
 
104
        return program;
 
105
    }
 
106
 
 
107
    /**
 
108
     * @param program the program to set
 
109
     */
 
110
    public void setProgram( String program )
 
111
    {
 
112
        this.program = program;
 
113
    }
 
114
 
 
115
    /**
 
116
     * @return the programStage
 
117
     */
 
118
    public String getProgramStage()
 
119
    {
 
120
        return programStage;
 
121
    }
 
122
 
 
123
    /**
 
124
     * @param programStage the programStage to set
 
125
     */
 
126
    public void setProgramStage( String programStage )
 
127
    {
 
128
        this.programStage = programStage;
 
129
    }
 
130
 
 
131
    /**
 
132
     * @return the enrollment
 
133
     */
 
134
    public String getEnrollment()
 
135
    {
 
136
        return enrollment;
 
137
    }
 
138
 
 
139
    /**
 
140
     * @param enrollment the enrollment to set
 
141
     */
 
142
    public void setEnrollment( String enrollment )
 
143
    {
 
144
        this.enrollment = enrollment;
 
145
    }
 
146
 
 
147
    /**
 
148
     * @return the enrollmentStatus
 
149
     */
 
150
    public String getEnrollmentStatus()
 
151
    {
 
152
        return enrollmentStatus;
 
153
    }
 
154
 
 
155
    /**
 
156
     * @param enrollmentStatus the enrollmentStatus to set
 
157
     */
 
158
    public void setEnrollmentStatus( String enrollmentStatus )
 
159
    {
 
160
        this.enrollmentStatus = enrollmentStatus;
 
161
    }
 
162
 
 
163
    /**
 
164
     * @return the orgUnit
 
165
     */
 
166
    public String getOrgUnit()
 
167
    {
 
168
        return orgUnit;
 
169
    }
 
170
 
 
171
    /**
 
172
     * @param orgUnit the orgUnit to set
 
173
     */
 
174
    public void setOrgUnit( String orgUnit )
 
175
    {
 
176
        this.orgUnit = orgUnit;
 
177
    }
 
178
 
 
179
    /**
 
180
     * @return the eventDate
 
181
     */
 
182
    public String getEventDate()
 
183
    {
 
184
        return eventDate;
 
185
    }
 
186
 
 
187
    /**
 
188
     * @param eventDate the eventDate to set
 
189
     */
 
190
    public void setEventDate( String eventDate )
 
191
    {
 
192
        this.eventDate = eventDate;
 
193
    }
 
194
 
 
195
    /**
 
196
     * @return the dueDate
 
197
     */
 
198
    public String getDueDate()
 
199
    {
 
200
        return dueDate;
 
201
    }
 
202
 
 
203
    /**
 
204
     * @param dueDate the dueDate to set
 
205
     */
 
206
    public void setDueDate( String dueDate )
 
207
    {
 
208
        this.dueDate = dueDate;
 
209
    }
 
210
 
 
211
    /**
 
212
     * @return the dataValues
 
213
     */
 
214
    public DataValue[] getDataValues()
 
215
    {
 
216
        return dataValues;
 
217
    }
 
218
 
 
219
    /**
 
220
     * @param dataValues the dataValues to set
 
221
     */
 
222
    public void setDataValues( DataValue[] dataValues )
 
223
    {
 
224
        this.dataValues = dataValues;
 
225
    }
 
226
 
 
227
    /**
 
228
     * @return the href
 
229
     */
 
230
    public String getHref()
 
231
    {
 
232
        return href;
 
233
    }
 
234
 
 
235
    /**
 
236
     * @param href the href to set
 
237
     */
 
238
    public void setHref( String href )
 
239
    {
 
240
        this.href = href;
 
241
    }
 
242
}