Package com.vidispine.generated
Class SuggestionResultType
java.lang.Object
com.vidispine.generated.SuggestionResultType
- All Implemented Interfaces:
Serializable,Cloneable,org.jvnet.jaxb.lang.CopyTo,org.jvnet.jaxb.lang.Equals,org.jvnet.jaxb.lang.HashCode,org.jvnet.jaxb.lang.ToString
public class SuggestionResultType
extends Object
implements Serializable, Cloneable, org.jvnet.jaxb.lang.CopyTo, org.jvnet.jaxb.lang.Equals, org.jvnet.jaxb.lang.HashCode, org.jvnet.jaxb.lang.ToString
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>
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappend(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy) appendFields(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy) clone()copyTo(org.jvnet.jaxb.locator.ObjectLocator locator, Object target, org.jvnet.jaxb.lang.CopyStrategy strategy) booleanbooleanequals(org.jvnet.jaxb.locator.ObjectLocator thisLocator, org.jvnet.jaxb.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb.lang.EqualsStrategy strategy) Gets the value of the suggestion property.getTerm()Gets the value of the term property.inthashCode()inthashCode(org.jvnet.jaxb.locator.ObjectLocator locator, org.jvnet.jaxb.lang.HashCodeStrategy strategy) booleanbooleanvoidSets the value of the term property.toString()voidvisit(com.kscs.util.jaxb.PropertyVisitor _visitor_) withSuggestion(String... values) Adds objects to the list of Suggestion using add methodwithSuggestion(Collection<String> values) Adds objects to the list of Suggestion using addAll methodSets the value of the term property.
-
Field Details
-
term
-
suggestion
-
-
Constructor Details
-
SuggestionResultType
public SuggestionResultType()
-
-
Method Details
-
getTerm
Gets the value of the term property.- Returns:
- possible object is
String
-
setTerm
Sets the value of the term property.- Parameters:
value- allowed object isString
-
isSetTerm
public boolean isSetTerm() -
getSuggestion
Gets the value of the suggestion property.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
setmethod 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- Returns:
- The value of the suggestion property.
-
isSetSuggestion
public boolean isSetSuggestion() -
unsetSuggestion
public void unsetSuggestion() -
clone
-
copyTo
- Specified by:
copyToin interfaceorg.jvnet.jaxb.lang.CopyTo
-
copyTo
public Object copyTo(org.jvnet.jaxb.locator.ObjectLocator locator, Object target, org.jvnet.jaxb.lang.CopyStrategy strategy) - Specified by:
copyToin interfaceorg.jvnet.jaxb.lang.CopyTo
-
createNewInstance
- Specified by:
createNewInstancein interfaceorg.jvnet.jaxb.lang.CopyTo
-
withTerm
Sets the value of the term property.- Parameters:
value- allowed object isString- Returns:
- The class instance
-
withSuggestion
Adds objects to the list of Suggestion using add method- Parameters:
values- objects to add to the list Suggestion- Returns:
- The class instance
-
withSuggestion
Adds objects to the list of Suggestion using addAll method- Parameters:
values- objects to add to the list Suggestion- Returns:
- The class instance
-
equals
public boolean equals(org.jvnet.jaxb.locator.ObjectLocator thisLocator, org.jvnet.jaxb.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb.lang.EqualsStrategy strategy) - Specified by:
equalsin interfaceorg.jvnet.jaxb.lang.Equals
-
equals
-
visit
-
hashCode
public int hashCode(org.jvnet.jaxb.locator.ObjectLocator locator, org.jvnet.jaxb.lang.HashCodeStrategy strategy) - Specified by:
hashCodein interfaceorg.jvnet.jaxb.lang.HashCode
-
hashCode
public int hashCode() -
toString
-
append
public StringBuilder append(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy) - Specified by:
appendin interfaceorg.jvnet.jaxb.lang.ToString
-
appendFields
public StringBuilder appendFields(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy) - Specified by:
appendFieldsin interfaceorg.jvnet.jaxb.lang.ToString
-