org.opennms.web.map.config
Class Status

java.lang.Object
  extended by org.opennms.web.map.config.Status
All Implemented Interfaces:
Comparable

public class Status
extends Object
implements Comparable

Status class.

Since:
1.8.1
Version:
$Id: $
Author:
mmigliore TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Style - Code Templates

Constructor Summary
Status(int id, String uei, String color, String text)
          Constructor for Status.
 
Method Summary
 int compareTo(Object otherStatus)
           Compares the Status to another in input by id.
 String getColor()
          Getter for the field color.
 int getId()
          Getter for the field id.
 String getText()
          Getter for the field text.
 String getUei()
          Getter for the field uei.
 void setColor(String color)
          Setter for the field color.
 void setId(int id)
          Setter for the field id.
 void setText(String text)
          Setter for the field text.
 void setUei(String uei)
          Setter for the field uei.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Status

public Status(int id,
              String uei,
              String color,
              String text)

Constructor for Status.

Parameters:
id - a int.
uei - a String object.
color - a String object.
text - a String object.
Method Detail

compareTo

public int compareTo(Object otherStatus)
Compares the Status to another in input by id.

Specified by:
compareTo in interface Comparable

getColor

public String getColor()

Getter for the field color.

Returns:
a String object.

setColor

public void setColor(String color)

Setter for the field color.

Parameters:
color - a String object.

getId

public int getId()

Getter for the field id.

Returns:
a int.

setId

public void setId(int id)

Setter for the field id.

Parameters:
id - a int.

getText

public String getText()

Getter for the field text.

Returns:
a String object.

setText

public void setText(String text)

Setter for the field text.

Parameters:
text - a String object.

getUei

public String getUei()

Getter for the field uei.

Returns:
a String object.

setUei

public void setUei(String uei)

Setter for the field uei.

Parameters:
uei - a String object.


Copyright © 2011. All Rights Reserved.