org.eclipse.ohf.stem.core.graph
Interface UnresolvedIdentifiable

All Superinterfaces:
org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier
All Known Implementing Classes:
UnresolvedIdentifiableImpl

public interface UnresolvedIdentifiable
extends org.eclipse.emf.ecore.EObject

An UnresolvedIdentifiable is created during the generation of the canonical Graph (see Model#getCanonicalGraph(URI)) when an {{@link Edge} or a {@link Label} cannot be matched with the {@link Node} or {@link Graph} that its target {@link URI} specifies.

Instances of UnresolvedIdentifiable are used to report the inability to resolve the {@link URI}.


Method Summary
 java.lang.String getFieldName()
           
 Identifiable getGraph()
          This is the Graph that contains the Edge or Label that has the unresolved URI.
 Identifiable getIdentifiable()
           
 Identifiable getModel()
          This is the Model that was creating the canonical Graph when the unresolved URI was encountered.
 Identifiable getScenario()
          This is the Scenario that contains the Model that is creating the canonical Graph.
 org.eclipse.emf.common.util.URI getUnresolvedURI()
           
 void setFieldName(java.lang.String value)
          Sets the value of the 'Field Name' attribute.
 void setGraph(Identifiable value)
          Sets the value of the 'Graph' reference.
 void setIdentifiable(Identifiable value)
          Sets the value of the 'Identifiable' reference.
 void setModel(Identifiable value)
          Sets the value of the 'Model' reference.
 void setScenario(Identifiable value)
          Sets the value of the 'Scenario' reference.
 void setUnresolvedURI(org.eclipse.emf.common.util.URI value)
          Sets the value of the 'Unresolved URI' attribute.
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

getScenario

Identifiable getScenario()
This is the Scenario that contains the Model that is creating the canonical Graph. TODO shouldn't the return value be Scenario?


setScenario

void setScenario(Identifiable value)
Sets the value of the 'Scenario' reference.

Parameters:
value - the new value of the 'Scenario' reference.
See Also:
getScenario()

getModel

Identifiable getModel()
This is the Model that was creating the canonical Graph when the unresolved URI was encountered.


setModel

void setModel(Identifiable value)
Sets the value of the 'Model' reference.

Parameters:
value - the new value of the 'Model' reference.
See Also:
getModel()

getGraph

Identifiable getGraph()
This is the Graph that contains the Edge or Label that has the unresolved URI. TODO BUG this value is always null.


setGraph

void setGraph(Identifiable value)
Sets the value of the 'Graph' reference.

Parameters:
value - the new value of the 'Graph' reference.
See Also:
getGraph()

getIdentifiable

Identifiable getIdentifiable()
Returns:
the Edge or Label that has the unresolved target URI.

setIdentifiable

void setIdentifiable(Identifiable value)
Sets the value of the 'Identifiable' reference.

Parameters:
value - the new value of the 'Identifiable' reference.
See Also:
getIdentifiable()

getUnresolvedURI

org.eclipse.emf.common.util.URI getUnresolvedURI()
Returns:
the unresolved URI.

setUnresolvedURI

void setUnresolvedURI(org.eclipse.emf.common.util.URI value)
Sets the value of the 'Unresolved URI' attribute.

Parameters:
value - the new value of the 'Unresolved URI' attribute.
See Also:
getUnresolvedURI()

getFieldName

java.lang.String getFieldName()
Returns:
either "NODE A" or "NODE B" for an Edge, or "NODE" for a Label.

setFieldName

void setFieldName(java.lang.String value)
Sets the value of the 'Field Name' attribute.

Parameters:
value - the new value of the 'Field Name' attribute.
See Also:
getFieldName()