Class CollectionCriterionType

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

.

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


 <complexType name="CollectionCriterionType">
   <complexContent>
     <extension base="{http://xml.vidispine.com/schema/vidispine}CriterionType">
       <sequence>
         <element name="collection" type="{http://xml.vidispine.com/schema/vidispine}CollectionCriterionType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="item" type="{http://xml.vidispine.com/schema/vidispine}ItemCriterionType" minOccurs="0"/>
       </sequence>
       <attribute name="relation" type="{http://xml.vidispine.com/schema/vidispine}RelationType" />
     </extension>
   </complexContent>
 </complexType>
 
See Also:
  • Field Details

  • Constructor Details

    • CollectionCriterionType

      public CollectionCriterionType()
  • Method Details

    • getCollection

      public List<CollectionCriterionType> getCollection()
      Gets the value of the collection 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 collection property.

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

       getCollection().add(newItem);
       

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

      Returns:
      The value of the collection property.
    • isSetCollection

      public boolean isSetCollection()
    • unsetCollection

      public void unsetCollection()
    • getItem

      public ItemCriterionType getItem()
      Gets the value of the item property.
      Returns:
      possible object is ItemCriterionType
    • setItem

      public void setItem(ItemCriterionType value)
      Sets the value of the item property.
      Parameters:
      value - allowed object is ItemCriterionType
    • isSetItem

      public boolean isSetItem()
    • getRelation

      public RelationType getRelation()
      Gets the value of the relation property.
      Returns:
      possible object is RelationType
    • setRelation

      public void setRelation(RelationType value)
      Sets the value of the relation property.
      Parameters:
      value - allowed object is RelationType
    • isSetRelation

      public boolean isSetRelation()
    • clone

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

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

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

      public CollectionCriterionType withCollection(CollectionCriterionType... values)
      Adds objects to the list of Collection using add method
      Parameters:
      values - objects to add to the list Collection
      Returns:
      The class instance
    • withCollection

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

      public CollectionCriterionType withItem(ItemCriterionType value)
      Sets the value of the item property.
      Parameters:
      value - allowed object is ItemCriterionType
      Returns:
      The class instance
    • withRelation

      public CollectionCriterionType withRelation(RelationType value)
      Sets the value of the relation property.
      Parameters:
      value - allowed object is RelationType
      Returns:
      The class instance
    • withField

      public CollectionCriterionType withField(SearchFieldType... values)
      Adds objects to the list of Field using add method
      Overrides:
      withField in class CriterionType
      Parameters:
      values - objects to add to the list Field
      Returns:
      The class instance
    • withField

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

      public CollectionCriterionType withGroup(SearchGroupType... values)
      Adds objects to the list of Group using add method
      Overrides:
      withGroup in class CriterionType
      Parameters:
      values - objects to add to the list Group
      Returns:
      The class instance
    • withGroup

      Adds objects to the list of Group using addAll method
      Overrides:
      withGroup in class CriterionType
      Parameters:
      values - objects to add to the list Group
      Returns:
      The class instance
    • withAcl

      public CollectionCriterionType withAcl(SearchAclType value)
      Sets the value of the acl property.
      Overrides:
      withAcl in class CriterionType
      Parameters:
      value - allowed object is SearchAclType
      Returns:
      The class instance
    • withOperator

      public CollectionCriterionType withOperator(SearchOperatorType value)
      Sets the value of the operator property.
      Overrides:
      withOperator in class CriterionType
      Parameters:
      value - allowed object is SearchOperatorType
      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 CriterionType
    • equals

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

      public CollectionCriterionType visit(com.kscs.util.jaxb.PropertyVisitor _visitor_)
      Overrides:
      visit in class CriterionType
    • 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 CriterionType
    • hashCode

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

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