Class MetadataType
- java.lang.Object
-
- com.vidispine.generated.MetadataType
-
- 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 MetadataType 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 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>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MetadataType.PropInfo
static class
MetadataType.Timespan
Java class for anonymous complex type.
-
Constructor Summary
Constructors Constructor Description MetadataType()
-
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>
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.int
hashCode()
int
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
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(String... values)
MetadataType
withGroup(Collection<String> values)
MetadataType
withRevision(String value)
MetadataType
withTemplate(String value)
MetadataType
withTimespan(MetadataType.Timespan... values)
MetadataType
withTimespan(Collection<MetadataType.Timespan> values)
-
-
-
Method Detail
-
getRevision
public String getRevision()
Gets the value of the revision property.- Returns:
- possible object is
String
-
setRevision
public void setRevision(String value)
Sets the value of the revision property.- Parameters:
value
- allowed object isString
-
isSetRevision
public boolean isSetRevision()
-
getTemplate
public String getTemplate()
Gets the value of the template property.- Returns:
- possible object is
String
-
setTemplate
public void setTemplate(String value)
Sets the value of the template property.- Parameters:
value
- allowed object isString
-
isSetTemplate
public boolean isSetTemplate()
-
getGroup
public List<String> getGroup()
Gets the value of the group 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 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
-
isSetGroup
public boolean isSetGroup()
-
unsetGroup
public void unsetGroup()
-
getTimespan
public List<MetadataType.Timespan> getTimespan()
Gets the value of the timespan 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 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
-
isSetTimespan
public boolean isSetTimespan()
-
unsetTimespan
public void unsetTimespan()
-
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
-
withRevision
public MetadataType withRevision(String value)
-
withTemplate
public MetadataType withTemplate(String value)
-
withGroup
public MetadataType withGroup(String... values)
-
withGroup
public MetadataType withGroup(Collection<String> values)
-
withTimespan
public MetadataType withTimespan(MetadataType.Timespan... values)
-
withTimespan
public MetadataType withTimespan(Collection<MetadataType.Timespan> 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 MetadataType 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
-
-