public static class SearchResultEntryTimespanType.Field extends Object implements Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="value" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
name |
protected List<String> |
value |
| Constructor and Description |
|---|
SearchResultEntryTimespanType.Field() |
| 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() |
String |
getName()
Gets the value of the name property.
|
List<String> |
getValue()
Gets the value of the value property.
|
boolean |
isSetName() |
boolean |
isSetValue() |
void |
setName(String value)
Sets the value of the name property.
|
void |
unsetValue() |
SearchResultEntryTimespanType.Field |
withName(String value) |
SearchResultEntryTimespanType.Field |
withValue(Collection<String> values) |
SearchResultEntryTimespanType.Field |
withValue(String... values) |
public String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic boolean isSetName()
public List<String> getValue()
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 value property.
For example, to add a new item, do as follows:
getValue().add(newItem);
Objects of the following type(s) are allowed in the list
String
public boolean isSetValue()
public void unsetValue()
public Object copyTo(Object target)
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTopublic 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.CopyTopublic Object createNewInstance()
createNewInstance in interface org.jvnet.jaxb2_commons.lang.CopyTopublic SearchResultEntryTimespanType.Field withName(String value)
public SearchResultEntryTimespanType.Field withValue(String... values)
public SearchResultEntryTimespanType.Field withValue(Collection<String> values)
Copyright © 2015. All rights reserved.