summaryrefslogtreecommitdiff
path: root/src/main/java/com/p4square/f1oauth/Attribute.java
diff options
context:
space:
mode:
authorJesse Morgan <jesse@jesterpm.net>2016-04-09 14:22:20 -0700
committerJesse Morgan <jesse@jesterpm.net>2016-04-09 15:48:01 -0700
commit3102d8bce3426d9cf41aeaf201c360d342677770 (patch)
tree38c4f1e8828f9af9c4b77a173bee0d312b321698 /src/main/java/com/p4square/f1oauth/Attribute.java
parentbbf907e51dfcf157bdee24dead1d531122aa25db (diff)
Switching from Ivy+Ant to Maven.
Diffstat (limited to 'src/main/java/com/p4square/f1oauth/Attribute.java')
-rw-r--r--src/main/java/com/p4square/f1oauth/Attribute.java90
1 files changed, 90 insertions, 0 deletions
diff --git a/src/main/java/com/p4square/f1oauth/Attribute.java b/src/main/java/com/p4square/f1oauth/Attribute.java
new file mode 100644
index 0000000..64f2507
--- /dev/null
+++ b/src/main/java/com/p4square/f1oauth/Attribute.java
@@ -0,0 +1,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;
+ }
+}