Interface IDatastoreConditionDefinition
-
- All Known Implementing Classes:
DatastoreConditionDefinition
public interface IDatastoreConditionDefinition
Interface for the condition objects to be used when filling in the datastore query XML template.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getExpression()
Returns the datastore schema field selection expression.List<IDatastoreConditionDefinition>
getSubConditions()
Returns the list of subconditions, when the condition is of type 'and' or 'or'.String
getType()
Returns the type of the condition.List<com.quartetfs.fwk.impl.Pair<String,String>>
getValues()
Returns the list of pairs of XSI type definition and the condition value.void
setExpression(String expression)
Sets the datastore schema field selection expression.void
setSubConditions(List<IDatastoreConditionDefinition> subConditions)
Sets the list of subconditions, when the condition is of type 'and' or 'or'.void
setType(String type)
Sets the type of the condition.void
setValues(List<com.quartetfs.fwk.impl.Pair<String,String>> values)
Sets the list of pairs of XSI type definition and the condition value.
-
-
-
Method Detail
-
getType
String getType()
Returns the type of the condition.- Returns:
- The type.
-
setType
void setType(String type)
Sets the type of the condition.- Parameters:
type
- The type.
-
getSubConditions
List<IDatastoreConditionDefinition> getSubConditions()
Returns the list of subconditions, when the condition is of type 'and' or 'or'.- Returns:
- The list of subconditions.
-
setSubConditions
void setSubConditions(List<IDatastoreConditionDefinition> subConditions)
Sets the list of subconditions, when the condition is of type 'and' or 'or'.- Parameters:
subConditions
- The list of subconditions.
-
getExpression
String getExpression()
Returns the datastore schema field selection expression.- Returns:
- The expression.
-
setExpression
void setExpression(String expression)
Sets the datastore schema field selection expression.- Parameters:
expression
- The expression.
-
getValues
List<com.quartetfs.fwk.impl.Pair<String,String>> getValues()
Returns the list of pairs of XSI type definition and the condition value.- Returns:
- The list of type and value.
-
-