public class NameValue extends GenericModel
DialogService
.Constructor and Description |
---|
NameValue(String name,
String value)
Instantiates a new name value.
|
Modifier and Type | Method and Description |
---|---|
String |
getName()
Gets the name.
|
String |
getValue()
Gets the value.
|
NameValue |
name(String name)
Sets the name.
|
void |
setName(String name)
Sets the name.
|
void |
setValue(String value)
Sets the value.
|
NameValue |
value(String value)
Sets the value.
|
equals, hashCode, toString
public String getName()
public String getValue()
public void setName(String name)
name
- The namepublic void setValue(String value)
value
- The valuepublic NameValue name(String name)
name
- the nameCopyright © 2015–2016 IBM Watson. All rights reserved.