public class ListItem extends Object
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="Value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="Text" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="Icon" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected String |
icon |
protected String |
text |
protected String |
value |
Constructor and Description |
---|
ListItem()
Default no-arg constructor
|
ListItem(String value,
String text,
String icon)
Fully-initialising value constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object that) |
String |
getIcon()
Gets the value of the icon property.
|
String |
getText()
Gets the value of the text property.
|
String |
getValue()
Gets the value of the value property.
|
int |
hashCode() |
void |
setIcon(String value)
Sets the value of the icon property.
|
void |
setText(String value)
Sets the value of the text property.
|
void |
setValue(String value)
Sets the value of the value property.
|
String |
toString() |
ListItem |
withIcon(String value) |
ListItem |
withText(String value) |
ListItem |
withValue(String value) |
public ListItem()
public String getValue()
String
public void setValue(String value)
value
- allowed object is
String
public String getText()
String
public void setText(String value)
value
- allowed object is
String
public String getIcon()
String
public void setIcon(String value)
value
- allowed object is
String
Copyright © 2019. All rights reserved.