summaryrefslogtreecommitdiff
path: root/BJC-Utils2/src/main/java/bjc/utils/components/ComponentDescriptionState.java
diff options
context:
space:
mode:
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);
+ }
}