Class MetadataType.Timespan

java.lang.Object
com.vidispine.generated.MetadataType.Timespan
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
Enclosing class:
MetadataType

public static class MetadataType.Timespan 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 anonymous complex type

.

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


 <complexType>
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="field" type="{http://xml.vidispine.com/schema/vidispine}MetadataFieldValueType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="group" type="{http://xml.vidispine.com/schema/vidispine}MetadataGroupValueType" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="start" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="end" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="base" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 
See Also:
  • Field Details

  • Constructor Details

    • Timespan

      public Timespan()
  • Method Details

    • getField

      public List<MetadataFieldValueType> getField()
      Gets the value of the field 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 field property.

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

       getField().add(newItem);
       

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

      Returns:
      The value of the field property.
    • isSetField

      public boolean isSetField()
    • unsetField

      public void unsetField()
    • getGroup

      public List<MetadataGroupValueType> getGroup()
      Gets the value of the group 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 group property.

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

       getGroup().add(newItem);
       

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

      Returns:
      The value of the group property.
    • isSetGroup

      public boolean isSetGroup()
    • unsetGroup

      public void unsetGroup()
    • getStart

      public String getStart()
      Gets the value of the start property.
      Returns:
      possible object is String
    • setStart

      public void setStart(String value)
      Sets the value of the start property.
      Parameters:
      value - allowed object is String
    • isSetStart

      public boolean isSetStart()
    • getEnd

      public String getEnd()
      Gets the value of the end property.
      Returns:
      possible object is String
    • setEnd

      public void setEnd(String value)
      Sets the value of the end property.
      Parameters:
      value - allowed object is String
    • isSetEnd

      public boolean isSetEnd()
    • getBase

      public String getBase()
      Gets the value of the base property.
      Returns:
      possible object is String
    • setBase

      public void setBase(String value)
      Sets the value of the base property.
      Parameters:
      value - allowed object is String
    • isSetBase

      public boolean isSetBase()
    • 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
    • withField

      public MetadataType.Timespan withField(MetadataFieldValueType... values)
      Adds objects to the list of Field using add method
      Parameters:
      values - objects to add to the list Field
      Returns:
      The class instance
    • withField

      Adds objects to the list of Field using addAll method
      Parameters:
      values - objects to add to the list Field
      Returns:
      The class instance
    • withGroup

      public MetadataType.Timespan withGroup(MetadataGroupValueType... values)
      Adds objects to the list of Group using add method
      Parameters:
      values - objects to add to the list Group
      Returns:
      The class instance
    • withGroup

      Adds objects to the list of Group using addAll method
      Parameters:
      values - objects to add to the list Group
      Returns:
      The class instance
    • withStart

      public MetadataType.Timespan withStart(String value)
      Sets the value of the start property.
      Parameters:
      value - allowed object is String
      Returns:
      The class instance
    • withEnd

      public MetadataType.Timespan withEnd(String value)
      Sets the value of the end property.
      Parameters:
      value - allowed object is String
      Returns:
      The class instance
    • withBase

      public MetadataType.Timespan withBase(String value)
      Sets the value of the base 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 MetadataType.Timespan 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