public class Suggestion extends Object implements Serializable
Java class for Suggestion complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Suggestion">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="SuggestionAsString" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="Replace" maxOccurs="unbounded" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="Lexeme" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="TagReference" type="{}TagReference" minOccurs="0"/>
<element name="Reference" type="{}Reference" minOccurs="0"/>
</sequence>
<attribute name="index" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
</restriction>
</complexContent>
</complexType>
</element>
<element name="ReplaceMapping" maxOccurs="unbounded" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="index" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
<attribute name="key" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
</element>
<element name="Swap" maxOccurs="unbounded" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="a" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
<attribute name="b" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Class and Description |
|---|---|
static class |
Suggestion.Replace
Java class for anonymous complex type.
|
static class |
Suggestion.ReplaceMapping
Java class for anonymous complex type.
|
static class |
Suggestion.Swap
Java class for anonymous complex type.
|
| Constructor and Description |
|---|
Suggestion() |
| Modifier and Type | Method and Description |
|---|---|
List<Suggestion.Replace> |
getReplace()
Gets the value of the replace property.
|
List<Suggestion.ReplaceMapping> |
getReplaceMapping()
Gets the value of the replaceMapping property.
|
String |
getSuggestionAsString()
Gets the value of the suggestionAsString property.
|
List<Suggestion.Swap> |
getSwap()
Gets the value of the swap property.
|
void |
setSuggestionAsString(String value)
Sets the value of the suggestionAsString property.
|
public String getSuggestionAsString()
Stringpublic void setSuggestionAsString(String value)
value - allowed object is
Stringpublic List<Suggestion.Replace> getReplace()
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 replace property.
For example, to add a new item, do as follows:
getReplace().add(newItem);
Objects of the following type(s) are allowed in the list
Suggestion.Replace
public List<Suggestion.ReplaceMapping> getReplaceMapping()
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 replaceMapping property.
For example, to add a new item, do as follows:
getReplaceMapping().add(newItem);
Objects of the following type(s) are allowed in the list
Suggestion.ReplaceMapping
public List<Suggestion.Swap> getSwap()
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 swap property.
For example, to add a new item, do as follows:
getSwap().add(newItem);
Objects of the following type(s) are allowed in the list
Suggestion.Swap
Copyright © 2012–2017 CoGrOO. All rights reserved.