Interface IDefinitionModel

    • Method Detail

      • getDefinition

        IContainerDefinition getDefinition()
        Returns the container definition.
        Returns:
        the container definition, can be null.
      • getObjects

        Collection<Object> getObjects()
        Returns the collection of editing objects.
        Returns:
        the collection, never null.
      • getRuleResult

        IRuleResult getRuleResult()
        Returns the rule result.
        Returns:
        the rule result, never null.
        See Also:
        IRuleResult
      • setRuleResult

        void setRuleResult​(IRuleResult ruleResult)
        Sets the rule result.
        Parameters:
        ruleResult - the rule result, cannot be null.
        See Also:
        IRuleResult
      • addRuleResultListener

        void addRuleResultListener​(IRuleResultListener listener)
        Adds the rule result listener.
        Parameters:
        listener - the listener to add, cannot be null.
      • removeRuleResultListener

        void removeRuleResultListener​(IRuleResultListener listener)
        Removes the rule result listener.
        Parameters:
        listener - the listener to remove, cannot be null.
      • setRuleResultProcessor

        void setRuleResultProcessor​(IRuleResultProcessor ruleResultProcessor)
        Sets the specified ruleResultProcessor to the model.
        Parameters:
        ruleResultProcessor - the IRuleResultProcessor instance, cannot be null.
      • addModel

        void addModel​(IModel model)
        Adds the given model to the current definition model.
        Parameters:
        model - the model to add, cannot be null.
      • removeModel

        void removeModel​(IModel model)
        Removes the given model from the current definition model.
        Parameters:
        model - the model to remove, cannot be null.