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 class
SuggestionResultType.PropInfo
-
Field Summary
Fields Modifier and Type Field Description protected List<String>
suggestion
protected String
term
-
Constructor Summary
Constructors Constructor Description SuggestionResultType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
clone()
Object
copyTo(Object target)
Object
copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy2 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.EqualsStrategy2 strategy)
List<String>
getSuggestion()
Gets the value of the suggestion property.String
getTerm()
Gets the value of the term property.int
hashCode()
int
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
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(String... values)
SuggestionResultType
withSuggestion(Collection<String> values)
SuggestionResultType
withTerm(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
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
-
isSetSuggestion
public boolean isSetSuggestion()
-
unsetSuggestion
public void unsetSuggestion()
-
copyTo
public Object copyTo(Object target)
- Specified by:
copyTo
in 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:
copyTo
in interfaceorg.jvnet.jaxb2_commons.lang.CopyTo2
-
createNewInstance
public Object createNewInstance()
- Specified by:
createNewInstance
in 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:
equals
in 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:
hashCode
in interfaceorg.jvnet.jaxb2_commons.lang.HashCode2
-
-