added comments. Fixed toString

This commit is contained in:
Francesco Mangiacrapa 2024-05-16 10:34:46 +02:00
parent 5ac20c21c0
commit 6dea686eca
2 changed files with 6 additions and 1 deletions

View File

@ -51,6 +51,11 @@ public class CategoryWrapper implements Serializable{
this.description = description;
}
/**
* NB!!! DOES NOT USE THIS IN UPTATE/EDIT MODE.
*
* @return the fields for this category
*/
public List<MetadataFieldWrapper> getFieldsForThisCategory() {
return fieldsForThisCategory;
}

View File

@ -400,7 +400,7 @@ public class MetadataFieldWrapper implements UpdatableField, Serializable {
builder.append(", maxOccurs=");
builder.append(maxOccurs);
builder.append(", currentValues=");
builder.append("currentValues");
builder.append(getCurrentValues());
builder.append("]");
return builder.toString();
}