Class ChangeDatabaseConditionLimit

    • Field Detail

      • m_OldLimit

        protected int m_OldLimit
        the old limit.
      • m_ChangeAll

        protected boolean m_ChangeAll
        whether to change all limits.
      • m_RegExp

        protected BaseRegExp m_RegExp
        the classnames to limit the change to.
      • m_NewLimit

        protected int m_NewLimit
        the new limit.
    • Constructor Detail

      • ChangeDatabaseConditionLimit

        public ChangeDatabaseConditionLimit()
    • Method Detail

      • setOldLimit

        public void setOldLimit​(int value)
        Sets the old limit to replace.
        Parameters:
        value - the old limit
      • getOldLimit

        public int getOldLimit()
        Returns the old limit to replace.
        Returns:
        the old limit
      • oldLimitTipText

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

        public void setChangeAll​(boolean value)
        Sets whether to change all limits, not just the ones that match the specified old limit.
        Parameters:
        value - true if change all
      • getChangeAll

        public boolean getChangeAll()
        Returns whether to change all limits, not just the ones that match the specified old limit.
        Returns:
        true if to change all
      • changeAllTipText

        public String changeAllTipText()
        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 apply to the classname of the conditions object for limiting the scope of the replacement.
        Parameters:
        value - the expression
      • getRegExp

        public BaseRegExp getRegExp()
        Returns the regular expression to apply to the classname of the conditions object for limiting the scope of the replacement.
        Returns:
        the expression
      • regExpTipText

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

        public void setNewLimit​(int value)
        Sets the new Limit to replace.
        Parameters:
        value - the new Limit
      • getNewLimit

        public int getNewLimit()
        Returns the new Limit to replace.
        Returns:
        the new Limit
      • newLimitTipText

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

        protected void processActor​(Actor actor)
        Performs the actual processing.
        Specified by:
        processActor in class AbstractActorProcessor
        Parameters:
        actor - the actor to process (is a copy of original for processors implementing ModifyingProcessor)
        See Also:
        ModifyingProcessor