Package com.vidispine.generated
Class DurationType
- java.lang.Object
-
- com.vidispine.generated.DurationType
-
- 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 DurationType 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 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>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DurationType.PropInfo
-
Field Summary
Fields Modifier and Type Field Description protected TimeCodeType
duration
protected List<StreamIntervalType>
stream
-
Constructor Summary
Constructors Constructor Description DurationType()
-
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)
TimeCodeType
getDuration()
Gets the value of the duration property.List<StreamIntervalType>
getStream()
Gets the value of the stream property.int
hashCode()
int
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
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(StreamIntervalType... values)
DurationType
withStream(Collection<StreamIntervalType> values)
-
-
-
Field Detail
-
duration
protected TimeCodeType duration
-
stream
protected List<StreamIntervalType> stream
-
-
Method Detail
-
getDuration
public TimeCodeType getDuration()
Gets the value of the duration property.- Returns:
- possible object is
TimeCodeType
-
setDuration
public void setDuration(TimeCodeType value)
Sets the value of the duration property.- Parameters:
value
- allowed object isTimeCodeType
-
isSetDuration
public boolean isSetDuration()
-
getStream
public List<StreamIntervalType> getStream()
Gets the value of the stream 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 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
-
isSetStream
public boolean isSetStream()
-
unsetStream
public void unsetStream()
-
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
-
withDuration
public DurationType withDuration(TimeCodeType value)
-
withStream
public DurationType withStream(StreamIntervalType... values)
-
withStream
public DurationType withStream(Collection<StreamIntervalType> 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 DurationType 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
-
-