Package io.vertigo.datamodel.criteria
Class CriteriaCtx
- java.lang.Object
-
- io.vertigo.datamodel.criteria.CriteriaCtx
-
public final class CriteriaCtx extends Object
Context of a criteria (Handles values of parameters for filtering)- Author:
- pchretien
-
-
Constructor Summary
Constructors Constructor Description CriteriaCtx()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
attributeName(DtFieldName dtFieldName, Object value)
Set<String>
getAttributeNames()
Return all attributes' names in this contextObject
getAttributeValue(String attributeName)
Return the value of an attribute in the contextDtFieldName
getDtFieldName(String attributeName)
Return the dtFieldName linked to an attribute name
-
-
-
Method Detail
-
attributeName
public String attributeName(DtFieldName dtFieldName, Object value)
-
getAttributeNames
public Set<String> getAttributeNames()
Return all attributes' names in this context- Returns:
- the set of all attributes' name
-
getDtFieldName
public DtFieldName getDtFieldName(String attributeName)
Return the dtFieldName linked to an attribute name- Parameters:
attributeName
- the name of the attribute- Returns:
- the corresponding DtFieldName
-
-