Class GroupingExpression

  • All Implemented Interfaces:
    Serializable

    public class GroupingExpression
    extends Expression
    implements Serializable
    Expression type which represents a grouping of other nested expressions joined by the given operator.

    Example: ((<nestedExpr>) <operator> (<nestedExpr>) [<operator> (<nestedExpr>) ...])

    Java class for GroupingExpression complex type.

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

     <complexType name="GroupingExpression">
       <complexContent>
         <extension base="{}Expression">
           <sequence>
             <element name="nestedExpression" type="{}Expression" maxOccurs="unbounded" minOccurs="0"/>
           </sequence>
           <attribute name="operator" use="required" type="{}GroupingOperator" />
         </extension>
       </complexContent>
     </complexType>
     
    See Also:
    Serialized Form
    • Constructor Detail

      • GroupingExpression

        public GroupingExpression()
    • Method Detail

      • getNestedExpressions

        public List<Expression> getNestedExpressions()
        The nested expressions which will be joined by the defined logical operator.

        Gets the value of the nestedExpressions 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 nestedExpressions property.

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

            getNestedExpressions().add(newItem);
         

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

      • getOperator

        public GroupingOperator getOperator()
        The logical operator which will be used to join all the nested expressions.
        Returns:
        possible object is GroupingOperator
      • setOperator

        public void setOperator​(GroupingOperator value)
        Sets the value of the operator property.
        Parameters:
        value - allowed object is GroupingOperator
      • copy

        public GroupingExpression copy()
        Deep copies the fields of the this model into a new instance of this class and returns it.
        Overrides:
        copy in class Expression
      • copy

        public GroupingExpression copy​(boolean isDeep)
        Copies the fields of the this model (optionally deeply) into a new instance of this class and returns it.
        Specified by:
        copy in class Expression
      • copy

        protected GroupingExpression copy​(GroupingExpression nobj,
                                          boolean isDeep)
        Copies the fields of the this model (optionally deeply) into the given instance and returns it.
      • withNestedExpressions

        public GroupingExpression withNestedExpressions​(Expression... newValues)
        Adds the given newValues to the current nestedExpressions property List and returns this instance.
      • withNestedExpressions

        public GroupingExpression withNestedExpressions​(Collection<? extends Expression> newValues)
        Adds the given newValues to the current nestedExpressions property List and returns this instance.