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
 CompletePropertyCondition after(java.util.Date date)
          Sets this condition to a "greater than" condition.
 CompletePropertyCondition afterOrOn(java.util.Date date)
          Sets this condition to a "greater than or equal to" condition.
 CompletePropertyCondition before(java.util.Date date)
          Sets this condition to a "less than" condition.
 CompletePropertyCondition beforeOrOn(java.util.Date date)
          Sets this condition to a "less than or equal to" condition.
 CompletePropertyCondition contains(int value)
          Sets this condition to a "contains" condition.
 CompletePropertyCondition contains(java.lang.String value)
          Sets this condition to a "contains" condition.
 CompletePropertyCondition greaterOrEqual(java.lang.Number value)
          Deprecated. since 8.0. Use greaterThanOrEqualTo(Number)
 CompletePropertyCondition greaterThan(java.lang.Number value)
          Sets this condition to a "greater than" condition.
 CompletePropertyCondition greaterThan(java.lang.String value)
          Sets this condition to a "greater than" condition.
 CompletePropertyCondition greaterThanOrEqualTo(java.lang.Number value)
          Sets this condition to a "greater than or equal to" condition.
 CompletePropertyCondition greaterThanOrEqualTo(java.lang.String value)
          Sets this condition to a "greater than or equal to" condition.
 CompletePropertyCondition in(java.util.Collection<?> value)
          Sets this condition to a "in collection" condition.
 CompletePropertyCondition in(int[] values)
          Sets this condition to a "in integer array" condition.
 CompletePropertyCondition in(java.lang.String[] values)
          Sets this condition to a "in String array" condition.
 CompletePropertyCondition isEqualTo(java.lang.Object value)
          Sets this condition to a "is equal to" condition.
 CompletePropertyCondition isNotEqualTo(java.lang.Object value)
          Sets this condition to a "is not equal to" condition.
 CompletePropertyCondition isNull()
          Sets this condition to a "is null" condition.
 CompletePropertyCondition lessThan(java.lang.Number value)
          Sets this condition to a "less than" condition.
 CompletePropertyCondition lessThan(java.lang.String value)
          Sets this condition to a "less than" condition.
 CompletePropertyCondition lessThanOrEqualTo(java.lang.Number value)
          Sets this condition to a "less than or equal to" condition.
 CompletePropertyCondition lessThanOrEqualTo(java.lang.String value)
          Sets this condition to a "less than or equal to" condition.
 CompletePropertyCondition like(java.lang.String value)
          Sets this condition to a "like" condition.
 

Method Detail

isNull

CompletePropertyCondition isNull()
Sets this condition to a "is null" condition.


isEqualTo

CompletePropertyCondition isEqualTo(java.lang.Object value)
Sets this condition to a "is equal to" condition.


isNotEqualTo

CompletePropertyCondition isNotEqualTo(java.lang.Object value)
Sets this condition to a "is not equal to" condition.


like

CompletePropertyCondition like(java.lang.String value)
Sets this condition to a "like" condition.


greaterThan

CompletePropertyCondition greaterThan(java.lang.Number value)
Sets this condition to a "greater than" condition.


greaterThan

CompletePropertyCondition greaterThan(java.lang.String value)
Sets this condition to a "greater than" condition.


after

CompletePropertyCondition after(java.util.Date date)
Sets this condition to a "greater than" condition.

Since:
8.0

greaterOrEqual

@Deprecated
CompletePropertyCondition greaterOrEqual(java.lang.Number value)
Deprecated. since 8.0. Use greaterThanOrEqualTo(Number)


greaterThanOrEqualTo

CompletePropertyCondition greaterThanOrEqualTo(java.lang.Number value)
Sets this condition to a "greater than or equal to" condition.


greaterThanOrEqualTo

CompletePropertyCondition greaterThanOrEqualTo(java.lang.String value)
Sets this condition to a "greater than or equal to" condition.


afterOrOn

CompletePropertyCondition afterOrOn(java.util.Date date)
Sets this condition to a "greater than or equal to" condition.

Since:
8.0

lessThan

CompletePropertyCondition lessThan(java.lang.Number value)
Sets this condition to a "less than" condition.


lessThan

CompletePropertyCondition lessThan(java.lang.String value)
Sets this condition to a "less than" condition.


before

CompletePropertyCondition before(java.util.Date date)
Sets this condition to a "less than" condition.

Since:
8.0

lessThanOrEqualTo

CompletePropertyCondition lessThanOrEqualTo(java.lang.Number value)
Sets this condition to a "less than or equal to" condition.


lessThanOrEqualTo

CompletePropertyCondition lessThanOrEqualTo(java.lang.String value)
Sets this condition to a "less than or equal to" condition.


beforeOrOn

CompletePropertyCondition beforeOrOn(java.util.Date date)
Sets this condition to a "less than or equal to" condition.

Since:
8.0

in

CompletePropertyCondition in(java.util.Collection<?> value)
Sets this condition to a "in collection" condition.


in

CompletePropertyCondition in(int[] values)
Sets this condition to a "in integer array" condition.


in

CompletePropertyCondition in(java.lang.String[] values)
Sets this condition to a "in String array" condition.


contains

CompletePropertyCondition contains(java.lang.String value)
Sets this condition to a "contains" condition. Can to applied to properties of type list.

Since:
8.0

contains

CompletePropertyCondition contains(int value)
Sets this condition to a "contains" condition. Can to applied to properties of type list.

Since:
8.0


Documentation Feedback
Copyright 2010 Hewlett-Packard Development Company, L.P.