Class Mapping
- java.lang.Object
-
- org.opennms.netmgt.config.translator.Mapping
-
- All Implemented Interfaces:
java.io.Serializable
public class Mapping extends java.lang.Object implements java.io.Serializable
A mapping for a given event. This translation is only applied if it is the first that matches- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Mapping()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addAssignment(Assignment assignment)
boolean
equals(java.lang.Object obj)
java.util.List<Assignment>
getAssignments()
java.lang.Boolean
getPreserveSnmpData()
int
hashCode()
boolean
removeAssignment(Assignment assignment)
void
setAssignments(java.util.List<Assignment> assignments)
void
setPreserveSnmpData(java.lang.Boolean preserveSnmpData)
-
-
-
Method Detail
-
getPreserveSnmpData
public java.lang.Boolean getPreserveSnmpData()
-
setPreserveSnmpData
public void setPreserveSnmpData(java.lang.Boolean preserveSnmpData)
-
getAssignments
public java.util.List<Assignment> getAssignments()
-
setAssignments
public void setAssignments(java.util.List<Assignment> assignments)
-
addAssignment
public void addAssignment(Assignment assignment)
-
removeAssignment
public boolean removeAssignment(Assignment assignment)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-