Package com.vidispine.generated
Class SuggestionResultType
- java.lang.Object
-
- com.vidispine.generated.SuggestionResultType
-
- All Implemented Interfaces:
Serializable,Cloneable,org.jvnet.jaxb2_commons.lang.CopyTo2,org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2
public class SuggestionResultType extends Object implements Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo2, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2
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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSuggestionResultType.PropInfo
-
Field Summary
Fields Modifier and Type Field Description protected List<String>suggestionprotected Stringterm
-
Constructor Summary
Constructors Constructor Description SuggestionResultType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectclone()ObjectcopyTo(Object target)ObjectcopyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy2 strategy)ObjectcreateNewInstance()booleanequals(Object object)booleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)List<String>getSuggestion()Gets the value of the suggestion property.StringgetTerm()Gets the value of the term property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)booleanisSetSuggestion()booleanisSetTerm()voidsetTerm(String value)Sets the value of the term property.voidunsetSuggestion()SuggestionResultTypevisit(com.kscs.util.jaxb.PropertyVisitor _visitor_)SuggestionResultTypewithSuggestion(String... values)SuggestionResultTypewithSuggestion(Collection<String> values)SuggestionResultTypewithTerm(String value)
-
-
-
Method Detail
-
getTerm
public String getTerm()
Gets the value of the term property.- Returns:
- possible object is
String
-
setTerm
public void setTerm(String value)
Sets the value of the term property.- Parameters:
value- allowed object isString
-
isSetTerm
public boolean isSetTerm()
-
getSuggestion
public List<String> 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
-
isSetSuggestion
public boolean isSetSuggestion()
-
unsetSuggestion
public void unsetSuggestion()
-
copyTo
public Object copyTo(Object target)
- Specified by:
copyToin interfaceorg.jvnet.jaxb2_commons.lang.CopyTo2
-
copyTo
public Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy2 strategy)
- Specified by:
copyToin interfaceorg.jvnet.jaxb2_commons.lang.CopyTo2
-
createNewInstance
public Object createNewInstance()
- Specified by:
createNewInstancein interfaceorg.jvnet.jaxb2_commons.lang.CopyTo2
-
withTerm
public SuggestionResultType withTerm(String value)
-
withSuggestion
public SuggestionResultType withSuggestion(String... values)
-
withSuggestion
public SuggestionResultType withSuggestion(Collection<String> values)
-
equals
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)- Specified by:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2
-
visit
public SuggestionResultType visit(com.kscs.util.jaxb.PropertyVisitor _visitor_)
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)- Specified by:
hashCodein interfaceorg.jvnet.jaxb2_commons.lang.HashCode2
-
-