Package generic.constraint
Class DecisionSet
java.lang.Object
generic.constraint.DecisionSet
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
-
Method Summary
Modifier and TypeMethodDescriptionReturns the name of the property that was scanned for in the decision tree.Returns a list of all the decisions whose descision path constraints matched the given test object.Returns a list of property values from decision paths that matched the constraints.boolean
isEmpty()
Returns true if this decisionSet has no results.
-
Constructor Details
-
DecisionSet
-
-
Method Details
-
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
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
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.
-