Class QueryWhereBuilder

    • Method Detail

      • equalsTo

        public QueryUriBuilder equalsTo​(Object value)
        Appends a "=" operator for the underlying property and the given value as oslc.where parameter in the URI builder.

        The value might be a URI, a String, a Number, a Boolean, a Date or an XMLLiteral. Any other type of object will be converted to a String representation.

        Parameters:
        value - a value to use as right operand
        Returns:
        the owning URI builder
        Throws:
        NullPointerException - if value is null
      • notEqualsTo

        public QueryUriBuilder notEqualsTo​(Object value)
        Appends a "!=" operator for the underlying property and the given value as oslc.where parameter in the URI builder.

        The value might be a URI, a String, a Number, a Boolean, a Date or an XMLLiteral. Any other type of object will be converted to a String representation.

        Parameters:
        value - a value to use as right operand
        Returns:
        the owning URI builder
        Throws:
        NullPointerException - if value is null
      • greaterThan

        public QueryUriBuilder greaterThan​(Object value)
        Appends a ">" operator for the underlying property and the given value as oslc.where parameter in the URI builder.

        The value might be a URI, a String, a Number, a Boolean, a Date or an XMLLiteral. Any other type of object will be converted to a String representation.

        Parameters:
        value - a value to use as right operand
        Returns:
        the owning URI builder
        Throws:
        NullPointerException - if value is null
      • greaterThanOrEqual

        public QueryUriBuilder greaterThanOrEqual​(Object value)
        Appends a ">=" operator for the underlying property and the given value as oslc.where parameter in the URI builder.

        The value might be a URI, a String, a Number, a Boolean, a Date or an XMLLiteral. Any other type of object will be converted to a String representation.

        Parameters:
        value - a value to use as right operand
        Returns:
        the owning URI builder
        Throws:
        NullPointerException - if value is null
      • lowerThan

        public QueryUriBuilder lowerThan​(Object value)
        Appends a "<" operator for the underlying property and the given value as oslc.where parameter in the URI builder.

        The value might be a URI, a String, a Number, a Boolean, a Date or an XMLLiteral. Any other type of object will be converted to a String representation.

        Parameters:
        value - a value to use as right operand
        Returns:
        the owning URI builder
        Throws:
        NullPointerException - if value is null
      • lowerThanOrEqual

        public QueryUriBuilder lowerThanOrEqual​(Object value)
        Appends a "<=" operator for the underlying property and the given value as oslc.where parameter in the URI builder.

        The value might be a URI, a String, a Number, a Boolean, a Date or an XMLLiteral. Any other type of object will be converted to a String representation.

        Parameters:
        value - a value to use as right operand
        Returns:
        the owning URI builder
        Throws:
        NullPointerException - if value is null
      • in

        public QueryUriBuilder in​(Collection<Object> values)
        Appends a "in" operator for the underlying property and the given values as oslc.where parameter in the URI builder.

        The values might be URI or String instances. Any other type of object will be converted to a String representation.

        Parameters:
        values - the values to use as "in" right operand
        Returns:
        the owning URI builder
        Throws:
        NullPointerException - if values is null