org.opennms.web.map.config
Class Avail
java.lang.Object
org.opennms.web.map.config.Avail
- All Implemented Interfaces:
- Comparable
public class Avail
- 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
|
Constructor Summary |
Avail(int id,
int min,
String color)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Avail
public Avail(int id,
int min,
String color)
compareTo
public int compareTo(Object otherAvail)
- Compares the Avail to another in input by min.
- 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)
getMin
public int getMin()
setMin
public void setMin(int min)
isFlash
public boolean isFlash()
setFlash
public void setFlash(boolean flash)
Copyright © 2009. All Rights Reserved.