Package com.hp.ucmdb.api.topology
Interface IncompletePropertyCondition
public interface IncompletePropertyCondition
A factory-like interface that serves as a starting point for forming
a proper condition on a property.
The condition can be either a fixed value or a parameter.
Note: It is possible to give null values to all methods if a condition name is later set using
CompletePropertyCondition.withConditionName(String)
. If no condition name is set,
a validation error occurs on save or execute.
This has the effect of creating a "template":
a query that cannot be run but can be parameterized on execution using
ExecutableQuery.queryParameters()
.-
Method Summary
Modifier and TypeMethodDescriptionSets this condition to a "greater than" condition.Sets this condition to a "greater than or equal to" condition.Sets this condition to a "less than" condition.beforeOrOn
(Date date) Sets this condition to a "less than or equal to" condition.contains
(int value) Sets this condition to a "contains" condition.Sets this condition to a "contains" condition.containsAny
(Collection<String> values) Sets this condition to a "containsAny" condition.greaterOrEqual
(Number value) Deprecated.since 8.0.greaterThan
(Number value) Sets this condition to a "greater than" condition.greaterThan
(String value) Sets this condition to a "greater than" condition.greaterThanOrEqualTo
(Number value) Sets this condition to a "greater than or equal to" condition.greaterThanOrEqualTo
(String value) Sets this condition to a "greater than or equal to" condition.in
(int[] values) Sets this condition to a "in integer array" condition.Sets this condition to a "in String array" condition.in
(Collection<?> value) Sets this condition to a "in collection" condition.Sets this condition to a "is equal to" condition.isNotEqualTo
(Object value) Sets this condition to a "is not equal to" condition.isNull()
Sets this condition to a "is null" condition.Sets this condition to a "less than" condition.Sets this condition to a "less than" condition.lessThanOrEqualTo
(Number value) Sets this condition to a "less than or equal to" condition.lessThanOrEqualTo
(String value) Sets this condition to a "less than or equal to" condition.Sets this condition to a "like" condition.
-
Method Details
-
isNull
CompletePropertyCondition isNull()Sets this condition to a "is null" condition. -
isEqualTo
Sets this condition to a "is equal to" condition. -
isNotEqualTo
Sets this condition to a "is not equal to" condition. -
like
Sets this condition to a "like" condition. -
greaterThan
Sets this condition to a "greater than" condition. -
greaterThan
Sets this condition to a "greater than" condition. -
after
Sets this condition to a "greater than" condition.- Since:
- 8.0
-
greaterOrEqual
Deprecated.since 8.0. UsegreaterThanOrEqualTo(Number)
-
greaterThanOrEqualTo
Sets this condition to a "greater than or equal to" condition. -
greaterThanOrEqualTo
Sets this condition to a "greater than or equal to" condition. -
afterOrOn
Sets this condition to a "greater than or equal to" condition.- Since:
- 8.0
-
lessThan
Sets this condition to a "less than" condition. -
lessThan
Sets this condition to a "less than" condition. -
before
Sets this condition to a "less than" condition.- Since:
- 8.0
-
lessThanOrEqualTo
Sets this condition to a "less than or equal to" condition. -
lessThanOrEqualTo
Sets this condition to a "less than or equal to" condition. -
beforeOrOn
Sets this condition to a "less than or equal to" condition.- Since:
- 8.0
-
in
Sets this condition to a "in collection" condition. -
in
Sets this condition to a "in integer array" condition. -
in
Sets this condition to a "in String array" condition. -
contains
Sets this condition to a "contains" condition. Can to applied to properties of type list.- Since:
- 8.0
-
contains
Sets this condition to a "contains" condition. Can to applied to properties of type list.- Since:
- 8.0
-
containsAny
Sets this condition to a "containsAny" condition. Can to applied to properties of type list.- Since:
- 10.0
-