Class TableImpl
- java.lang.Object
-
- org.opennms.netmgt.config.internal.collection.TableImpl
-
- All Implemented Interfaces:
ITable
public class TableImpl extends Object implements ITable
<table name="mib2-host-resources-storage" instance="hrStorageIndex">" <column oid=".1.3.6.1.2.1.25.2.3.1.4" alias="hrStorageAllocUnits" type="gauge" /> <column oid=".1.3.6.1.2.1.25.2.3.1.5" alias="hrStorageSize" type="gauge" /> <column oid=".1.3.6.1.2.1.25.2.3.1.6" alias="hrStorageUse" type="gauge" /> </table>- Author:
- brozow
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addColumn(String oid, String alias, String type)
void
addColumn(ColumnImpl column)
static TableImpl
asTable(ITable table)
static TableImpl[]
asTables(ITable[] tables)
boolean
equals(Object obj)
IColumn[]
getColumns()
String
getInstance()
String
getName()
int
hashCode()
void
setColumns(IColumn[] columns)
void
setInstance(String instance)
void
setName(String name)
String
toString()
-
-
-
Method Detail
-
setName
public void setName(String name)
-
getInstance
public String getInstance()
- Specified by:
getInstance
in interfaceITable
-
setInstance
public void setInstance(String instance)
-
getColumns
public IColumn[] getColumns()
- Specified by:
getColumns
in interfaceITable
-
setColumns
public void setColumns(IColumn[] columns)
-
addColumn
public void addColumn(ColumnImpl column)
-
-