Class MibObj
- java.lang.Object
-
- org.opennms.netmgt.config.hardware.MibObj
-
- All Implemented Interfaces:
java.io.Serializable
public class MibObj extends java.lang.Object implements java.io.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(java.lang.Object obj)
java.lang.String
getAlias()
SnmpObjId
getOid()
Gets the SNMP object ID.java.util.Optional<java.lang.String>
getReplace()
java.lang.String
getType()
int
hashCode()
void
setAlias(java.lang.String alias)
void
setOid(SnmpObjId oid)
Sets the SNMP object ID.void
setReplace(java.lang.String replace)
Must be a valid attribute oforg.opennms.netmgt.model.OnmsHwEntity
.void
setReplace(java.util.Optional<java.lang.String> replace)
void
setType(java.lang.String type)
java.lang.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 java.lang.String getType()
-
setType
public void setType(java.lang.String type)
-
getAlias
public java.lang.String getAlias()
-
setAlias
public void setAlias(java.lang.String alias)
-
getReplace
public java.util.Optional<java.lang.String> getReplace()
-
setReplace
public void setReplace(java.util.Optional<java.lang.String> replace)
-
setReplace
public void setReplace(java.lang.String replace)
Must be a valid attribute of
org.opennms.netmgt.model.OnmsHwEntity
. Otherwise, an IllegalArgumentException will be thrown.
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-