Class QueryConstraintType


  • public class QueryConstraintType
    extends Object
    A search constraint that adheres to one of the following syntaxes: Filter - OGC filter expression CqlText - OGC CQL predicate

    Java class for QueryConstraintType complex type.

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

     <complexType name="QueryConstraintType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <choice>
             <element ref="{http://www.opengis.net/ogc}Filter"/>
             <element name="CqlText" type="{http://www.w3.org/2001/XMLSchema}string"/>
           </choice>
           <attribute name="version" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
         </restriction>
       </complexContent>
     </complexType>
     
    • Field Detail

      • filter

        protected Filter filter
      • cqlText

        protected String cqlText
      • version

        protected String version
    • Constructor Detail

      • QueryConstraintType

        public QueryConstraintType()
        Default no-arg constructor
      • QueryConstraintType

        public QueryConstraintType​(Filter filter,
                                   String cqlText,
                                   String version)
        Fully-initialising value constructor
    • Method Detail

      • getFilter

        public Filter getFilter()
        Gets the value of the filter property.
        Returns:
        possible object is Filter
      • setFilter

        public void setFilter​(Filter value)
        Sets the value of the filter property.
        Parameters:
        value - allowed object is Filter
      • getCqlText

        public String getCqlText()
        Gets the value of the cqlText property.
        Returns:
        possible object is String
      • setCqlText

        public void setCqlText​(String value)
        Sets the value of the cqlText property.
        Parameters:
        value - allowed object is String
      • getVersion

        public String getVersion()
        Gets the value of the version property.
        Returns:
        possible object is String
      • setVersion

        public void setVersion​(String value)
        Sets the value of the version property.
        Parameters:
        value - allowed object is String