Package org.opennms.netmgt.model
Class OnmsEventParameter
- java.lang.Object
-
- org.opennms.netmgt.model.OnmsEventParameter
-
- All Implemented Interfaces:
Serializable
@Entity public class OnmsEventParameter extends Object implements Serializable
The 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, String name, String value, 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()StringgetName()Gets the name.StringgetType()Gets the type.StringgetValue()Gets the value.voidsetEvent(OnmsEvent event)voidsetName(String name)Sets the name.voidsetType(String type)Sets the type.voidsetValue(String value)Sets the value.
-
-
-
Method Detail
-
getEvent
public OnmsEvent getEvent()
-
setEvent
public void setEvent(OnmsEvent event)
-
getName
public String getName()
Gets the name.- Returns:
- the name
-
getValue
public String getValue()
Gets the value.- Returns:
- the value
-
setName
public void setName(String name)
Sets the name.- Parameters:
name- the new name
-
setValue
public void setValue(String value)
Sets the value.- Parameters:
value- the new value
-
getType
public String getType()
Gets the type.- Returns:
- the type
-
setType
public void setType(String type)
Sets the type.- Parameters:
type- the new type
-
-