org.eclipse.ocl.examples.emf.validation.validity.manager
Class ValidatableURI

java.lang.Object
  extended by 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)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

uri

@NonNull
protected final org.eclipse.emf.common.util.URI uri
Constructor Detail

ValidatableURI

public ValidatableURI(@NonNull
                      org.eclipse.emf.common.util.URI uri)
Method Detail

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