Class BatchLinkingService


  • public class BatchLinkingService
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isBatchLinkable​(org.eclipse.emf.ecore.EReference reference)  
      void resolveBatched​(org.eclipse.emf.ecore.EObject root)  
      org.eclipse.emf.ecore.EObject resolveBatched​(org.eclipse.emf.ecore.EObject context, org.eclipse.emf.ecore.EReference reference, java.lang.String uriFragment)  
      org.eclipse.emf.ecore.EObject resolveBatched​(org.eclipse.emf.ecore.EObject context, org.eclipse.emf.ecore.EReference reference, java.lang.String uriFragment, org.eclipse.xtext.util.CancelIndicator monitor)  
      void resolveBatched​(org.eclipse.emf.ecore.EObject root, org.eclipse.xtext.util.CancelIndicator monitor)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BatchLinkingService

        public BatchLinkingService()
    • Method Detail

      • isBatchLinkable

        public boolean isBatchLinkable​(org.eclipse.emf.ecore.EReference reference)
      • resolveBatched

        public org.eclipse.emf.ecore.EObject resolveBatched​(org.eclipse.emf.ecore.EObject context,
                                                            org.eclipse.emf.ecore.EReference reference,
                                                            java.lang.String uriFragment)
        Parameters:
        context - the current instance that owns the referenced proxy.
        reference - the EReference that has the proxy value.
        uriFragment - the lazy linking fragment.
        Returns:
        the resolved object for the given context or null if it couldn't be resolved
      • resolveBatched

        public void resolveBatched​(org.eclipse.emf.ecore.EObject root)
      • resolveBatched

        public org.eclipse.emf.ecore.EObject resolveBatched​(org.eclipse.emf.ecore.EObject context,
                                                            org.eclipse.emf.ecore.EReference reference,
                                                            java.lang.String uriFragment,
                                                            org.eclipse.xtext.util.CancelIndicator monitor)
        Parameters:
        context - the current instance that owns the referenced proxy.
        reference - the EReference that has the proxy value.
        uriFragment - the lazy linking fragment.
        monitor - used to cancel type resolution
        Returns:
        the resolved object for the given context or null if it couldn't be resolved
        Since:
        2.7
      • resolveBatched

        public void resolveBatched​(org.eclipse.emf.ecore.EObject root,
                                   org.eclipse.xtext.util.CancelIndicator monitor)
        Since:
        2.7