public class DurationType extends Object implements Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo
Java class for DurationType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="DurationType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="duration" type="{http://xml.vidispine.com/schema/vidispine}TimeCodeType"/> <element name="stream" type="{http://xml.vidispine.com/schema/vidispine}StreamIntervalType" maxOccurs="unbounded"/> </sequence> </restriction> </complexContent> </complexType>
Modifier and Type | Class and Description |
---|---|
static class |
DurationType.PropInfo |
Modifier and Type | Field and Description |
---|---|
protected TimeCodeType |
duration |
protected List<StreamIntervalType> |
stream |
Constructor and Description |
---|
DurationType() |
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() |
TimeCodeType |
getDuration()
Gets the value of the duration property.
|
List<StreamIntervalType> |
getStream()
Gets the value of the stream property.
|
boolean |
isSetDuration() |
boolean |
isSetStream() |
void |
setDuration(TimeCodeType value)
Sets the value of the duration property.
|
void |
unsetStream() |
DurationType |
visit(com.kscs.util.jaxb.PropertyVisitor _visitor_) |
DurationType |
withDuration(TimeCodeType value) |
DurationType |
withStream(Collection<StreamIntervalType> values) |
DurationType |
withStream(StreamIntervalType... values) |
protected TimeCodeType duration
protected List<StreamIntervalType> stream
public TimeCodeType getDuration()
TimeCodeType
public void setDuration(TimeCodeType value)
value
- allowed object is
TimeCodeType
public boolean isSetDuration()
public List<StreamIntervalType> getStream()
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 stream property.
For example, to add a new item, do as follows:
getStream().add(newItem);
Objects of the following type(s) are allowed in the list
StreamIntervalType
public boolean isSetStream()
public void unsetStream()
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 DurationType withDuration(TimeCodeType value)
public DurationType withStream(StreamIntervalType... values)
public DurationType withStream(Collection<StreamIntervalType> values)
public DurationType visit(com.kscs.util.jaxb.PropertyVisitor _visitor_)
Copyright © 2017. All rights reserved.