Class MetadataType
- All Implemented Interfaces:
Serializable
,Cloneable
,org.jvnet.jaxb.lang.CopyTo
,org.jvnet.jaxb.lang.Equals
,org.jvnet.jaxb.lang.HashCode
,org.jvnet.jaxb.lang.ToString
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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
Java class for anonymous complex type -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappend
(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy) appendFields
(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy) clone()
copyTo
(org.jvnet.jaxb.locator.ObjectLocator locator, Object target, org.jvnet.jaxb.lang.CopyStrategy strategy) boolean
boolean
equals
(org.jvnet.jaxb.locator.ObjectLocator thisLocator, org.jvnet.jaxb.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb.lang.EqualsStrategy strategy) getGroup()
Gets the value of the group property.Gets the value of the revision property.Gets the value of the template property.Gets the value of the timespan property.int
hashCode()
int
hashCode
(org.jvnet.jaxb.locator.ObjectLocator locator, org.jvnet.jaxb.lang.HashCodeStrategy strategy) boolean
boolean
boolean
boolean
void
setRevision
(String value) Sets the value of the revision property.void
setTemplate
(String value) Sets the value of the template property.toString()
void
void
visit
(com.kscs.util.jaxb.PropertyVisitor _visitor_) Adds objects to the list of Group using add methodwithGroup
(Collection<String> values) Adds objects to the list of Group using addAll methodwithRevision
(String value) Sets the value of the revision property.withTemplate
(String value) Sets the value of the template property.withTimespan
(MetadataType.Timespan... values) Adds objects to the list of Timespan using add methodwithTimespan
(Collection<MetadataType.Timespan> values) Adds objects to the list of Timespan using addAll method
-
Field Details
-
revision
-
template
-
group
-
timespan
-
-
Constructor Details
-
MetadataType
public MetadataType()
-
-
Method Details
-
getRevision
Gets the value of the revision property.- Returns:
- possible object is
String
-
setRevision
Sets the value of the revision property.- Parameters:
value
- allowed object isString
-
isSetRevision
public boolean isSetRevision() -
getTemplate
Gets the value of the template property.- Returns:
- possible object is
String
-
setTemplate
Sets the value of the template property.- Parameters:
value
- allowed object isString
-
isSetTemplate
public boolean isSetTemplate() -
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
- Returns:
- The value of the group property.
-
isSetGroup
public boolean isSetGroup() -
unsetGroup
public void unsetGroup() -
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
- Returns:
- The value of the timespan property.
-
isSetTimespan
public boolean isSetTimespan() -
unsetTimespan
public void unsetTimespan() -
clone
-
copyTo
- Specified by:
copyTo
in interfaceorg.jvnet.jaxb.lang.CopyTo
-
copyTo
public Object copyTo(org.jvnet.jaxb.locator.ObjectLocator locator, Object target, org.jvnet.jaxb.lang.CopyStrategy strategy) - Specified by:
copyTo
in interfaceorg.jvnet.jaxb.lang.CopyTo
-
createNewInstance
- Specified by:
createNewInstance
in interfaceorg.jvnet.jaxb.lang.CopyTo
-
withRevision
Sets the value of the revision property.- Parameters:
value
- allowed object isString
- Returns:
- The class instance
-
withTemplate
Sets the value of the template property.- Parameters:
value
- allowed object isString
- Returns:
- The class instance
-
withGroup
Adds objects to the list of Group using add method- Parameters:
values
- objects to add to the list Group- Returns:
- The class instance
-
withGroup
Adds objects to the list of Group using addAll method- Parameters:
values
- objects to add to the list Group- Returns:
- The class instance
-
withTimespan
Adds objects to the list of Timespan using add method- Parameters:
values
- objects to add to the list Timespan- Returns:
- The class instance
-
withTimespan
Adds objects to the list of Timespan using addAll method- Parameters:
values
- objects to add to the list Timespan- Returns:
- The class instance
-
equals
public boolean equals(org.jvnet.jaxb.locator.ObjectLocator thisLocator, org.jvnet.jaxb.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb.lang.EqualsStrategy strategy) - Specified by:
equals
in interfaceorg.jvnet.jaxb.lang.Equals
-
equals
-
visit
-
hashCode
public int hashCode(org.jvnet.jaxb.locator.ObjectLocator locator, org.jvnet.jaxb.lang.HashCodeStrategy strategy) - Specified by:
hashCode
in interfaceorg.jvnet.jaxb.lang.HashCode
-
hashCode
public int hashCode() -
toString
-
append
public StringBuilder append(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy) - Specified by:
append
in interfaceorg.jvnet.jaxb.lang.ToString
-
appendFields
public StringBuilder appendFields(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy) - Specified by:
appendFields
in interfaceorg.jvnet.jaxb.lang.ToString
-