public class MibObj extends Object implements Serializable
Constructor and Description |
---|
MibObj()
The Constructor.
|
MibObj(SnmpObjId oid,
String type,
String alias)
The Constructor.
|
MibObj(SnmpObjId oid,
String type,
String alias,
String replace)
The Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getAlias()
Gets the alias.
|
SnmpObjId |
getOid()
Gets the SNMP object ID.
|
String |
getReplace()
Gets the replace.
|
String |
getType()
Gets the type.
|
void |
setAlias(String alias)
Sets the alias.
|
void |
setOid(SnmpObjId oid)
Sets the SNMP object ID.
|
void |
setReplace(String replace)
Sets the replace.
|
void |
setType(String type)
Sets the type.
|
String |
toString() |
public MibObj()
public MibObj(SnmpObjId oid, String type, String alias)
oid
- the SNMP Object IDtype
- the typealias
- the aliaspublic SnmpObjId getOid()
public void setOid(SnmpObjId oid)
oid
- the SNMP object IDpublic String getType()
public void setType(String type)
type
- the typepublic String getAlias()
public void setAlias(String alias)
alias
- the aliaspublic String getReplace()
public void setReplace(String replace)
Most be a valid attribute of org.opennms.netmgt.model.OnmsHwEntity
.
Otherwise, an IllegalArgumentException will be thrown.
replace
- the replaceCopyright © 2017. All rights reserved.