adding color properties to label

This commit is contained in:
Ezequiel Bergamaschi
2014-01-28 00:13:29 -03:00
committed by Ezequiel Bergamaschi
parent deb6c4be4d
commit 154db9d9e8
7 changed files with 39 additions and 6 deletions

View File

@@ -11,6 +11,7 @@ public class Label {
@NotNull private String title;
@NotNull private User creator;
@Nullable private Label parent;
@NotNull private String color;
public void setParent(@Nullable Label parent) {
this.parent = parent;
@@ -46,4 +47,13 @@ public class Label {
public void setId(int id) {
this.id = id;
}
@NotNull
public String getColor() {
return color;
}
public void setColor(@NotNull String color) {
this.color = color;
}
}