Class MibObj
- java.lang.Object
-
- org.opennms.netmgt.config.hardware.MibObj
-
- All Implemented Interfaces:
Serializable
public class MibObj extends Object implements Serializable
The Class MibObj.- Author:
- Alejandro Galue
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetAlias()SnmpObjIdgetOid()Gets the SNMP object ID.Optional<String>getReplace()StringgetType()inthashCode()voidsetAlias(String alias)voidsetOid(SnmpObjId oid)Sets the SNMP object ID.voidsetReplace(String replace)Must be a valid attribute oforg.opennms.netmgt.model.OnmsHwEntity.voidsetReplace(Optional<String> replace)voidsetType(String type)StringtoString()
-
-
-
Method Detail
-
getOid
public SnmpObjId getOid()
Gets the SNMP object ID.- Returns:
- the OID
-
setOid
public void setOid(SnmpObjId oid)
Sets the SNMP object ID.- Parameters:
m_oid- the SNMP object ID
-
getType
public String getType()
-
setType
public void setType(String type)
-
getAlias
public String getAlias()
-
setAlias
public void setAlias(String alias)
-
setReplace
public void setReplace(String replace)
Must be a valid attribute of
org.opennms.netmgt.model.OnmsHwEntity. Otherwise, an IllegalArgumentException will be thrown.
-
-