Fixed some minor problems
parent
38d76fbcda
commit
d51a0d04fe
|
|
@ -27,10 +27,8 @@ import org.libreccm.l10n.LocalizedString;
|
||||||
*/
|
*/
|
||||||
public class AssociatedCategoryData extends CategoryId {
|
public class AssociatedCategoryData extends CategoryId {
|
||||||
|
|
||||||
private String name;
|
|
||||||
|
|
||||||
private LocalizedString title;
|
private LocalizedString title;
|
||||||
|
|
||||||
private LocalizedString description;
|
private LocalizedString description;
|
||||||
|
|
||||||
public AssociatedCategoryData() {
|
public AssociatedCategoryData() {
|
||||||
|
|
@ -39,19 +37,10 @@ public class AssociatedCategoryData extends CategoryId {
|
||||||
|
|
||||||
public AssociatedCategoryData(final Category category) {
|
public AssociatedCategoryData(final Category category) {
|
||||||
super(category);
|
super(category);
|
||||||
name = category.getName();
|
|
||||||
title = category.getTitle();
|
title = category.getTitle();
|
||||||
description = category.getDescription();
|
description = category.getDescription();
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getName() {
|
|
||||||
return name;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setName(final String name) {
|
|
||||||
this.name = name;
|
|
||||||
}
|
|
||||||
|
|
||||||
public LocalizedString getTitle() {
|
public LocalizedString getTitle() {
|
||||||
return title;
|
return title;
|
||||||
}
|
}
|
||||||
|
|
@ -67,8 +56,5 @@ public class AssociatedCategoryData extends CategoryId {
|
||||||
public void setDescription(final LocalizedString description) {
|
public void setDescription(final LocalizedString description) {
|
||||||
this.description = description;
|
this.description = description;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue