Class EUriFragmentFunction
java.lang.Object
org.eclipse.emf.compare.match.eobject.EUriFragmentFunction
- All Implemented Interfaces:
com.google.common.base.Function<EObject,java.lang.String>,java.util.function.Function<EObject,java.lang.String>
public class EUriFragmentFunction extends java.lang.Object implements com.google.common.base.Function<EObject,java.lang.String>
A function computing an URI Fragment. This implementation is based on
org.eclipse.emf.ecore.impl.BasicEObjectImpl.eURIFragmentSegment(EStructuralFeature, EObject) no ID or
specific code for a given EObject instance will be used, and that's on purpose, in the case of UML models
for instance the specialization of the eURIFragment() method leads to a massive loss of performance for no
added value in our current use case (matching references).
-
Constructor Summary
Constructors Constructor Description EUriFragmentFunction() -
Method Summary
Modifier and Type Method Description java.lang.Stringapply(EObject input)java.lang.StringeURIFragmentSegment(EObject container, EStructuralFeature eStructuralFeature, EObject eObject)
-
Constructor Details
-
EUriFragmentFunction
public EUriFragmentFunction()
-
-
Method Details
-
apply
-
eURIFragmentSegment
public java.lang.String eURIFragmentSegment(EObject container, EStructuralFeature eStructuralFeature, EObject eObject)
-