Class CollectionType

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

.

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


 <complexType name="CollectionType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="loc" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
         <element name="id" type="{http://xml.vidispine.com/schema/vidispine}SiteIdType" minOccurs="0"/>
         <element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="content" type="{http://xml.vidispine.com/schema/vidispine}CollectionContentType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="project" type="{http://xml.vidispine.com/schema/vidispine}ProjectType" minOccurs="0"/>
         <element name="sequence" type="{http://xml.vidispine.com/schema/vidispine}SequenceType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="metadata" type="{http://xml.vidispine.com/schema/vidispine}MetadataType" minOccurs="0"/>
         <element name="terse" type="{http://xml.vidispine.com/schema/vidispine}GenericType" minOccurs="0"/>
         <element name="merged-access" type="{http://xml.vidispine.com/schema/vidispine}AccessControlMergedType" minOccurs="0"/>
         <element name="externalId" type="{http://xml.vidispine.com/schema/vidispine}ExternalIdentifierType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="timespan" maxOccurs="unbounded" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="field" maxOccurs="unbounded" minOccurs="0">
                     <complexType>
                       <complexContent>
                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                           <sequence>
                             <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
                             <element name="value" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
                           </sequence>
                         </restriction>
                       </complexContent>
                     </complexType>
                   </element>
                 </sequence>
                 <attribute name="start" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
                 <attribute name="end" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
               </restriction>
             </complexContent>
           </complexType>
         </element>
       </sequence>
       <attribute name="absoluteTime" type="{http://www.w3.org/2001/XMLSchema}boolean" />
     </restriction>
   </complexContent>
 </complexType>
 
See Also:
  • Field Details

  • Constructor Details

    • CollectionType

      public CollectionType()
  • Method Details

    • getLoc

      public String getLoc()
      Gets the value of the loc property.
      Returns:
      possible object is String
    • setLoc

      public void setLoc(String value)
      Sets the value of the loc property.
      Parameters:
      value - allowed object is String
    • isSetLoc

      public boolean isSetLoc()
    • getId

      public String getId()
      Gets the value of the id property.
      Returns:
      possible object is String
    • setId

      public void setId(String value)
      Sets the value of the id property.
      Parameters:
      value - allowed object is String
    • isSetId

      public boolean isSetId()
    • 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()
    • getContent

      public List<CollectionContentType> getContent()
      Gets the value of the content 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 content property.

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

       getContent().add(newItem);
       

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

      Returns:
      The value of the content property.
    • isSetContent

      public boolean isSetContent()
    • unsetContent

      public void unsetContent()
    • getProject

      public ProjectType getProject()
      Gets the value of the project property.
      Returns:
      possible object is ProjectType
    • setProject

      public void setProject(ProjectType value)
      Sets the value of the project property.
      Parameters:
      value - allowed object is ProjectType
    • isSetProject

      public boolean isSetProject()
    • getSequence

      public List<SequenceType> getSequence()
      Gets the value of the sequence 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 sequence property.

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

       getSequence().add(newItem);
       

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

      Returns:
      The value of the sequence property.
    • isSetSequence

      public boolean isSetSequence()
    • unsetSequence

      public void unsetSequence()
    • getMetadata

      public MetadataType getMetadata()
      Gets the value of the metadata property.
      Returns:
      possible object is MetadataType
    • setMetadata

      public void setMetadata(MetadataType value)
      Sets the value of the metadata property.
      Parameters:
      value - allowed object is MetadataType
    • isSetMetadata

      public boolean isSetMetadata()
    • getTerse

      public GenericType getTerse()
      Gets the value of the terse property.
      Returns:
      possible object is GenericType
    • setTerse

      public void setTerse(GenericType value)
      Sets the value of the terse property.
      Parameters:
      value - allowed object is GenericType
    • isSetTerse

      public boolean isSetTerse()
    • getMergedAccess

      public AccessControlMergedType getMergedAccess()
      Gets the value of the mergedAccess property.
      Returns:
      possible object is AccessControlMergedType
    • setMergedAccess

      public void setMergedAccess(AccessControlMergedType value)
      Sets the value of the mergedAccess property.
      Parameters:
      value - allowed object is AccessControlMergedType
    • isSetMergedAccess

      public boolean isSetMergedAccess()
    • getExternalId

      public List<ExternalIdentifierType> getExternalId()
      Gets the value of the externalId 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 externalId property.

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

       getExternalId().add(newItem);
       

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

      Returns:
      The value of the externalId property.
    • isSetExternalId

      public boolean isSetExternalId()
    • unsetExternalId

      public void unsetExternalId()
    • getTimespan

      public List<CollectionType.Timespan> getTimespan()
      Gets the value of the timespan 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 timespan property.

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

       getTimespan().add(newItem);
       

      Objects of the following type(s) are allowed in the list CollectionType.Timespan

      Returns:
      The value of the timespan property.
    • isSetTimespan

      public boolean isSetTimespan()
    • unsetTimespan

      public void unsetTimespan()
    • isAbsoluteTime

      public boolean isAbsoluteTime()
      Gets the value of the absoluteTime property.
      Returns:
      possible object is Boolean
    • setAbsoluteTime

      public void setAbsoluteTime(boolean value)
      Sets the value of the absoluteTime property.
      Parameters:
      value - allowed object is Boolean
    • isSetAbsoluteTime

      public boolean isSetAbsoluteTime()
    • unsetAbsoluteTime

      public void unsetAbsoluteTime()
    • 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
    • withLoc

      public CollectionType withLoc(String value)
      Sets the value of the loc property.
      Parameters:
      value - allowed object is String
      Returns:
      The class instance
    • withId

      public CollectionType withId(String value)
      Sets the value of the id property.
      Parameters:
      value - allowed object is String
      Returns:
      The class instance
    • withName

      public CollectionType withName(String value)
      Sets the value of the name property.
      Parameters:
      value - allowed object is String
      Returns:
      The class instance
    • withContent

      public CollectionType withContent(CollectionContentType... values)
      Adds objects to the list of Content using add method
      Parameters:
      values - objects to add to the list Content
      Returns:
      The class instance
    • withContent

      public CollectionType withContent(Collection<CollectionContentType> values)
      Adds objects to the list of Content using addAll method
      Parameters:
      values - objects to add to the list Content
      Returns:
      The class instance
    • withProject

      public CollectionType withProject(ProjectType value)
      Sets the value of the project property.
      Parameters:
      value - allowed object is ProjectType
      Returns:
      The class instance
    • withSequence

      public CollectionType withSequence(SequenceType... values)
      Adds objects to the list of Sequence using add method
      Parameters:
      values - objects to add to the list Sequence
      Returns:
      The class instance
    • withSequence

      public CollectionType withSequence(Collection<SequenceType> values)
      Adds objects to the list of Sequence using addAll method
      Parameters:
      values - objects to add to the list Sequence
      Returns:
      The class instance
    • withMetadata

      public CollectionType withMetadata(MetadataType value)
      Sets the value of the metadata property.
      Parameters:
      value - allowed object is MetadataType
      Returns:
      The class instance
    • withTerse

      public CollectionType withTerse(GenericType value)
      Sets the value of the terse property.
      Parameters:
      value - allowed object is GenericType
      Returns:
      The class instance
    • withMergedAccess

      public CollectionType withMergedAccess(AccessControlMergedType value)
      Sets the value of the mergedAccess property.
      Parameters:
      value - allowed object is AccessControlMergedType
      Returns:
      The class instance
    • withExternalId

      public CollectionType withExternalId(ExternalIdentifierType... values)
      Adds objects to the list of ExternalId using add method
      Parameters:
      values - objects to add to the list ExternalId
      Returns:
      The class instance
    • withExternalId

      public CollectionType withExternalId(Collection<ExternalIdentifierType> values)
      Adds objects to the list of ExternalId using addAll method
      Parameters:
      values - objects to add to the list ExternalId
      Returns:
      The class instance
    • withTimespan

      public CollectionType withTimespan(CollectionType.Timespan... values)
      Adds objects to the list of Timespan using add method
      Parameters:
      values - objects to add to the list Timespan
      Returns:
      The class instance
    • withTimespan

      public CollectionType withTimespan(Collection<CollectionType.Timespan> values)
      Adds objects to the list of Timespan using addAll method
      Parameters:
      values - objects to add to the list Timespan
      Returns:
      The class instance
    • withAbsoluteTime

      public CollectionType withAbsoluteTime(boolean value)
      Sets the value of the absoluteTime property.
      Parameters:
      value - allowed object is boolean
      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 CollectionType 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