org.opennms.netmgt.xml.event
Class Parm

java.lang.Object
  extended by org.opennms.netmgt.xml.event.Parm
All Implemented Interfaces:
Serializable

public class Parm
extends Object
implements Serializable

A varbind from the trap

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
Parm()
           
Parm(String name, String value)
           
 
Method Summary
 String getParmName()
          Returns the value of field 'parmName'.
 Value getValue()
          Returns the value of field 'value'.
 boolean isValid()
           
 void setParmName(String parmName)
          Sets the value of field 'parmName'.
 void setValue(Value value)
          Sets the value of field 'value'.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Parm

public Parm()

Parm

public Parm(String name,
            String value)
Method Detail

getParmName

public String getParmName()
Returns the value of field 'parmName'. The field 'parmName' has the following description: parm name

Returns:
the value of field 'ParmName'.

getValue

public Value getValue()
Returns the value of field 'value'. The field 'value' has the following description: parm value

Returns:
the value of field 'Value'.

setParmName

public void setParmName(String parmName)
Sets the value of field 'parmName'. The field 'parmName' has the following description: parm name

Parameters:
parmName - the value of field 'parmName'.

setValue

public void setValue(Value value)
Sets the value of field 'value'. The field 'value' has the following description: parm value

Parameters:
value - the value of field 'value'.

toString

public String toString()
Overrides:
toString in class Object

isValid

public boolean isValid()


Copyright © 2011. All Rights Reserved.