Class BinaryComponentType

java.lang.Object
com.vidispine.generated.ComponentType
com.vidispine.generated.BinaryComponentType
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 BinaryComponentType extends ComponentType 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 BinaryComponentType complex type

.

The following schema fragment specifies the expected content contained within this class.


 <complexType name="BinaryComponentType">
   <complexContent>
     <extension base="{http://xml.vidispine.com/schema/vidispine}ComponentType">
       <sequence>
         <element name="format" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="encoding" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="offset" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
         <element name="length" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
         <element name="mediaInfo" type="{http://xml.vidispine.com/schema/vidispine}BaseMediaInfoType" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 
See Also:
  • Field Details

  • Constructor Details

    • BinaryComponentType

      public BinaryComponentType()
  • Method Details

    • getFormat

      public String getFormat()
      Gets the value of the format property.
      Returns:
      possible object is String
    • setFormat

      public void setFormat(String value)
      Sets the value of the format property.
      Parameters:
      value - allowed object is String
    • isSetFormat

      public boolean isSetFormat()
    • getEncoding

      public String getEncoding()
      Gets the value of the encoding property.
      Returns:
      possible object is String
    • setEncoding

      public void setEncoding(String value)
      Sets the value of the encoding property.
      Parameters:
      value - allowed object is String
    • isSetEncoding

      public boolean isSetEncoding()
    • getOffset

      public Long getOffset()
      Gets the value of the offset property.
      Returns:
      possible object is Long
    • setOffset

      public void setOffset(Long value)
      Sets the value of the offset property.
      Parameters:
      value - allowed object is Long
    • isSetOffset

      public boolean isSetOffset()
    • getLength

      public Long getLength()
      Gets the value of the length property.
      Returns:
      possible object is Long
    • setLength

      public void setLength(Long value)
      Sets the value of the length property.
      Parameters:
      value - allowed object is Long
    • isSetLength

      public boolean isSetLength()
    • getMediaInfo

      public BaseMediaInfoType getMediaInfo()
      Gets the value of the mediaInfo property.
      Returns:
      possible object is BaseMediaInfoType
    • setMediaInfo

      public void setMediaInfo(BaseMediaInfoType value)
      Sets the value of the mediaInfo property.
      Parameters:
      value - allowed object is BaseMediaInfoType
    • isSetMediaInfo

      public boolean isSetMediaInfo()
    • clone

      public Object clone()
      Overrides:
      clone in class ComponentType
    • copyTo

      public Object copyTo(Object target)
      Specified by:
      copyTo in interface org.jvnet.jaxb.lang.CopyTo
      Overrides:
      copyTo in class ComponentType
    • copyTo

      public Object copyTo(org.jvnet.jaxb.locator.ObjectLocator locator, Object target, org.jvnet.jaxb.lang.CopyStrategy strategy)
      Specified by:
      copyTo in interface org.jvnet.jaxb.lang.CopyTo
      Overrides:
      copyTo in class ComponentType
    • createNewInstance

      public Object createNewInstance()
      Specified by:
      createNewInstance in interface org.jvnet.jaxb.lang.CopyTo
      Overrides:
      createNewInstance in class ComponentType
    • withFormat

      public BinaryComponentType withFormat(String value)
      Sets the value of the format property.
      Parameters:
      value - allowed object is String
      Returns:
      The class instance
    • withEncoding

      public BinaryComponentType withEncoding(String value)
      Sets the value of the encoding property.
      Parameters:
      value - allowed object is String
      Returns:
      The class instance
    • withOffset

      public BinaryComponentType withOffset(Long value)
      Sets the value of the offset property.
      Parameters:
      value - allowed object is Long
      Returns:
      The class instance
    • withLength

      public BinaryComponentType withLength(Long value)
      Sets the value of the length property.
      Parameters:
      value - allowed object is Long
      Returns:
      The class instance
    • withMediaInfo

      public BinaryComponentType withMediaInfo(BaseMediaInfoType value)
      Sets the value of the mediaInfo property.
      Parameters:
      value - allowed object is BaseMediaInfoType
      Returns:
      The class instance
    • withFile

      public BinaryComponentType withFile(FileType... values)
      Adds objects to the list of File using add method
      Overrides:
      withFile in class ComponentType
      Parameters:
      values - objects to add to the list File
      Returns:
      The class instance
    • withFile

      public BinaryComponentType withFile(Collection<FileType> values)
      Adds objects to the list of File using addAll method
      Overrides:
      withFile in class ComponentType
      Parameters:
      values - objects to add to the list File
      Returns:
      The class instance
    • withId

      public BinaryComponentType withId(String value)
      Sets the value of the id property.
      Overrides:
      withId in class ComponentType
      Parameters:
      value - allowed object is String
      Returns:
      The class instance
    • withMetadata

      public BinaryComponentType withMetadata(KeyValuePairType... values)
      Adds objects to the list of Metadata using add method
      Overrides:
      withMetadata in class ComponentType
      Parameters:
      values - objects to add to the list Metadata
      Returns:
      The class instance
    • withMetadata

      public BinaryComponentType withMetadata(Collection<KeyValuePairType> values)
      Adds objects to the list of Metadata using addAll method
      Overrides:
      withMetadata in class ComponentType
      Parameters:
      values - objects to add to the list Metadata
      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 interface org.jvnet.jaxb.lang.Equals
      Overrides:
      equals in class ComponentType
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class ComponentType
    • visit

      public BinaryComponentType visit(com.kscs.util.jaxb.PropertyVisitor _visitor_)
      Overrides:
      visit in class ComponentType
    • hashCode

      public int hashCode(org.jvnet.jaxb.locator.ObjectLocator locator, org.jvnet.jaxb.lang.HashCodeStrategy strategy)
      Specified by:
      hashCode in interface org.jvnet.jaxb.lang.HashCode
      Overrides:
      hashCode in class ComponentType
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class ComponentType
    • toString

      public String toString()
      Overrides:
      toString in class ComponentType
    • append

      public StringBuilder append(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy)
      Specified by:
      append in interface org.jvnet.jaxb.lang.ToString
      Overrides:
      append in class ComponentType
    • appendFields

      public StringBuilder appendFields(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy)
      Specified by:
      appendFields in interface org.jvnet.jaxb.lang.ToString
      Overrides:
      appendFields in class ComponentType