Interface QueryParameter
- All Known Subinterfaces:
ConditionQueryParameter
,MultipleValuesQueryParameter
,SingleValueQueryParameter
,ValuesRangeQueryParameter
An instance of a query parameter created by
QueryParameters
.
Actual data can be accessed only from extending interfaceds.- Since:
- UCMDB 9.0
-
Method Summary
-
Method Details
-
getType
QueryParameterType getType()- Returns:
- The type of this QueryParameter.
-
asSingleValueQueryParameter
- Returns:
- This QueryParameter as a SingleValueQueryParameter.
- Throws:
ClassCastException
- if the type is not QueryParameterType.SINGLE_VALUE.
-
asMultipleValuesQueryParameter
- Returns:
- This QueryParameter as a MultipleValuesQueryParameter.
- Throws:
ClassCastException
- if the type is not QueryParameterType.MULTIPLE_VALUES.
-
asValuesRangeQueryParameter
- Returns:
- This QueryParameter as a ValuesRangeQueryParameter.
- Throws:
ClassCastException
- if the type is not QueryParameterType.VALUES_RANGE.
-
asConditionQueryParameter
- Returns:
- This QueryParameter as a ConditionQueryParameter.
- Throws:
ClassCastException
- if the type is not QueryParameterType.CONDITION_REPLACEMENT.
-