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 voidaddMibObject(MibObj mibObj)Adds the MIB object.booleanequals(Object obj)MibObjgetMibObjectByAlias(String name)Gets the MIB object by alias.MibObjgetMibObjectByOid(String oid)Gets the MIB object by OID.List<MibObj>getMibObjects()Gets the MIB objects.StringgetName()StringgetSysOidMask()Gets the system OID mask.inthashCode()voidsetMibObjects(List<MibObj> mibObjects)Sets the MIB objects.voidsetName(String name)voidsetSysOidMask(String sysOidMask)Sets the system OID mask.StringtoString()
-
-
-
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
-
-