public class AutocompleteResponseType extends Object implements Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo, org.jvnet.jaxb2_commons.lang.Equals
Java class for AutocompleteResponseType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AutocompleteResponseType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="field" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <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 |
AutocompleteResponseType.PropInfo |
Modifier and Type | Field and Description |
---|---|
protected String |
field |
protected List<String> |
suggestion |
Constructor and Description |
---|
AutocompleteResponseType() |
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() |
boolean |
equals(Object object) |
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy) |
String |
getField()
Gets the value of the field property.
|
List<String> |
getSuggestion()
Gets the value of the suggestion property.
|
boolean |
isSetField() |
boolean |
isSetSuggestion() |
void |
setField(String value)
Sets the value of the field property.
|
void |
unsetSuggestion() |
AutocompleteResponseType |
visit(com.kscs.util.jaxb.PropertyVisitor _visitor_) |
AutocompleteResponseType |
withField(String value) |
AutocompleteResponseType |
withSuggestion(Collection<String> values) |
AutocompleteResponseType |
withSuggestion(String... values) |
public String getField()
String
public void setField(String value)
value
- allowed object is
String
public boolean isSetField()
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 AutocompleteResponseType withField(String value)
public AutocompleteResponseType withSuggestion(String... values)
public AutocompleteResponseType withSuggestion(Collection<String> values)
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
equals
in interface org.jvnet.jaxb2_commons.lang.Equals
public AutocompleteResponseType visit(com.kscs.util.jaxb.PropertyVisitor _visitor_)
Copyright © 2018. All rights reserved.