Class EventTranslationSpec
- java.lang.Object
-
- org.opennms.netmgt.config.translator.EventTranslationSpec
-
- All Implemented Interfaces:
java.io.Serializable
public class EventTranslationSpec extends java.lang.Object implements java.io.Serializable
This defines the allowable translations for a given event uei- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EventTranslationSpec()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addMapping(Mapping mapping)
boolean
equals(java.lang.Object obj)
java.util.List<Mapping>
getMappings()
java.lang.String
getUei()
int
hashCode()
boolean
removeMapping(Mapping mapping)
void
setMappings(java.util.List<Mapping> mappings)
void
setUei(java.lang.String uei)
-
-
-
Method Detail
-
getUei
public java.lang.String getUei()
-
setUei
public void setUei(java.lang.String uei)
-
getMappings
public java.util.List<Mapping> getMappings()
-
setMappings
public void setMappings(java.util.List<Mapping> mappings)
-
addMapping
public void addMapping(Mapping mapping)
-
removeMapping
public boolean removeMapping(Mapping mapping)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-