Class PermutePropertyStringSet


public class PermutePropertyStringSet extends PermuteProperty<String>
Assigns each element from a set of strings to a particular property of a bean.
Author:
Owen Feehan
  • Constructor Details

    • PermutePropertyStringSet

      public PermutePropertyStringSet()
  • Method Details

    • propertyValues

      public Iterator<String> propertyValues()
      Description copied from class: PermuteProperty
      An iterator with possible alternative values for the property.
      Specified by:
      propertyValues in class PermuteProperty<String>
      Returns:
      a newly created iterator of all possible alternative values.
    • describePropertyValue

      public String describePropertyValue(String value)
      Description copied from class: PermuteProperty
      Describes a particular property-value in a unique but human-readable way.
      Specified by:
      describePropertyValue in class PermuteProperty<String>
      Parameters:
      value - the value to describe, which should one of the values returned by PermuteProperty.propertyValues().
      Returns:
      the description of value.
    • getValues

      public StringSet getValues()
      The respect string values to assign during the permutation.
    • setValues

      public void setValues(StringSet values)
      The respect string values to assign during the permutation.