Class DecisionNode<T>

  • Type Parameters:
    T - the type of objects that the constraint operates on.
    Direct Known Subclasses:
    RootDecisionNode

    public class DecisionNode<T>
    extends java.lang.Object
    A node in a decision tree. Each node contains exactly one constraint and a map of property values.
    • Method Detail

      • setProperty

        public void setProperty​(java.lang.String propertyName,
                                java.lang.String value,
                                java.lang.String source)
                         throws XmlParseException
        Throws:
        XmlParseException
      • populateDecisions

        public boolean populateDecisions​(T t,
                                         DecisionSet decisionSet,
                                         java.lang.String propertyName)
      • getDecisionPath

        protected java.util.List<java.lang.String> getDecisionPath()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object