Class AxisValueCriterion

    • Constructor Detail

      • AxisValueCriterion

        public AxisValueCriterion​(String axisId,
                                  String valuePath)
        Constructs a new criterion on the specified axis' value
        Parameters:
        axisId - the unique identifier of the axis.
        valuePath - the path of the value of the axis above from the root axis value.
    • Method Detail

      • fromFlattenedAxisValues

        public static List<AxisValueCriterion> fromFlattenedAxisValues​(String flattenAxisValues)
        Converts the axis' values encoded into the specified string into a list of criterion on an axis' value.
        Parameters:
        flattenAxisValues - the string of comma-separated axis' values. Each value is represented by the token 'axis id':'value id' where the identifier of the value is its path from the root value of the axis it belongs to.
        Returns:
        a list of AxisValueCriterion instances for each value encoded into the string.
      • getValuePath

        public String getValuePath()
        Gets the path of the axis' value from the root axis' value.
        Returns:
        the value path.