1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
|
/*
* Copyright 2014 Jesse Morgan
*/
package com.p4square.f1oauth;
import java.util.Date;
/**
* F1 Attribute Data.
*
* @author Jesse Morgan <jesse@jesterpm.net>
*/
public class Attribute {
/*Attribute
*{
"attribute": {
"@id": "",
"@uri": "",
"person": {
"@id": "1636208",
"@uri": "https://demo.fellowshiponeapi.com/v1/People/1636208"
},
"attributeGroup": {
"@id": "",
"@uri": "",
"name": null,
"attribute": {
"@id": "958",
"@uri": "",
"name": null
}
},
"startDate": null,
"endDate": null,
"comment": null,
"createdDate": null,
"lastUpdatedDate": null
}
*/
private Date mStartDate;
private Date mEndDate;
private String mComment;
/**
* @return the start date for the attribute.
*/
public Date getStartDate() {
return mStartDate;
}
/**
* Set the start date for the attribute.
*/
public void setStartDate(Date date) {
mStartDate = date;
}
/**
* @return the end date for the attribute.
*/
public Date getEndDate() {
return mEndDate;
}
/**
* Set the end date for the attribute.
*/
public void setEndDate(Date date) {
mEndDate = date;
}
/**
* @return The comment on the Attribute.
*/
public String getComment() {
return mComment;
}
/**
* Set the comment on the attribute.
*/
public void setComment(String comment) {
mComment = comment;
}
}
|