summaryrefslogtreecommitdiff
path: root/BJC-Utils2/src/main/java/bjc/utils/components/ComponentDescriptionState.java
diff options
context:
space:
mode:
authorbculkin2442 <bjculkin@mix.wvu.edu>2016-04-22 14:48:04 -0400
committerbculkin2442 <bjculkin@mix.wvu.edu>2016-04-22 14:48:04 -0400
commit42f7d379a430aaf2fad169f0170de04072b08b10 (patch)
tree5d46b43b2d9272f4e593820ee147b3ae3f0d82b0 /BJC-Utils2/src/main/java/bjc/utils/components/ComponentDescriptionState.java
parentb65b705c391bb772bc41269bce5243c1cc88969d (diff)
Formatting changes
Diffstat (limited to 'BJC-Utils2/src/main/java/bjc/utils/components/ComponentDescriptionState.java')
-rw-r--r--BJC-Utils2/src/main/java/bjc/utils/components/ComponentDescriptionState.java40
1 files changed, 20 insertions, 20 deletions
diff --git a/BJC-Utils2/src/main/java/bjc/utils/components/ComponentDescriptionState.java b/BJC-Utils2/src/main/java/bjc/utils/components/ComponentDescriptionState.java
index 7d91c84..199009c 100644
--- a/BJC-Utils2/src/main/java/bjc/utils/components/ComponentDescriptionState.java
+++ b/BJC-Utils2/src/main/java/bjc/utils/components/ComponentDescriptionState.java
@@ -16,23 +16,13 @@ public class ComponentDescriptionState {
private int version;
/**
- * Convert this state into the description it represents
- *
- * @return The description represented by this state
- */
- public ComponentDescription toDescription() {
- return new ComponentDescription(name, author, description,
- version);
- }
-
- /**
- * Set the name of this component
+ * Set the author of this component
*
- * @param name
- * The name of this component
+ * @param author
+ * The author of this component
*/
- public void setName(String name) {
- this.name = name;
+ public void setAuthor(String author) {
+ this.author = author;
}
/**
@@ -46,13 +36,13 @@ public class ComponentDescriptionState {
}
/**
- * Set the author of this component
+ * Set the name of this component
*
- * @param author
- * The author of this component
+ * @param name
+ * The name of this component
*/
- public void setAuthor(String author) {
- this.author = author;
+ public void setName(String name) {
+ this.name = name;
}
/**
@@ -64,4 +54,14 @@ public class ComponentDescriptionState {
public void setVersion(int version) {
this.version = version;
}
+
+ /**
+ * Convert this state into the description it represents
+ *
+ * @return The description represented by this state
+ */
+ public ComponentDescription toDescription() {
+ return new ComponentDescription(name, author, description,
+ version);
+ }
}