public class Status extends Object implements Comparable<Status>
Status class.
| Constructor and Description |
|---|
Status(int id,
String uei,
String color,
String text)
Constructor for Status.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Status 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. |
public int compareTo(Status otherStatus)
compareTo in interface Comparable<Status>public void setColor(String color)
Setter for the field color.
color - a String object.public int getId()
Getter for the field id.
public void setId(int id)
Setter for the field id.
id - a int.public void setText(String text)
Setter for the field text.
text - a String object.Copyright © 2015. All rights reserved.