Class TableImpl
- java.lang.Object
-
- org.opennms.netmgt.config.internal.collection.TableImpl
-
- All Implemented Interfaces:
ITable
public class TableImpl extends java.lang.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(java.lang.String oid, java.lang.String alias, java.lang.String type)
void
addColumn(ColumnImpl column)
static TableImpl
asTable(ITable table)
static TableImpl[]
asTables(ITable[] tables)
boolean
equals(java.lang.Object obj)
IColumn[]
getColumns()
java.lang.String
getInstance()
java.lang.String
getName()
int
hashCode()
void
setColumns(IColumn[] columns)
void
setInstance(java.lang.String instance)
void
setName(java.lang.String name)
java.lang.String
toString()
-
-
-
Method Detail
-
setName
public void setName(java.lang.String name)
-
getInstance
public java.lang.String getInstance()
- Specified by:
getInstance
in interfaceITable
-
setInstance
public void setInstance(java.lang.String instance)
-
getColumns
public IColumn[] getColumns()
- Specified by:
getColumns
in interfaceITable
-
setColumns
public void setColumns(IColumn[] columns)
-
addColumn
public void addColumn(ColumnImpl column)
-
addColumn
public void addColumn(java.lang.String oid, java.lang.String alias, java.lang.String type)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-