org.opennms.web.map.config
Class Severity
java.lang.Object
org.opennms.web.map.config.Severity
- All Implemented Interfaces:
- Comparable
public class Severity
- extends Object
- implements Comparable
- Author:
- mmigliore
TODO To change the template for this generated type comment go to
Window - Preferences - Java - Code Style - Code Templates
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Severity
public Severity(int id,
String label,
String color)
- Parameters:
id - label - color -
compareTo
public int compareTo(Object otherSev)
- Compares the Severity to another in input by ids.
- Specified by:
compareTo in interface Comparable
getColor
public String getColor()
setColor
public void setColor(String color)
getId
public int getId()
setId
public void setId(int id)
getLabel
public String getLabel()
setLabel
public void setLabel(String label)
isFlash
public boolean isFlash()
setFlash
public void setFlash(boolean flash)
Copyright © 2009. All Rights Reserved.