Class TimespanType

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

.

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


 <complexType name="TimespanType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="operator" type="{http://xml.vidispine.com/schema/vidispine}OperatorType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="fields" type="{http://xml.vidispine.com/schema/vidispine}SearchFieldType" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 
See Also:
  • Field Details

  • Constructor Details

    • TimespanType

      public TimespanType()
  • Method Details

    • getOperator

      public List<OperatorType> getOperator()
      Gets the value of the operator 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 operator property.

      For example, to add a new item, do as follows:

       getOperator().add(newItem);
       

      Objects of the following type(s) are allowed in the list OperatorType

      Returns:
      The value of the operator property.
    • isSetOperator

      public boolean isSetOperator()
    • unsetOperator

      public void unsetOperator()
    • getFields

      public List<SearchFieldType> getFields()
      Gets the value of the fields 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 fields property.

      For example, to add a new item, do as follows:

       getFields().add(newItem);
       

      Objects of the following type(s) are allowed in the list SearchFieldType

      Returns:
      The value of the fields property.
    • isSetFields

      public boolean isSetFields()
    • unsetFields

      public void unsetFields()
    • getName

      public String getName()
      Gets the value of the name property.
      Returns:
      possible object is String
    • setName

      public void setName(String value)
      Sets the value of the name property.
      Parameters:
      value - allowed object is String
    • isSetName

      public boolean isSetName()
    • clone

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

      public Object copyTo(Object target)
      Specified by:
      copyTo in interface org.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 interface org.jvnet.jaxb.lang.CopyTo
    • createNewInstance

      public Object createNewInstance()
      Specified by:
      createNewInstance in interface org.jvnet.jaxb.lang.CopyTo
    • withOperator

      public TimespanType withOperator(OperatorType... values)
      Adds objects to the list of Operator using add method
      Parameters:
      values - objects to add to the list Operator
      Returns:
      The class instance
    • withOperator

      public TimespanType withOperator(Collection<OperatorType> values)
      Adds objects to the list of Operator using addAll method
      Parameters:
      values - objects to add to the list Operator
      Returns:
      The class instance
    • withFields

      public TimespanType withFields(SearchFieldType... values)
      Adds objects to the list of Fields using add method
      Parameters:
      values - objects to add to the list Fields
      Returns:
      The class instance
    • withFields

      public TimespanType withFields(Collection<SearchFieldType> values)
      Adds objects to the list of Fields using addAll method
      Parameters:
      values - objects to add to the list Fields
      Returns:
      The class instance
    • withName

      public TimespanType withName(String value)
      Sets the value of the name property.
      Parameters:
      value - allowed object is String
      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
    • equals

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

      public TimespanType visit(com.kscs.util.jaxb.PropertyVisitor _visitor_)
    • 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
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object
    • 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
    • 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