Class RowDef
- java.lang.Object
-
- org.opennms.netmgt.config.surveillanceViews.RowDef
-
- All Implemented Interfaces:
java.io.Serializable
,Def
public class RowDef extends java.lang.Object implements Def, java.io.Serializable
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addCategory(java.lang.String category)
void
addCategory(Category category)
boolean
containsCategory(java.lang.String name)
Checks whether this column/row def uses the given category.boolean
equals(java.lang.Object obj)
java.util.List<Category>
getCategories()
Returns the list of categories used by this column/row def.java.util.Set<java.lang.String>
getCategoryNames()
Returns a set of category names used by this column/row def.java.lang.String
getLabel()
Returns the label of this column/row def.java.util.Optional<java.lang.String>
getReportCategory()
Returns the report-category attribute of this column/row def.int
hashCode()
boolean
removeCategory(Category category)
void
setCategories(java.util.List<Category> categories)
void
setLabel(java.lang.String label)
Sets the label of this column/row defvoid
setReportCategory(java.lang.String reportCategory)
Sets the report-category attribute of this column/row def
-
-
-
Method Detail
-
getLabel
public java.lang.String getLabel()
Description copied from interface:Def
Returns the label of this column/row def.
-
setLabel
public void setLabel(java.lang.String label)
Description copied from interface:Def
Sets the label of this column/row def
-
getReportCategory
public java.util.Optional<java.lang.String> getReportCategory()
Description copied from interface:Def
Returns the report-category attribute of this column/row def.- Specified by:
getReportCategory
in interfaceDef
- Returns:
- the report-category attribute
-
setReportCategory
public void setReportCategory(java.lang.String reportCategory)
Description copied from interface:Def
Sets the report-category attribute of this column/row def- Specified by:
setReportCategory
in interfaceDef
- Parameters:
reportCategory
- the report-category attribute to be used
-
getCategories
public java.util.List<Category> getCategories()
Description copied from interface:Def
Returns the list of categories used by this column/row def.- Specified by:
getCategories
in interfaceDef
- Returns:
- the list of categories
-
setCategories
public void setCategories(java.util.List<Category> categories)
-
addCategory
public void addCategory(Category category)
-
addCategory
public void addCategory(java.lang.String category)
-
removeCategory
public boolean removeCategory(Category category)
-
getCategoryNames
public java.util.Set<java.lang.String> getCategoryNames()
Description copied from interface:Def
Returns a set of category names used by this column/row def.- Specified by:
getCategoryNames
in interfaceDef
- Returns:
- the set of category names
-
containsCategory
public boolean containsCategory(java.lang.String name)
Description copied from interface:Def
Checks whether this column/row def uses the given category.- Specified by:
containsCategory
in interfaceDef
- Parameters:
name
- the nam eof the category to be checked- Returns:
- true, if used by this column/row def, false otherwise
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-