Class HwExtension
- java.lang.Object
-
- org.opennms.netmgt.config.hardware.HwExtension
-
- All Implemented Interfaces:
java.io.Serializable
public class HwExtension extends java.lang.Object implements java.io.Serializable
The Class HwExtension.- Author:
- Alejandro Galue
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HwExtension()
HwExtension(java.lang.String name, java.lang.String sysOidMask)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addMibObject(MibObj mibObj)
Adds the MIB object.boolean
equals(java.lang.Object obj)
MibObj
getMibObjectByAlias(java.lang.String name)
Gets the MIB object by alias.MibObj
getMibObjectByOid(java.lang.String oid)
Gets the MIB object by OID.java.util.List<MibObj>
getMibObjects()
Gets the MIB objects.java.lang.String
getName()
java.lang.String
getSysOidMask()
Gets the system OID mask.int
hashCode()
void
setMibObjects(java.util.List<MibObj> mibObjects)
Sets the MIB objects.void
setName(java.lang.String name)
void
setSysOidMask(java.lang.String sysOidMask)
Sets the system OID mask.java.lang.String
toString()
-
-
-
Method Detail
-
getName
public java.lang.String getName()
-
setName
public void setName(java.lang.String name)
-
getSysOidMask
public java.lang.String getSysOidMask()
Gets the system OID mask.- Returns:
- the system OID mask
-
setSysOidMask
public void setSysOidMask(java.lang.String sysOidMask)
Sets the system OID mask.- Parameters:
m_sysOidMask
- the system OID mask
-
getMibObjects
public java.util.List<MibObj> getMibObjects()
Gets the MIB objects.- Returns:
- the MIB objects
-
getMibObjectByAlias
public MibObj getMibObjectByAlias(java.lang.String name)
Gets the MIB object by alias.- Parameters:
m_name
- the m_name- Returns:
- the MIB object by alias
-
getMibObjectByOid
public MibObj getMibObjectByOid(java.lang.String oid)
Gets the MIB object by OID.- Parameters:
oid
- the OID- Returns:
- the MIB object by OID
-
setMibObjects
public void setMibObjects(java.util.List<MibObj> mibObjects)
Sets the MIB objects.- Parameters:
m_mibObjects
- the MIB objects
-
addMibObject
public void addMibObject(MibObj mibObj)
Adds the MIB object.- Parameters:
mibObj
- the MIB object
-
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
-
-