add label icons back-end (model and database)

This commit is contained in:
Claudio Barril
2014-04-14 18:09:34 -03:00
parent 725be7ca9b
commit 8e7133c4ab
7 changed files with 29 additions and 7 deletions

View File

@@ -65,10 +65,18 @@ public class RestLabel {
label.setColor(color);
}
public void setIcon(@NotNull final String icon) {
label.setIcon(icon);
}
@Nullable public String getColor() {
return label.getColor();
}
@Nullable public String getIcon() {
return label.getIcon();
}
@JsonIgnore
public Label getDelegated() {
return label;