public class ColumnDef extends Object implements Def, Serializable
| Constructor and Description |
|---|
ColumnDef() |
ColumnDef(String label,
String... categories) |
| Modifier and Type | Method and Description |
|---|---|
void |
addCategory(Category vCategory) |
void |
addCategory(String category) |
boolean |
containsCategory(String name)
Checks whether this column/row def uses the given category.
|
boolean |
equals(Object obj) |
List<Category> |
getCategories()
Returns the list of categories used by this column/row def.
|
Set<String> |
getCategoryNames()
Returns a set of category names used by this column/row def.
|
String |
getLabel()
Returns the label of this column/row def.
|
Optional<String> |
getReportCategory()
Returns the report-category attribute of this column/row def.
|
int |
hashCode() |
boolean |
removeCategory(Category category) |
void |
setCategories(List<Category> categories) |
void |
setLabel(String label)
Sets the label of this column/row def
|
void |
setReportCategory(String reportCategory)
Sets the report-category attribute of this column/row def
|
public String getLabel()
Defpublic void setLabel(String label)
Defpublic Optional<String> getReportCategory()
DefgetReportCategory in interface Defpublic void setReportCategory(String reportCategory)
DefsetReportCategory in interface DefreportCategory - the report-category attribute to be usedpublic List<Category> getCategories()
DefgetCategories in interface Defpublic void addCategory(Category vCategory)
public void addCategory(String category)
public boolean removeCategory(Category category)
public Set<String> getCategoryNames()
DefgetCategoryNames in interface Defpublic boolean containsCategory(String name)
DefcontainsCategory in interface Defname - the nam eof the category to be checkedCopyright © 2022. All rights reserved.