Class VDiagnosticHelper
- java.lang.Object
-
- org.eclipse.emf.ecp.view.internal.validation.VDiagnosticHelper
-
public final class VDiagnosticHelper extends java.lang.Object
This class compares toVDiagnostic
elements for equality.- Author:
- Eugen Neufeld
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static VDiagnostic
clean(VDiagnostic value)
Analysis aVDiagnostic
and merges all Diagnostic pointing to the same EObject.static boolean
isEqual(VDiagnostic vDiagnostic1, VDiagnostic vDiagnostic2)
Compares twoVDiagnostics
with each other.
-
-
-
Method Detail
-
isEqual
public static boolean isEqual(VDiagnostic vDiagnostic1, VDiagnostic vDiagnostic2)
Compares twoVDiagnostics
with each other.- Parameters:
vDiagnostic1
- the firstVDiagnostic
to comparevDiagnostic2
- the secondVDiagnostic
to compare- Returns:
- true if both
VDiagnostics
are equal
-
clean
public static VDiagnostic clean(VDiagnostic value)
Analysis aVDiagnostic
and merges all Diagnostic pointing to the same EObject.- Parameters:
value
- theVDiagnostic
that should be cleaned- Returns:
- a cleaned
VDiagnostic
-
-