public class MetadataType extends Object implements Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo
Java class for MetadataType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="MetadataType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="revision" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="template" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="group" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> <element name="timespan" maxOccurs="unbounded" minOccurs="0"> <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> </element> </sequence> </restriction> </complexContent> </complexType>
Modifier and Type | Class and Description |
---|---|
static class |
MetadataType.PropInfo |
static class |
MetadataType.Timespan
Java class for anonymous complex type.
|
Modifier and Type | Field and Description |
---|---|
protected List<String> |
group |
protected String |
revision |
protected String |
template |
protected List<MetadataType.Timespan> |
timespan |
Constructor and Description |
---|
MetadataType() |
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() |
List<String> |
getGroup()
Gets the value of the group property.
|
String |
getRevision()
Gets the value of the revision property.
|
String |
getTemplate()
Gets the value of the template property.
|
List<MetadataType.Timespan> |
getTimespan()
Gets the value of the timespan property.
|
boolean |
isSetGroup() |
boolean |
isSetRevision() |
boolean |
isSetTemplate() |
boolean |
isSetTimespan() |
void |
setRevision(String value)
Sets the value of the revision property.
|
void |
setTemplate(String value)
Sets the value of the template property.
|
void |
unsetGroup() |
void |
unsetTimespan() |
MetadataType |
visit(com.kscs.util.jaxb.PropertyVisitor _visitor_) |
MetadataType |
withGroup(Collection<String> values) |
MetadataType |
withGroup(String... values) |
MetadataType |
withRevision(String value) |
MetadataType |
withTemplate(String value) |
MetadataType |
withTimespan(Collection<MetadataType.Timespan> values) |
MetadataType |
withTimespan(MetadataType.Timespan... values) |
protected String revision
protected String template
protected List<MetadataType.Timespan> timespan
public String getRevision()
String
public void setRevision(String value)
value
- allowed object is
String
public boolean isSetRevision()
public String getTemplate()
String
public void setTemplate(String value)
value
- allowed object is
String
public boolean isSetTemplate()
public List<String> 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
String
public boolean isSetGroup()
public void unsetGroup()
public List<MetadataType.Timespan> getTimespan()
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 timespan property.
For example, to add a new item, do as follows:
getTimespan().add(newItem);
Objects of the following type(s) are allowed in the list
MetadataType.Timespan
public boolean isSetTimespan()
public void unsetTimespan()
public Object copyTo(Object target)
copyTo
in interface org.jvnet.jaxb2_commons.lang.CopyTo
public 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.CopyTo
public Object createNewInstance()
createNewInstance
in interface org.jvnet.jaxb2_commons.lang.CopyTo
public MetadataType withRevision(String value)
public MetadataType withTemplate(String value)
public MetadataType withGroup(String... values)
public MetadataType withGroup(Collection<String> values)
public MetadataType withTimespan(MetadataType.Timespan... values)
public MetadataType withTimespan(Collection<MetadataType.Timespan> values)
public MetadataType visit(com.kscs.util.jaxb.PropertyVisitor _visitor_)
Copyright © 2017. All rights reserved.