Package com.vidispine.generated
Class DurationType
java.lang.Object
com.vidispine.generated.DurationType
- 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
public class DurationType
extends Object
implements 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 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:
-
Nested Class Summary
Nested Classes -
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) Gets the value of the duration property.Gets the value of the stream property.int
hashCode()
int
hashCode
(org.jvnet.jaxb.locator.ObjectLocator locator, org.jvnet.jaxb.lang.HashCodeStrategy strategy) boolean
boolean
void
setDuration
(TimeCodeType value) Sets the value of the duration property.toString()
void
visit
(com.kscs.util.jaxb.PropertyVisitor _visitor_) withDuration
(TimeCodeType value) Sets the value of the duration property.withStream
(StreamIntervalType... values) Adds objects to the list of Stream using add methodwithStream
(Collection<StreamIntervalType> values) Adds objects to the list of Stream using addAll method
-
Field Details
-
duration
-
stream
-
-
Constructor Details
-
DurationType
public DurationType()
-
-
Method Details
-
getDuration
Gets the value of the duration property.- Returns:
- possible object is
TimeCodeType
-
setDuration
Sets the value of the duration property.- Parameters:
value
- allowed object isTimeCodeType
-
isSetDuration
public boolean isSetDuration() -
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
- Returns:
- The value of the stream property.
-
isSetStream
public boolean isSetStream() -
unsetStream
public void unsetStream() -
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
-
withDuration
Sets the value of the duration property.- Parameters:
value
- allowed object isTimeCodeType
- Returns:
- The class instance
-
withStream
Adds objects to the list of Stream using add method- Parameters:
values
- objects to add to the list Stream- Returns:
- The class instance
-
withStream
Adds objects to the list of Stream using addAll method- Parameters:
values
- objects to add to the list Stream- 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
-