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