Class VarbindMapping
- java.lang.Object
-
- org.opennms.netmgt.alarmd.northbounder.snmptrap.VarbindMapping
-
public class VarbindMapping extends java.lang.ObjectThe Class VarbindMapping.- Author:
- Alejandro Galue
-
-
Field Summary
Fields Modifier and Type Field Description static org.slf4j.LoggerLOGThe Constant LOG.
-
Constructor Summary
Constructors Constructor Description VarbindMapping()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetInstance()Gets the varbind instancejava.lang.IntegergetMax()Gets the max.java.lang.StringgetName()Gets the name.java.lang.StringgetOid()Gets the OID.ParmgetParameter(NorthboundAlarm alarm)Gets the evaluated parameter object based on a given northbound alarmVarbindTypegetType()Gets the type.java.lang.StringgetValue()Gets the value.voidsetInstance(java.lang.String instance)Sets the varbind instance.voidsetMax(java.lang.Integer max)Sets the max.voidsetName(java.lang.String name)Sets the name.voidsetOid(java.lang.String oid)Sets the OID.voidsetType(VarbindType type)Sets the type.voidsetValue(java.lang.String value)Sets the value.
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Gets the name.- Returns:
- the name
-
getOid
public java.lang.String getOid()
Gets the OID.- Returns:
- the OID
-
getType
public VarbindType getType()
Gets the type.- Returns:
- the type
-
getValue
public java.lang.String getValue()
Gets the value.- Returns:
- the value
-
getInstance
public java.lang.String getInstance()
Gets the varbind instance- Returns:
- varbind instance
-
getMax
public java.lang.Integer getMax()
Gets the max.- Returns:
- the max
-
setName
public void setName(java.lang.String name)
Sets the name.- Parameters:
name- the new name
-
setOid
public void setOid(java.lang.String oid)
Sets the OID.- Parameters:
oid- the new OID
-
setType
public void setType(VarbindType type)
Sets the type.- Parameters:
type- the new type
-
setValue
public void setValue(java.lang.String value)
Sets the value.- Parameters:
value- the new value
-
setInstance
public void setInstance(java.lang.String instance)
Sets the varbind instance.- Parameters:
instance- the new varbind instance
-
setMax
public void setMax(java.lang.Integer max)
Sets the max.- Parameters:
max- the new max
-
getParameter
public Parm getParameter(NorthboundAlarm alarm)
Gets the evaluated parameter object based on a given northbound alarm- Parameters:
alarm- the alarm- Returns:
- the parameter
-
-