Overview | Package | Class | Use | Tree | Deprecated | Index
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.eclipse.emf.ecp.view.internal.validation
Class VDiagnosticHelper

    java.lang.Object
      org.eclipse.emf.ecp.view.internal.validation.VDiagnosticHelper

    public final class VDiagnosticHelper

extends Object

This class compares to `VDiagnostic` elements for equality.

Author:
  Eugen Neufeld

Method Summary
`static VDiagnostic` | `clean(VDiagnostic value)` Analysis a `VDiagnostic` and merges all Diagnostic pointing to the same EObject.
`static boolean` | `isEqual(VDiagnostic vDiagnostic1, VDiagnostic vDiagnostic2)` Compares two `VDiagnostics` with each other.

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Method Detail

### isEqual

    public static boolean isEqual(VDiagnostic vDiagnostic1,
                                  VDiagnostic vDiagnostic2)

  Compares two `VDiagnostics` with each other.

  Parameters:
    `vDiagnostic1` - the first `VDiagnostic` to compare
    `vDiagnostic2` - the second `VDiagnostic` to compare
  Returns:
    true if both `VDiagnostics` are equal

### clean

    public static VDiagnostic clean(VDiagnostic value)

  Analysis a `VDiagnostic` and merges all Diagnostic pointing to the same EObject.

  Parameters:
    `value` - the `VDiagnostic` that should be cleaned
  Returns:
    a cleaned `VDiagnostic`

Overview | Package | Class | Use | Tree | Deprecated | Index
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2015. All Rights Reserved.