blob: 64f250707fa2ed6b88cc26e66aaa37a78b18b771 (
plain)
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
88
89
90
|
/*
* Copyright 2014 Jesse Morgan
*/
package com.p4square.f1oauth;
import java.util.Date;
/**
* F1 Attribute Data.
*
* @author Jesse Morgan <jesse@jesterpm.net>
*/
public class Attribute {
private final String mAttributeName;
private String mId;
private Date mStartDate;
private Date mEndDate;
private String mComment;
/**
* @param name The attribute name.
*/
public Attribute(final String name) {
mAttributeName = name;
}
/**
* @return the Attribute name.
*/
public String getAttributeName() {
return mAttributeName;
}
/**
* @return the id of this specific attribute instance.
*/
public String getId() {
return mId;
}
/**
* Set the attribute id to id.
*/
public void setId(final String id) {
mId = id;
}
/**
* @return the start date for the attribute.
*/
public Date getStartDate() {
return mStartDate;
}
/**
* Set the start date for the attribute.
*/
public void setStartDate(final 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(final Date date) {
mEndDate = date;
}
/**
* @return The comment on the Attribute.
*/
public String getComment() {
return mComment;
}
/**
* Set the comment on the attribute.
*/
public void setComment(final String comment) {
mComment = comment;
}
}
|