public class Option extends Object
| Constructor and Description |
|---|
Option()
Instantiates a new option.
|
Option(String key,
String name,
HashMap<String,String> values,
String descriptionHtml)
Instantiates a new option.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDescriptionHtml()
Gets the description html.
|
String |
getKey()
Gets the key.
|
String |
getName()
Gets the name.
|
HashMap<String,String> |
getValues()
Gets the values.
|
void |
setDescriptionHtml(String descriptionHtml)
Sets the description html.
|
void |
setKey(String key)
Sets the key.
|
void |
setName(String name)
Sets the name.
|
void |
setValues(HashMap<String,String> values)
Sets the values.
|
String |
toString() |
Option |
withDescriptionHtml(String descriptionHtml)
With description html.
|
Option |
withKey(String key)
With key.
|
Option |
withName(String name)
With name.
|
Option |
withValue(String name,
String value)
With value.
|
Option |
withValues(HashMap<String,String> values)
With values.
|
public String getKey()
public void setKey(String key)
key - The keypublic String getName()
public void setName(String name)
name - The namepublic Option withName(String name)
name - the namepublic void setValues(HashMap<String,String> values)
values - The valuespublic Option withValues(HashMap<String,String> values)
values - the valuespublic Option withValue(String name, String value)
name - the namevalue - the valuepublic String getDescriptionHtml()
public void setDescriptionHtml(String descriptionHtml)
descriptionHtml - The description_htmlpublic Option withDescriptionHtml(String descriptionHtml)
descriptionHtml - the description htmlCopyright © 2015. All rights reserved.