Class QueryBasedFeature

    • Constructor Detail

      • QueryBasedFeature

        public QueryBasedFeature​(org.eclipse.emf.ecore.EStructuralFeature feature,
                                 boolean keepCache)
    • Method Detail

      • initialize

        protected void initialize​(ViatraQueryMatcher<IPatternMatch> matcher,
                                  java.lang.String sourceParamName,
                                  java.lang.String targetParamName)
      • getFeature

        protected org.eclipse.emf.ecore.EStructuralFeature getFeature()
      • getSourceParamName

        protected java.lang.String getSourceParamName()
      • setSourceParamName

        protected void setSourceParamName​(java.lang.String sourceParamName)
      • getTargetParamName

        protected java.lang.String getTargetParamName()
      • setTargetParamName

        protected void setTargetParamName​(java.lang.String targetParamName)
      • isCached

        protected boolean isCached()
      • isInitialized

        protected boolean isInitialized()
      • afterUpdate

        protected abstract void afterUpdate()
      • beforeUpdate

        protected abstract void beforeUpdate()
      • startMonitoring

        protected void startMonitoring()
        Call this once to start handling callbacks.
      • getValue

        public abstract java.lang.Object getValue​(java.lang.Object source)
      • processAppearedMatch

        protected abstract void processAppearedMatch​(IPatternMatch signature)
      • getSourceValue

        protected org.eclipse.emf.ecore.InternalEObject getSourceValue​(IPatternMatch signature)
      • getTargetValue

        protected java.lang.Object getTargetValue​(IPatternMatch signature)
      • processDisappearedMatch

        protected abstract void processDisappearedMatch​(IPatternMatch signature)
      • appendNotificationToList

        protected void appendNotificationToList​(org.eclipse.emf.ecore.impl.ENotificationImpl notification)