Class View
- java.lang.Object
-
- org.opennms.netmgt.config.surveillanceViews.View
-
- All Implemented Interfaces:
java.io.Serializable
public class View extends java.lang.Object implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description View()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addColumn(java.lang.String label, java.lang.String... categories)
void
addColumn(ColumnDef column)
void
addRow(java.lang.String label, java.lang.String... categories)
void
addRow(RowDef row)
boolean
equals(java.lang.Object obj)
java.util.Optional<ColumnDef>
getColumnDef(java.lang.String label)
java.util.List<ColumnDef>
getColumns()
java.lang.String
getName()
java.lang.Integer
getRefreshSeconds()
java.util.Optional<RowDef>
getRowDef(java.lang.String label)
java.util.List<RowDef>
getRows()
int
hashCode()
boolean
removeColumn(ColumnDef column)
boolean
removeRow(RowDef row)
void
setColumns(java.util.List<ColumnDef> columns)
void
setName(java.lang.String name)
void
setRefreshSeconds(java.lang.Integer refreshSeconds)
void
setRows(java.util.List<RowDef> rows)
-
-
-
Method Detail
-
getName
public java.lang.String getName()
-
setName
public void setName(java.lang.String name)
-
getRefreshSeconds
public java.lang.Integer getRefreshSeconds()
-
setRefreshSeconds
public void setRefreshSeconds(java.lang.Integer refreshSeconds)
-
getRows
public java.util.List<RowDef> getRows()
-
setRows
public void setRows(java.util.List<RowDef> rows)
-
addRow
public void addRow(RowDef row)
-
addRow
public void addRow(java.lang.String label, java.lang.String... categories)
-
removeRow
public boolean removeRow(RowDef row)
-
getRowDef
public java.util.Optional<RowDef> getRowDef(java.lang.String label)
-
getColumns
public java.util.List<ColumnDef> getColumns()
-
setColumns
public void setColumns(java.util.List<ColumnDef> columns)
-
addColumn
public void addColumn(ColumnDef column)
-
addColumn
public void addColumn(java.lang.String label, java.lang.String... categories)
-
removeColumn
public boolean removeColumn(ColumnDef column)
-
getColumnDef
public java.util.Optional<ColumnDef> getColumnDef(java.lang.String label)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-