Interface DmnModelInstance

  • All Superinterfaces:
    org.camunda.bpm.model.xml.ModelInstance
    All Known Implementing Classes:
    DmnModelInstanceImpl

    public interface DmnModelInstance
    extends org.camunda.bpm.model.xml.ModelInstance
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      DmnModelInstance clone()
      Copies the DMN model instance but not the model.
      Definitions getDefinitions()  
      void setDefinitions​(Definitions definitions)
      Set the Dmn Definitions Root element
      • Methods inherited from interface org.camunda.bpm.model.xml.ModelInstance

        getDocument, getDocumentElement, getModel, getModelElementById, getModelElementsByType, getModelElementsByType, newInstance, newInstance, newInstance, newInstance, setDocumentElement, validate
    • Method Detail

      • setDefinitions

        void setDefinitions​(Definitions definitions)
        Set the Dmn Definitions Root element
        Parameters:
        definitions - the Definitions element to set
      • clone

        DmnModelInstance clone()
        Copies the DMN model instance but not the model. So only the wrapped DOM document is cloned. Changes of the model are persistent between multiple model instances.
        Specified by:
        clone in interface org.camunda.bpm.model.xml.ModelInstance
        Returns:
        the new DMN model instance