Class QueryWhereBuilder
oslc.where query parameter.- Since:
- 3.6.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionAppends a"="operator for the underlying property and the given value asoslc.whereparameter in the URI builder.greaterThan(Object value) Appends a">"operator for the underlying property and the given value asoslc.whereparameter in the URI builder.greaterThanOrEqual(Object value) Appends a">="operator for the underlying property and the given value asoslc.whereparameter in the URI builder.in(Collection<Object> values) Appends a"in"operator for the underlying property and the given values asoslc.whereparameter in the URI builder.Appends a"<"operator for the underlying property and the given value asoslc.whereparameter in the URI builder.lowerThanOrEqual(Object value) Appends a"<="operator for the underlying property and the given value asoslc.whereparameter in the URI builder.notEqualsTo(Object value) Appends a"!="operator for the underlying property and the given value asoslc.whereparameter in the URI builder.
-
Method Details
-
equalsTo
Appends a"="operator for the underlying property and the given value asoslc.whereparameter in the URI builder.The value might be a
URI, aString, aNumber, aBoolean, aDateor anXMLLiteral. Any other type of object will be converted to aStringrepresentation.- Parameters:
value- a value to use as right operand- Returns:
- the owning URI builder
- Throws:
NullPointerException- if value is null
-
notEqualsTo
Appends a"!="operator for the underlying property and the given value asoslc.whereparameter in the URI builder.The value might be a
URI, aString, aNumber, aBoolean, aDateor anXMLLiteral. Any other type of object will be converted to aStringrepresentation.- Parameters:
value- a value to use as right operand- Returns:
- the owning URI builder
- Throws:
NullPointerException- if value is null
-
greaterThan
Appends a">"operator for the underlying property and the given value asoslc.whereparameter in the URI builder.The value might be a
URI, aString, aNumber, aBoolean, aDateor anXMLLiteral. Any other type of object will be converted to aStringrepresentation.- Parameters:
value- a value to use as right operand- Returns:
- the owning URI builder
- Throws:
NullPointerException- if value is null
-
greaterThanOrEqual
Appends a">="operator for the underlying property and the given value asoslc.whereparameter in the URI builder.The value might be a
URI, aString, aNumber, aBoolean, aDateor anXMLLiteral. Any other type of object will be converted to aStringrepresentation.- Parameters:
value- a value to use as right operand- Returns:
- the owning URI builder
- Throws:
NullPointerException- if value is null
-
lowerThan
Appends a"<"operator for the underlying property and the given value asoslc.whereparameter in the URI builder.The value might be a
URI, aString, aNumber, aBoolean, aDateor anXMLLiteral. Any other type of object will be converted to aStringrepresentation.- Parameters:
value- a value to use as right operand- Returns:
- the owning URI builder
- Throws:
NullPointerException- if value is null
-
lowerThanOrEqual
Appends a"<="operator for the underlying property and the given value asoslc.whereparameter in the URI builder.The value might be a
URI, aString, aNumber, aBoolean, aDateor anXMLLiteral. Any other type of object will be converted to aStringrepresentation.- Parameters:
value- a value to use as right operand- Returns:
- the owning URI builder
- Throws:
NullPointerException- if value is null
-
in
Appends a"in"operator for the underlying property and the given values asoslc.whereparameter in the URI builder.The values might be
URIorStringinstances. Any other type of object will be converted to aStringrepresentation.- Parameters:
values- the values to use as"in"right operand- Returns:
- the owning URI builder
- Throws:
NullPointerException- if values is null
-