public static class MetadataType.Timespan 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="field" type="{http://xml.vidispine.com/schema/vidispine}MetadataFieldValueType" maxOccurs="unbounded" minOccurs="0"/>
<element name="group" type="{http://xml.vidispine.com/schema/vidispine}MetadataGroupValueType" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="start" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="end" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="base" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
base |
protected String |
end |
protected List<MetadataFieldValueType> |
field |
protected List<MetadataGroupValueType> |
group |
protected String |
start |
| Constructor and Description |
|---|
MetadataType.Timespan() |
| 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 |
getBase()
Gets the value of the base property.
|
String |
getEnd()
Gets the value of the end property.
|
List<MetadataFieldValueType> |
getField()
Gets the value of the field property.
|
List<MetadataGroupValueType> |
getGroup()
Gets the value of the group property.
|
String |
getStart()
Gets the value of the start property.
|
boolean |
isSetBase() |
boolean |
isSetEnd() |
boolean |
isSetField() |
boolean |
isSetGroup() |
boolean |
isSetStart() |
void |
setBase(String value)
Sets the value of the base property.
|
void |
setEnd(String value)
Sets the value of the end property.
|
void |
setStart(String value)
Sets the value of the start property.
|
void |
unsetField() |
void |
unsetGroup() |
MetadataType.Timespan |
withBase(String value) |
MetadataType.Timespan |
withEnd(String value) |
MetadataType.Timespan |
withField(Collection<MetadataFieldValueType> values) |
MetadataType.Timespan |
withField(MetadataFieldValueType... values) |
MetadataType.Timespan |
withGroup(Collection<MetadataGroupValueType> values) |
MetadataType.Timespan |
withGroup(MetadataGroupValueType... values) |
MetadataType.Timespan |
withStart(String value) |
protected List<MetadataFieldValueType> field
protected List<MetadataGroupValueType> group
protected String start
protected String end
protected String base
public List<MetadataFieldValueType> getField()
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 field property.
For example, to add a new item, do as follows:
getField().add(newItem);
Objects of the following type(s) are allowed in the list
MetadataFieldValueType
public boolean isSetField()
public void unsetField()
public List<MetadataGroupValueType> getGroup()
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 group property.
For example, to add a new item, do as follows:
getGroup().add(newItem);
Objects of the following type(s) are allowed in the list
MetadataGroupValueType
public boolean isSetGroup()
public void unsetGroup()
public String getStart()
Stringpublic void setStart(String value)
value - allowed object is
Stringpublic boolean isSetStart()
public void setEnd(String value)
value - allowed object is
Stringpublic boolean isSetEnd()
public String getBase()
Stringpublic void setBase(String value)
value - allowed object is
Stringpublic boolean isSetBase()
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 MetadataType.Timespan withField(MetadataFieldValueType... values)
public MetadataType.Timespan withField(Collection<MetadataFieldValueType> values)
public MetadataType.Timespan withGroup(MetadataGroupValueType... values)
public MetadataType.Timespan withGroup(Collection<MetadataGroupValueType> values)
public MetadataType.Timespan withStart(String value)
public MetadataType.Timespan withEnd(String value)
public MetadataType.Timespan withBase(String value)
Copyright © 2015. All rights reserved.