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 Details

    • CriteriaCtx

      public CriteriaCtx()
  • Method Details

    • attributeName

      public String attributeName(DataFieldName dataFieldName, Object value)
    • getAttributeNames

      public Set<String> getAttributeNames()
      Return all attributes' names in this context
      Returns:
      the set of all attributes' name
    • getDataFieldName

      public DataFieldName getDataFieldName(String attributeName)
      Return the dtFieldName linked to an attribute name
      Parameters:
      attributeName - the name of the attribute
      Returns:
      the corresponding DataFieldName
    • getAttributeValue

      public Object getAttributeValue(String attributeName)
      Return the value of an attribute in the context
      Parameters:
      attributeName - the name of the attribute
      Returns:
      the corresponding value