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 boolean
equals(Object obj)
String
getAlias()
SnmpObjId
getOid()
Gets the SNMP object ID.Optional<String>
getReplace()
String
getType()
int
hashCode()
void
setAlias(String alias)
void
setOid(SnmpObjId oid)
Sets the SNMP object ID.void
setReplace(String replace)
Must be a valid attribute oforg.opennms.netmgt.model.OnmsHwEntity
.void
setReplace(Optional<String> replace)
void
setType(String type)
String
toString()
-
-
-
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.
-
-