Package com.hp.ucmdb.api.topology
Interface CompletePropertyCondition
public interface CompletePropertyCondition
A condition on a property with respect to a fixed value.
-
Method Summary
Modifier and TypeMethodDescriptionIf this is a condition on a string property, changes the operator not to be case-sensitive.The name of this condition.operator()
The operator for this property condition.The property name for this property condition.The value for this property condition.withConditionName
(String conditionName) Assigns a name to this condition.
-
Method Details
-
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
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
Object propertyValue()The value for this property condition.- Returns:
- The value. If no value exists, returns null.
-
withConditionName
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:
-
conditionName
The name of this condition. SeewithConditionName(String)
for explanation of condition names.- Returns:
- the name for this condition.
- Since:
- UCMDB 9.0
-