Class Mapping
- java.lang.Object
-
- org.opennms.netmgt.config.translator.Mapping
-
- All Implemented Interfaces:
Serializable
public class Mapping extends Object implements 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(Object obj)
List<Assignment>
getAssignments()
Boolean
getPreserveSnmpData()
int
hashCode()
boolean
removeAssignment(Assignment assignment)
void
setAssignments(List<Assignment> assignments)
void
setPreserveSnmpData(Boolean preserveSnmpData)
-
-
-
Method Detail
-
getPreserveSnmpData
public Boolean getPreserveSnmpData()
-
setPreserveSnmpData
public void setPreserveSnmpData(Boolean preserveSnmpData)
-
getAssignments
public List<Assignment> getAssignments()
-
setAssignments
public void setAssignments(List<Assignment> assignments)
-
addAssignment
public void addAssignment(Assignment assignment)
-
removeAssignment
public boolean removeAssignment(Assignment assignment)
-
-