Package org.opennms.netmgt.model
Class OnmsEventParameter
- java.lang.Object
-
- org.opennms.netmgt.model.OnmsEventParameter
-
- All Implemented Interfaces:
java.io.Serializable
@Entity public class OnmsEventParameter extends java.lang.Object implements java.io.SerializableThe Class OnmsEventParameter.- Author:
- Alejandro Galue
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOnmsEventParameter.OnmsEventParameterId
-
Constructor Summary
Constructors Constructor Description OnmsEventParameter()Instantiates a new OpenNMS event parameter.OnmsEventParameter(OnmsEvent event, java.lang.String name, java.lang.String value, java.lang.String type)OnmsEventParameter(OnmsEvent event, Parm parm)Instantiates a new OpenNMS event parameter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OnmsEventgetEvent()java.lang.StringgetName()Gets the name.java.lang.StringgetType()Gets the type.java.lang.StringgetValue()Gets the value.voidsetEvent(OnmsEvent event)voidsetName(java.lang.String name)Sets the name.voidsetType(java.lang.String type)Sets the type.voidsetValue(java.lang.String value)Sets the value.
-
-
-
Constructor Detail
-
OnmsEventParameter
public OnmsEventParameter()
Instantiates a new OpenNMS event parameter.
-
OnmsEventParameter
public OnmsEventParameter(OnmsEvent event, Parm parm)
Instantiates a new OpenNMS event parameter.- Parameters:
parm- the Event parameter object
-
OnmsEventParameter
public OnmsEventParameter(OnmsEvent event, java.lang.String name, java.lang.String value, java.lang.String type)
-
-
Method Detail
-
getEvent
public OnmsEvent getEvent()
-
setEvent
public void setEvent(OnmsEvent event)
-
getName
public java.lang.String getName()
Gets the name.- Returns:
- the name
-
getValue
public java.lang.String getValue()
Gets the value.- Returns:
- the value
-
setName
public void setName(java.lang.String name)
Sets the name.- Parameters:
name- the new name
-
setValue
public void setValue(java.lang.String value)
Sets the value.- Parameters:
value- the new value
-
getType
public java.lang.String getType()
Gets the type.- Returns:
- the type
-
setType
public void setType(java.lang.String type)
Sets the type.- Parameters:
type- the new type
-
-