public class SuggestionResultType extends Object implements Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo
Java class for SuggestionResultType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="SuggestionResultType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="term" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="suggestion" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
Modifier and Type | Class and Description |
---|---|
static class |
SuggestionResultType.PropInfo |
Modifier and Type | Field and Description |
---|---|
protected List<String> |
suggestion |
protected String |
term |
Constructor and Description |
---|
SuggestionResultType() |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
Object |
copyTo(Object target) |
Object |
copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
Object target,
org.jvnet.jaxb2_commons.lang.CopyStrategy strategy) |
Object |
createNewInstance() |
List<String> |
getSuggestion()
Gets the value of the suggestion property.
|
String |
getTerm()
Gets the value of the term property.
|
boolean |
isSetSuggestion() |
boolean |
isSetTerm() |
void |
setTerm(String value)
Sets the value of the term property.
|
void |
unsetSuggestion() |
SuggestionResultType |
visit(com.kscs.util.jaxb.PropertyVisitor _visitor_) |
SuggestionResultType |
withSuggestion(Collection<String> values) |
SuggestionResultType |
withSuggestion(String... values) |
SuggestionResultType |
withTerm(String value) |
public String getTerm()
String
public void setTerm(String value)
value
- allowed object is
String
public boolean isSetTerm()
public List<String> getSuggestion()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the suggestion property.
For example, to add a new item, do as follows:
getSuggestion().add(newItem);
Objects of the following type(s) are allowed in the list
String
public boolean isSetSuggestion()
public void unsetSuggestion()
public Object copyTo(Object target)
copyTo
in interface org.jvnet.jaxb2_commons.lang.CopyTo
public Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy strategy)
copyTo
in interface org.jvnet.jaxb2_commons.lang.CopyTo
public Object createNewInstance()
createNewInstance
in interface org.jvnet.jaxb2_commons.lang.CopyTo
public SuggestionResultType withTerm(String value)
public SuggestionResultType withSuggestion(String... values)
public SuggestionResultType withSuggestion(Collection<String> values)
public SuggestionResultType visit(com.kscs.util.jaxb.PropertyVisitor _visitor_)
Copyright © 2017. All rights reserved.