com.hp.ucmdb.api.topology
Interface CompletePropertyCondition


public interface CompletePropertyCondition

A condition on a property with respect to a fixed value.


Method Summary
 CompletePropertyCondition caseInsensitive()
          If this is a condition on a string property, changes the operator not to be case-sensitive.
 java.lang.String conditionName()
          The name of this condition.
 Operator operator()
          The operator for this property condition.
 java.lang.String propertyName()
          The property name for this property condition.
 java.lang.Object propertyValue()
          The value for this property condition.
 CompletePropertyCondition withConditionName(java.lang.String conditionName)
          Assigns a name to this condition.
 

Method Detail

caseInsensitive

CompletePropertyCondition caseInsensitive()
If this is a condition on a string property, changes the operator not to be case-sensitive. If not a string property, throws an exception.

Returns:
this condition.

propertyName

java.lang.String propertyName()
The property name for this property condition.

Returns:
the property name.

operator

Operator operator()
The operator for this property condition.

Returns:
the operator.

propertyValue

java.lang.Object propertyValue()
The value for this property condition.

Returns:
The value. If no value exists, returns null.

withConditionName

@NotFinalAPI
CompletePropertyCondition withConditionName(java.lang.String conditionName)
Assigns a name to this condition.

Condition names can be used to parameterize a query. Later, at execution time (using an ExecutableQuery) these conditions can be referred to, their values replaced, or the entire condition replaced.

If there is no condition name (value is null), this condition cannot be referred to at execution time.

Parameters:
conditionName - the name for this condition, or null if this condition should not be referred to on execution time.
Returns:
this condition.
Since:
UCMDB 9.0
See Also:
ExecutableQuery

conditionName

@NotFinalAPI
java.lang.String conditionName()
The name of this condition. See withConditionName(String) for explanation of condition names.

Returns:
the name for this condition.
Since:
UCMDB 9.0


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