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

All Superinterfaces:
org.eclipse.emf.ecore.EObject, Identifiable, org.eclipse.emf.common.notify.Notifier, SanityChecker
All Known Subinterfaces:
AreaLabel, CommonBorderRelationshipLabel, DiseaseModelLabel, DynamicEdgeLabel, DynamicLabel, DynamicNodeLabel, EdgeLabel, NodeLabel, PhysicalRelationshipLabel, PopulationLabel, RelativePhysicalRelationshipLabel, SEIRLabel, SILabel, SIRLabel, StandardDiseaseModelLabel, StaticEdgeLabel, StaticNodeLabel, TestDynamicEdgeLabel, TestDynamicLabel1, TestDynamicNodeLabel, TestLabel, TestStaticEdgeLabel, TestStaticNodeLabel, TransportRelationshipLabel
All Known Implementing Classes:
AreaLabelImpl, CommonBorderRelationshipLabelImpl, DiseaseModelLabelImpl, DynamicEdgeLabelImpl, DynamicLabelImpl, DynamicNodeLabelImpl, EdgeLabelImpl, LabelImpl, NodeLabelImpl, PhysicalRelationshipLabelImpl, PopulationLabelImpl, RelativePhysicalRelationshipLabelImpl, SEIRLabelImpl, SILabelImpl, SIRLabelImpl, StandardDiseaseModelLabelImpl, StaticEdgeLabelImpl, StaticNodeLabelImpl, TestDynamicEdgeLabelImpl, TestDynamicLabel1Impl, TestDynamicNodeLabelImpl, TestLabelImpl, TestStaticEdgeLabelImpl, TestStaticNodeLabelImpl, TransportRelationshipLabelImpl

public interface Label
extends Identifiable

A Label represents attributes of either a Node, Edge, or Graph. The attributes are represented by a LabelValue.

See Also:
Node, Edge, Graph, NodeLabel, DynamicLabel, StaticNodeLabel, DynamicNodeLabel

Field Summary
static org.eclipse.emf.common.util.URI URI_TYPE_LABEL
          This is the type URI for a Label
static java.lang.String URI_TYPE_LABEL_SEGMENT
          This is the top-level segment for all type URI's for labels.
 
Method Summary
 LabelValue getCurrentValue()
           
 Identifiable getIdentifiable()
           
 org.eclipse.emf.common.util.URI getURIOfIdentifiableToBeLabeled()
           
 void setCurrentValue(LabelValue value)
          Sets the value of the 'Current Value' containment reference.
 void setIdentifiable(Identifiable value)
          Sets the value of the 'Identifiable' reference.
 void setURIOfIdentifiableToBeLabeled(org.eclipse.emf.common.util.URI value)
          Sets the value of the 'URI Of Identifiable To Be Labeled' attribute.
 
Methods inherited from interface org.eclipse.ohf.stem.core.common.Identifiable
getDublinCore, getTypeURI, getURI, sane, setDublinCore, setTypeURI, setURI
 
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
 

Field Detail

URI_TYPE_LABEL_SEGMENT

static final java.lang.String URI_TYPE_LABEL_SEGMENT
This is the top-level segment for all type URI's for labels.

See Also:
Constant Field Values

URI_TYPE_LABEL

static final org.eclipse.emf.common.util.URI URI_TYPE_LABEL
This is the type URI for a Label

Method Detail

getIdentifiable

Identifiable getIdentifiable()
Returns:
the Identifiable labeled by this Label

setIdentifiable

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

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

getURIOfIdentifiableToBeLabeled

org.eclipse.emf.common.util.URI getURIOfIdentifiableToBeLabeled()
Returns:
the URI of the Identifiable that this Label labels. This value is typically used when combining "graph fragments" to resolve the connection between the Label and the Identifiable it labels.
See Also:
Graph.addGraph(Graph), UnresolvedIdentifiable, getIdentifiable()

setURIOfIdentifiableToBeLabeled

void setURIOfIdentifiableToBeLabeled(org.eclipse.emf.common.util.URI value)
Sets the value of the 'URI Of Identifiable To Be Labeled' attribute.

Parameters:
value - the new value of the 'URI Of Identifiable To Be Labeled' attribute.
See Also:
getURIOfIdentifiableToBeLabeled()

getCurrentValue

LabelValue getCurrentValue()

setCurrentValue

void setCurrentValue(LabelValue value)
Sets the value of the 'Current Value' containment reference.

Parameters:
value - the new value of the 'Current Value' containment reference.
See Also:
getCurrentValue()