Package io.vertigo.datamodel.criteria
Class CriteriaCtx
java.lang.Object
io.vertigo.datamodel.criteria.CriteriaCtx
Context of a criteria (Handles values of parameters for filtering)
- Author:
- pchretien
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionattributeName(DataFieldName dataFieldName, Object value) Return all attributes' names in this contextgetAttributeValue(String attributeName) Return the value of an attribute in the contextgetDataFieldName(String attributeName) Return the dtFieldName linked to an attribute name
-
Constructor Details
-
CriteriaCtx
public CriteriaCtx()
-
-
Method Details
-
attributeName
-
getAttributeNames
Return all attributes' names in this context- Returns:
- the set of all attributes' name
-
getDataFieldName
Return the dtFieldName linked to an attribute name- Parameters:
attributeName- the name of the attribute- Returns:
- the corresponding DataFieldName
-
getAttributeValue
Return the value of an attribute in the context- Parameters:
attributeName- the name of the attribute- Returns:
- the corresponding value
-