Class DecisionSet


  • public class DecisionSet
    extends java.lang.Object
    The result object returned from a scan of a decision tree looking for property values that match the constrains for some test object.
    • Constructor Summary

      Constructors 
      Constructor Description
      DecisionSet​(java.lang.String propertyName)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getDecisionPropertyName()
      Returns the name of the property that was scanned for in the decision tree.
      java.util.List<Decision> getDecisions()
      Returns a list of all the decisions whose descision path constraints matched the given test object.
      java.util.List<java.lang.String> getValues()
      Returns a list of property values from decision paths that matched the constraints.
      boolean isEmpty()
      Returns true if this decisionSet has no results.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DecisionSet

        public DecisionSet​(java.lang.String propertyName)
    • Method Detail

      • getDecisions

        public java.util.List<Decision> getDecisions()
        Returns a list of all the decisions whose descision path constraints matched the given test object.
        Returns:
        a list of all the decisions whose descision path constraints matched the given test object.
      • getValues

        public java.util.List<java.lang.String> getValues()
        Returns a list of property values from decision paths that matched the constraints.
        Returns:
        a list of property values from decision paths that matched the constraints.
      • getDecisionPropertyName

        public java.lang.String getDecisionPropertyName()
        Returns the name of the property that was scanned for in the decision tree.
        Returns:
        the name of the property that was scanned for in the decision tree.
      • isEmpty

        public boolean isEmpty()
        Returns true if this decisionSet has no results.
        Returns:
        true if this decisionSet has no results.