public class Option
extends Object
Constructor and Description |
---|
Option() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
Long |
getIndex()
The display order (ascending) of the option, when listed with the other options.
|
String |
getLabel()
The display name of the option.
|
int |
hashCode() |
Option |
setIndex(Long index)
The display order (ascending) of the option, when listed with the other options.
|
Option |
setLabel(String label)
The display name of the option.
|
String |
toString() |
public String getLabel()
public Long getIndex()
public Option setLabel(String label)
this
.public Option setIndex(Long index)
this
.public boolean equals(Object o)
equals
in class Object
protected boolean canEqual(Object other)
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object