Class CriterionType

java.lang.Object
com.vidispine.generated.CriterionType
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
Direct Known Subclasses:
CollectionCriterionType, ItemCriterionType, ShapeCriterionType

public class CriterionType 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 CriterionType complex type

.

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


 <complexType name="CriterionType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="field" type="{http://xml.vidispine.com/schema/vidispine}SearchFieldType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="group" type="{http://xml.vidispine.com/schema/vidispine}SearchGroupType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="acl" type="{http://xml.vidispine.com/schema/vidispine}SearchAclType" minOccurs="0"/>
         <element name="operator" type="{http://xml.vidispine.com/schema/vidispine}SearchOperatorType" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
See Also:
  • Field Details

  • Constructor Details

    • CriterionType

      public CriterionType()
  • Method Details

    • getField

      public List<SearchFieldType> 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 SearchFieldType

      Returns:
      The value of the field property.
    • isSetField

      public boolean isSetField()
    • unsetField

      public void unsetField()
    • getGroup

      public List<SearchGroupType> 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 SearchGroupType

      Returns:
      The value of the group property.
    • isSetGroup

      public boolean isSetGroup()
    • unsetGroup

      public void unsetGroup()
    • getAcl

      public SearchAclType getAcl()
      Gets the value of the acl property.
      Returns:
      possible object is SearchAclType
    • setAcl

      public void setAcl(SearchAclType value)
      Sets the value of the acl property.
      Parameters:
      value - allowed object is SearchAclType
    • isSetAcl

      public boolean isSetAcl()
    • getOperator

      public SearchOperatorType getOperator()
      Gets the value of the operator property.
      Returns:
      possible object is SearchOperatorType
    • setOperator

      public void setOperator(SearchOperatorType value)
      Sets the value of the operator property.
      Parameters:
      value - allowed object is SearchOperatorType
    • isSetOperator

      public boolean isSetOperator()
    • 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 CriterionType withField(SearchFieldType... 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

      public CriterionType withField(Collection<SearchFieldType> values)
      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 CriterionType withGroup(SearchGroupType... 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

      public CriterionType withGroup(Collection<SearchGroupType> values)
      Adds objects to the list of Group using addAll method
      Parameters:
      values - objects to add to the list Group
      Returns:
      The class instance
    • withAcl

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

      public CriterionType withOperator(SearchOperatorType value)
      Sets the value of the operator property.
      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
    • equals

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

      public CriterionType 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