Class AbstractDataModelCommand

    • Field Detail

      • source

        protected String source
      • dataObject

        protected org.kie.workbench.common.services.datamodeller.core.DataObject dataObject
      • annotationClassName

        protected String annotationClassName
      • valuePair

        protected String valuePair
      • newValue

        protected Object newValue
      • removeAnnotationIfValueIsNull

        protected boolean removeAnnotationIfValueIsNull
    • Method Detail

      • getSource

        public String getSource()
      • setSource

        public void setSource​(String source)
      • getDataObject

        public org.kie.workbench.common.services.datamodeller.core.DataObject getDataObject()
      • setDataObject

        public void setDataObject​(org.kie.workbench.common.services.datamodeller.core.DataObject dataObject)
      • getAnnotationClassName

        public String getAnnotationClassName()
      • setAnnotationClassName

        public void setAnnotationClassName​(String annotationClassName)
      • getValuePair

        public String getValuePair()
      • setValuePair

        public void setValuePair​(String valuePair)
      • getNewValue

        public Object getNewValue()
      • setNewValue

        public void setNewValue​(Object newValue)
      • isRemoveAnnotationIfValueIsNull

        public boolean isRemoveAnnotationIfValueIsNull()
      • setRemoveAnnotationIfValueIsNull

        public void setRemoveAnnotationIfValueIsNull​(boolean removeAnnotationIfValueIsNull)
      • notifyFieldChange

        protected void notifyFieldChange​(org.kie.workbench.common.screens.datamodeller.events.ChangeType changeType,
                                         DataModelerContext context,
                                         String source,
                                         org.kie.workbench.common.services.datamodeller.core.DataObject dataObject,
                                         org.kie.workbench.common.services.datamodeller.core.ObjectProperty field,
                                         String annotationClassName,
                                         String memberName,
                                         Object oldValue,
                                         Object newValue)
      • notifyObjectChange

        protected void notifyObjectChange​(org.kie.workbench.common.screens.datamodeller.events.ChangeType changeType,
                                          DataModelerContext context,
                                          String source,
                                          org.kie.workbench.common.services.datamodeller.core.DataObject dataObject,
                                          String annotationClassName,
                                          String memberName,
                                          Object oldValue,
                                          Object newValue)
      • notifyChange

        protected void notifyChange​(org.kie.workbench.common.screens.datamodeller.events.DataModelerEvent event)