org.opennms.web.map.config
Class Avail

java.lang.Object
  extended by 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)
           
 
Method Summary
 int compareTo(Object otherAvail)
          Compares the Avail to another in input by min.
 String getColor()
           
 int getId()
           
 int getMin()
           
 boolean isFlash()
           
 void setColor(String color)
           
 void setFlash(boolean flash)
           
 void setId(int id)
           
 void setMin(int min)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Avail

public Avail(int id,
             int min,
             String color)
Method Detail

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.