Class JDFNumberEvaluation

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, JDFBaseDataTypes, IStreamWriter, org.w3c.dom.Element, org.w3c.dom.ElementTraversal, org.w3c.dom.events.EventTarget, org.w3c.dom.Node, org.w3c.dom.NodeList, org.w3c.dom.TypeInfo

    public class JDFNumberEvaluation
    extends JDFEvaluation
    See Also:
    Serialized Form
    • Constructor Detail

      • JDFNumberEvaluation

        public JDFNumberEvaluation​(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
                                   java.lang.String qualifiedName)
        constructor for JDFNumberEvaluation
        Parameters:
        myOwnerDocument -
        qualifiedName -
      • JDFNumberEvaluation

        public JDFNumberEvaluation​(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
                                   java.lang.String myNamespaceURI,
                                   java.lang.String qualifiedName)
        constructor for JDFNumberEvaluation
        Parameters:
        myOwnerDocument -
        myNamespaceURI -
        qualifiedName -
      • JDFNumberEvaluation

        public JDFNumberEvaluation​(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
                                   java.lang.String myNamespaceURI,
                                   java.lang.String qualifiedName,
                                   java.lang.String myLocalName)
        constructor for JDFNumberEvaluation
        Parameters:
        myOwnerDocument -
        myNamespaceURI -
        qualifiedName -
        myLocalName -
    • Method Detail

      • toString

        public java.lang.String toString()
        toString
        Overrides:
        toString in class JDFEvaluation
        Returns:
        String
        See Also:
        Object.toString()
      • setTolerance

        public void setTolerance​(JDFXYPair value)
      • setValueMod

        public void setValueMod​(JDFXYPair value)
      • getValueMod

        public JDFXYPair getValueMod()
      • fitsValue

        public boolean fitsValue​(java.lang.String value)
        fitsValue - checks whether value matches the testlists specified for this Evaluation
        Specified by:
        fitsValue in class JDFEvaluation
        Parameters:
        value - value to test
        Returns:
        boolean - true, if value matches the testlists or if testlists are not specified
      • fitsTolerance

        public final JDFNumberRangeList fitsTolerance​(JDFNumberRangeList origRangeList)
        fitsTolerance - checks whether this Evaluation has a specified Tolerance that it is not equal to "0 0", and expands original the rangelist to the rangelist that fits Tolerance.
        Parameters:
        origRangeList - original rangelist
        Returns:
        NumberRangeList - expanded rangelist, returns original range if Tolerance=="0 0"