Class MetadataType.Timespan
- java.lang.Object
-
- com.vidispine.generated.MetadataType.Timespan
-
- All Implemented Interfaces:
Serializable,Cloneable,org.jvnet.jaxb2_commons.lang.CopyTo2,org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2
- Enclosing class:
- MetadataType
public static class MetadataType.Timespan 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 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>- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMetadataType.Timespan.PropInfo
-
Constructor Summary
Constructors Constructor Description Timespan()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectclone()ObjectcopyTo(Object target)ObjectcopyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy2 strategy)ObjectcreateNewInstance()booleanequals(Object object)booleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)StringgetBase()Gets the value of the base property.StringgetEnd()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.StringgetStart()Gets the value of the start property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)booleanisSetBase()booleanisSetEnd()booleanisSetField()booleanisSetGroup()booleanisSetStart()voidsetBase(String value)Sets the value of the base property.voidsetEnd(String value)Sets the value of the end property.voidsetStart(String value)Sets the value of the start property.voidunsetField()voidunsetGroup()MetadataType.Timespanvisit(com.kscs.util.jaxb.PropertyVisitor _visitor_)MetadataType.TimespanwithBase(String value)MetadataType.TimespanwithEnd(String value)MetadataType.TimespanwithField(MetadataFieldValueType... values)MetadataType.TimespanwithField(Collection<MetadataFieldValueType> values)MetadataType.TimespanwithGroup(MetadataGroupValueType... values)MetadataType.TimespanwithGroup(Collection<MetadataGroupValueType> values)MetadataType.TimespanwithStart(String value)
-
-
-
Field Detail
-
field
protected List<MetadataFieldValueType> field
-
group
protected List<MetadataGroupValueType> group
-
start
protected String start
-
end
protected String end
-
base
protected String base
-
-
Method Detail
-
getField
public List<MetadataFieldValueType> getField()
Gets the value of the field 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
setmethod 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
-
isSetField
public boolean isSetField()
-
unsetField
public void unsetField()
-
getGroup
public List<MetadataGroupValueType> 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
setmethod 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
-
isSetGroup
public boolean isSetGroup()
-
unsetGroup
public void unsetGroup()
-
getStart
public String getStart()
Gets the value of the start property.- Returns:
- possible object is
String
-
setStart
public void setStart(String value)
Sets the value of the start property.- Parameters:
value- allowed object isString
-
isSetStart
public boolean isSetStart()
-
getEnd
public String getEnd()
Gets the value of the end property.- Returns:
- possible object is
String
-
setEnd
public void setEnd(String value)
Sets the value of the end property.- Parameters:
value- allowed object isString
-
isSetEnd
public boolean isSetEnd()
-
getBase
public String getBase()
Gets the value of the base property.- Returns:
- possible object is
String
-
setBase
public void setBase(String value)
Sets the value of the base property.- Parameters:
value- allowed object isString
-
isSetBase
public boolean isSetBase()
-
copyTo
public Object copyTo(Object target)
- Specified by:
copyToin 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:
copyToin interfaceorg.jvnet.jaxb2_commons.lang.CopyTo2
-
createNewInstance
public Object createNewInstance()
- Specified by:
createNewInstancein interfaceorg.jvnet.jaxb2_commons.lang.CopyTo2
-
withField
public MetadataType.Timespan withField(MetadataFieldValueType... values)
-
withField
public MetadataType.Timespan withField(Collection<MetadataFieldValueType> values)
-
withGroup
public MetadataType.Timespan withGroup(MetadataGroupValueType... values)
-
withGroup
public MetadataType.Timespan withGroup(Collection<MetadataGroupValueType> values)
-
withStart
public MetadataType.Timespan withStart(String value)
-
withEnd
public MetadataType.Timespan withEnd(String value)
-
withBase
public MetadataType.Timespan withBase(String value)
-
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:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2
-
visit
public MetadataType.Timespan 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:
hashCodein interfaceorg.jvnet.jaxb2_commons.lang.HashCode2
-
-