Class SnmpMetadataObject
- java.lang.Object
-
- org.opennms.netmgt.model.snmpmetadata.SnmpMetadataBase
-
- org.opennms.netmgt.model.snmpmetadata.SnmpMetadataObject
-
public class SnmpMetadataObject extends SnmpMetadataBase
-
-
Constructor Summary
Constructors Constructor Description SnmpMetadataObject()
SnmpMetadataObject(String name)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SnmpMetadataObject
addObject(String name)
SnmpMetadataTable
addTable(String name)
SnmpMetadataValue
addValue(String name, String value)
boolean
equals(Object o)
static SnmpMetadataBase
fromOnmsMetadata(List<OnmsMetaData> onmsMetaData, String context)
String
getName()
List<SnmpMetadataObject>
getObjects()
List<SnmpMetadataTable>
getTables()
List<SnmpMetadataValue>
getValues()
int
hashCode()
void
setName(String name)
void
setObjects(List<SnmpMetadataObject> objects)
void
setTables(List<SnmpMetadataTable> tables)
void
setValues(List<SnmpMetadataValue> values)
-
Methods inherited from class org.opennms.netmgt.model.snmpmetadata.SnmpMetadataBase
getId, getParent, setParent, trimName
-
-
-
-
Constructor Detail
-
SnmpMetadataObject
public SnmpMetadataObject()
-
SnmpMetadataObject
public SnmpMetadataObject(String name)
-
-
Method Detail
-
getName
public String getName()
-
setName
public void setName(String name)
-
getObjects
public List<SnmpMetadataObject> getObjects()
-
setObjects
public void setObjects(List<SnmpMetadataObject> objects)
-
getValues
public List<SnmpMetadataValue> getValues()
-
setValues
public void setValues(List<SnmpMetadataValue> values)
-
getTables
public List<SnmpMetadataTable> getTables()
-
setTables
public void setTables(List<SnmpMetadataTable> tables)
-
addObject
public SnmpMetadataObject addObject(String name)
-
addTable
public SnmpMetadataTable addTable(String name)
-
addValue
public SnmpMetadataValue addValue(String name, String value)
-
fromOnmsMetadata
public static SnmpMetadataBase fromOnmsMetadata(List<OnmsMetaData> onmsMetaData, String context)
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classSnmpMetadataBase
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classSnmpMetadataBase
-
-