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