Class ColumnDef
- java.lang.Object
-
- org.opennms.netmgt.config.surveillanceViews.ColumnDef
-
- All Implemented Interfaces:
Serializable,Def
public class ColumnDef extends Object implements Def, Serializable
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddCategory(String category)voidaddCategory(Category vCategory)booleancontainsCategory(String name)Checks whether this column/row def uses the given category.booleanequals(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.StringgetLabel()Returns the label of this column/row def.Optional<String>getReportCategory()Returns the report-category attribute of this column/row def.inthashCode()booleanremoveCategory(Category category)voidsetCategories(List<Category> categories)voidsetLabel(String label)Sets the label of this column/row defvoidsetReportCategory(String reportCategory)Sets the report-category attribute of this column/row def
-
-
-
Method Detail
-
getLabel
public String getLabel()
Description copied from interface:DefReturns the label of this column/row def.
-
setLabel
public void setLabel(String label)
Description copied from interface:DefSets the label of this column/row def
-
getReportCategory
public Optional<String> getReportCategory()
Description copied from interface:DefReturns the report-category attribute of this column/row def.- Specified by:
getReportCategoryin interfaceDef- Returns:
- the report-category attribute
-
setReportCategory
public void setReportCategory(String reportCategory)
Description copied from interface:DefSets the report-category attribute of this column/row def- Specified by:
setReportCategoryin interfaceDef- Parameters:
reportCategory- the report-category attribute to be used
-
getCategories
public List<Category> getCategories()
Description copied from interface:DefReturns the list of categories used by this column/row def.- Specified by:
getCategoriesin interfaceDef- Returns:
- the list of categories
-
addCategory
public void addCategory(Category vCategory)
-
addCategory
public void addCategory(String category)
-
removeCategory
public boolean removeCategory(Category category)
-
getCategoryNames
public Set<String> getCategoryNames()
Description copied from interface:DefReturns a set of category names used by this column/row def.- Specified by:
getCategoryNamesin interfaceDef- Returns:
- the set of category names
-
containsCategory
public boolean containsCategory(String name)
Description copied from interface:DefChecks whether this column/row def uses the given category.- Specified by:
containsCategoryin interfaceDef- Parameters:
name- the nam eof the category to be checked- Returns:
- true, if used by this column/row def, false otherwise
-
-