Class QlProcessor

java.lang.Object
com.e1c.langtool.v8.dt.ql.QlProcessor
All Implemented Interfaces:
IBasicProcessor
Direct Known Subclasses:
DcsQlProcessor, QlFeaturesCollector, RightQlProcessor

public abstract class QlProcessor extends Object implements IBasicProcessor
Query language processor of the model object
  • Field Details

    • object

      protected final org.eclipse.emf.ecore.EObject object
    • monitor

      protected org.eclipse.core.runtime.IProgressMonitor monitor
  • Constructor Details

    • QlProcessor

      public QlProcessor(org.eclipse.emf.ecore.EObject object)
      Initialize with EObject
      Parameters:
      object - EObject part of EObject content, can't be null
  • Method Details

    • isCanceled

      public boolean isCanceled()
      Checks that execution is canceled
      Specified by:
      isCanceled in interface IBasicProcessor
      Returns:
      true in case execution is canceled, false otherwise
    • isProcessChildObjects

      public boolean isProcessChildObjects()
      Checks if is process sub objects.
      Returns:
      true, if is process sub objects
    • setProcessChildObjects

      public void setProcessChildObjects(boolean processChildObjects)
      Sets the process sub objects.
      Parameters:
      processChildObjects - the new process sub objects
    • process

      public void process(org.eclipse.core.runtime.IProgressMonitor monitor)
      Start validating for all content in IBmObject
      Specified by:
      process in interface IBasicProcessor
    • isSupported

      protected boolean isSupported(org.eclipse.emf.ecore.EObject obj)
    • isWaitDerivedDataComputation

      protected boolean isWaitDerivedDataComputation()
    • setWaitDerivedDataComputation

      protected void setWaitDerivedDataComputation(boolean waitDerivedDataComputation)
    • doProcess

      protected abstract <T extends org.eclipse.emf.ecore.EObject> void doProcess(T object, Class<T> clazz)
      Processes concrete object of QL object
      Parameters:
      object - processing object, can't be null
    • doProcessInternal

      protected void doProcessInternal(Collection<? extends org.eclipse.emf.ecore.EObject> objects)
    • doProcessInternal

      protected void doProcessInternal(org.eclipse.emf.ecore.EObject obj)