public class MibObj extends Object implements Serializable
Constructor and Description |
---|
MibObj() |
MibObj(SnmpObjId oid,
String type,
String alias) |
MibObj(SnmpObjId oid,
String type,
String alias,
String replace) |
Modifier and Type | Method and 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(Optional<String> replace) |
void |
setReplace(String replace)
Must be a valid attribute of
org.opennms.netmgt.model.OnmsHwEntity . |
void |
setType(String type) |
String |
toString() |
public SnmpObjId getOid()
public void setOid(SnmpObjId oid)
m_oid
- the SNMP object IDpublic String getType()
public void setType(String type)
public String getAlias()
public void setAlias(String alias)
public void setReplace(String replace)
Must be a valid attribute of org.opennms.netmgt.model.OnmsHwEntity
.
Otherwise, an IllegalArgumentException will be thrown.
Copyright © 2021. All rights reserved.