Class StringMatcher

    • Field Detail

      • m_Field

        protected Field m_Field
        the name of the reference compound.
      • m_RegExp

        protected BaseRegExp m_RegExp
        the regular expression that the value must match.
      • m_Invert

        protected boolean m_Invert
        whether to invert the matching sense.
    • Constructor Detail

      • StringMatcher

        public StringMatcher()
    • Method Detail

      • setField

        public void setField​(Field value)
        Sets the reference, i.e., the class.
        Parameters:
        value - the reference
      • getField

        public Field getField()
        Returns the current reference (i.e., class).
        Returns:
        the reference
      • fieldTipText

        public String fieldTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the gui
      • setRegExp

        public void setRegExp​(BaseRegExp value)
        Sets the regular expression to match the strings against.
        Parameters:
        value - the regular expression
      • getRegExp

        public BaseRegExp getRegExp()
        Returns the regular expression to match the strings against.
        Returns:
        the regular expression
      • regExpTipText

        public String regExpTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setInvert

        public void setInvert​(boolean value)
        Sets whether to invert the matching sense.
        Parameters:
        value - true if inverting matching sense
      • getInvert

        public boolean getInvert()
        Returns whether to invert the matching sense.
        Returns:
        true if matching sense is inverted
      • invertTipText

        public String invertTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.