ilog.rules.studio.model

Interface IlrRuleModel

    • Method Detail

      • getModelListeners

        org.eclipse.emf.common.util.EList<IlrModelListener> getModelListeners()
        Returns the value of the 'Model Listeners' attribute list.

        The list contents are of type IlrModelListener.

        Gets the list of listeners of this model. You can add your own listeners of the model by adding elements to this list.

        Returns:
        the value of the 'Model Listeners' attribute list.
      • setRuleModelMutex

        void setRuleModelMutex(java.lang.Object value)
        Sets the value of the 'Rule Model Mutex' attribute.

        Parameters:
        value - the new value of the 'Rule Model Mutex' attribute.
        See Also:
        getRuleModelMutex()
      • getRuleMetaModel

        IlrRuleMetaModel getRuleMetaModel()
        Returns the meta model of this model.
      • createElement

        @Deprecated
        IlrElement createElement(java.lang.String name,
                                          java.lang.String className,
                                          IlrElement parent,
                                          org.eclipse.emf.ecore.EReference containment,
                                          int index)
        Deprecated. Use the constructors in the different model factories such as IlrBaseFactory.createRuleProject().
        Generic constructor to create an element in the rule model.

        It creates an element name of type className. This element is held by the reference containment of the parent parent at the index index.

      • getModelClassifier

        @Deprecated
        org.eclipse.emf.ecore.EClassifier getModelClassifier(java.lang.String identifier)
        Deprecated. Use IlrRuleMetaModel.getEClassifier(String) instead.
        Gets the classifier identifier of the meta-model of Rule Designer.
      • getModelFeature

        @Deprecated
        org.eclipse.emf.ecore.EStructuralFeature getModelFeature(java.lang.String identifier)
        Gets the feature identifier of the meta-model of Rule Designer.
      • getElement

        IlrElement getElement(java.lang.String identifier)
        Gets an element from its UUID.

      • getElementByType

        IlrElement getElementByType(org.eclipse.emf.ecore.EClassifier classifier,
                                  java.lang.String name)
        Gets the first element named name of type classifier in the Rule Model.

      • getElementsByType

        org.eclipse.emf.common.util.EList<IlrElement> getElementsByType(org.eclipse.emf.ecore.EClassifier classifier)
        Gets all IlrElement of type classifier.

      • getRuleProject

        IlrRuleProject getRuleProject(java.lang.String name)
        Gets the rule project named name.

      • getRuleProjects

        org.eclipse.emf.common.util.EList<IlrRuleProject> getRuleProjects()
        Gets all the rule projects.

        Returns a collection of IlrRuleProject.

      • isDuplicated

        boolean isDuplicated(IlrElement element)
        Specifies whether this element is duplicated in the model.

        Elements are duplicated when there exists another element in the model with the same UUID as this element. Duplicated elements are not considered as valid elements by the model.

      • getEClassifier

        @Deprecated
        org.eclipse.emf.ecore.EClassifier getEClassifier(java.lang.String fullyQualifiedName)
        Deprecated. Use IlrRuleMetaModel.getEClassifier(String) instead.
        Returns an EClassifier based on its fully qualified name.
        Parameters:
        fullyQualifiedName - The fully qualified name.
        Returns:
        an EClassifier instance
      • getEClass

        @Deprecated
        org.eclipse.emf.ecore.EClass getEClass(java.lang.String fullyQualifiedName)
        Deprecated. Use IlrRuleMetaModel.getEClass(String) instead.
        Returns an EClass based on its fully qualified name.

        Parameters:
        fullyQualifiedName - The fully qualified name.
        Returns:
        An EClass instance.
      • getSubClassesOf

        @Deprecated
        java.util.Set<org.eclipse.emf.ecore.EClass> getSubClassesOf(org.eclipse.emf.ecore.EClass clazz)
        Gets the subclasses of clazz in the meta-model of Rule Designer.
      • getEStructuralFeature

        @Deprecated
        org.eclipse.emf.ecore.EStructuralFeature getEStructuralFeature(java.lang.String fullQualifiedName)
        Gets a structural feature based on its fully qualified name.
        Parameters:
        fullQualifiedName - The fully qualified name.
        Returns:
        A structural feature.

© Copyright IBM Corp. 1987, 2017