org.eclipse.ocl.examples.emf.validation.validity.manager
Class ValidatableURI
java.lang.Object
org.eclipse.ocl.examples.emf.validation.validity.manager.ValidatableURI
public final class ValidatableURI
- extends java.lang.Object
A ValidatableURI provides the unique identity of a Validatable Node which is a model node
and which typically forms the basis of a distinct tree node in the LH pane of the Validity View.
The ValidatableURI is simply computed by EcoreUtil.getURI(eObject), but it is convenient to
maintain a wrapper on the URI to reduce confusion between model and meta-model object spaces.
Field Summary |
protected org.eclipse.emf.common.util.URI |
uri
|
Constructor Summary |
ValidatableURI(org.eclipse.emf.common.util.URI uri)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
uri
@NonNull
protected final org.eclipse.emf.common.util.URI uri
ValidatableURI
public ValidatableURI(@NonNull
org.eclipse.emf.common.util.URI uri)
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object