org.eclipse.ohf.stem.definitions.labels.impl
Class CommonBorderRelationshipLabelImpl

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended by org.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended by org.eclipse.emf.ecore.impl.EObjectImpl
              extended by org.eclipse.ohf.stem.core.common.impl.IdentifiableImpl
                  extended by org.eclipse.ohf.stem.core.graph.impl.LabelImpl
                      extended by org.eclipse.ohf.stem.core.graph.impl.EdgeLabelImpl
                          extended by org.eclipse.ohf.stem.core.graph.impl.StaticEdgeLabelImpl
                              extended by org.eclipse.ohf.stem.definitions.labels.impl.PhysicalRelationshipLabelImpl
                                  extended by org.eclipse.ohf.stem.definitions.labels.impl.CommonBorderRelationshipLabelImpl
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, Identifiable, SanityChecker, EdgeLabel, Label, StaticEdgeLabel, CommonBorderRelationshipLabel, PhysicalRelationshipLabel

public class CommonBorderRelationshipLabelImpl
extends PhysicalRelationshipLabelImpl
implements CommonBorderRelationshipLabel

An implementation of the model object 'Common Border Relationship Label'.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
 
Field Summary
static java.lang.String copyright
           
 
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
ELAST_EOBJECT_FLAG
 
Fields inherited from interface org.eclipse.ohf.stem.definitions.labels.CommonBorderRelationshipLabel
URI_TYPE_COMMON_BORDER_RELATIONSHIP_LABEL_SEGMENT
 
Fields inherited from interface org.eclipse.ohf.stem.definitions.labels.PhysicalRelationshipLabel
URI_TYPE_PHYSICAL_RELATIONSHIP_LABEL_SEGMENT
 
Fields inherited from interface org.eclipse.ohf.stem.core.graph.Label
URI_TYPE_LABEL, URI_TYPE_LABEL_SEGMENT
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Method Summary
static Edge createCommonBorderRelationship(Node nodeA, Node nodeB, int borderLength)
          Create an edge between two nodes that represents the relationship of sharing a common border.
static java.util.List<Edge> getCommonBorderEdgesFromNode(Node node)
           
 
Methods inherited from class org.eclipse.ohf.stem.core.graph.impl.StaticEdgeLabelImpl
getIdentifiable, setIdentifiable
 
Methods inherited from class org.eclipse.ohf.stem.core.graph.impl.EdgeLabelImpl
basicSetEdge, eBasicRemoveFromContainerFeature, eGet, eInverseAdd, eInverseRemove, eIsSet, eSet, eUnset, getEdge, setEdge
 
Methods inherited from class org.eclipse.ohf.stem.core.graph.impl.LabelImpl
basicGetIdentifiable, basicSetCurrentValue, getCurrentValue, getURIOfIdentifiableToBeLabeled, sane, setCurrentValue, setURIOfIdentifiableToBeLabeled, toString
 
Methods inherited from class org.eclipse.ohf.stem.core.common.impl.IdentifiableImpl
basicSetDublinCore, getDublinCore, getTypeURI, getURI, setDublinCore, setTypeURI, setURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eSetClass, eSetDeliver, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eStore, eUnset, eURIFragmentSegment, eVirtualGet, eVirtualGet, eVirtualIsSet, eVirtualSet, eVirtualUnset
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.ohf.stem.core.graph.EdgeLabel
getEdge, setEdge
 
Methods inherited from interface org.eclipse.ohf.stem.core.graph.Label
getCurrentValue, getIdentifiable, getURIOfIdentifiableToBeLabeled, setCurrentValue, setIdentifiable, setURIOfIdentifiableToBeLabeled
 
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
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Field Detail

copyright

public static final java.lang.String copyright

See Also:
Constant Field Values
Method Detail

createCommonBorderRelationship

public static Edge createCommonBorderRelationship(Node nodeA,
                                                  Node nodeB,
                                                  int borderLength)
Create an edge between two nodes that represents the relationship of sharing a common border.

Parameters:
nodeA - the first node
nodeB - the second node
borderLength - the length of the border (km's)
Returns:
an edge between the two nodes

getCommonBorderEdgesFromNode

public static java.util.List<Edge> getCommonBorderEdgesFromNode(Node node)
Parameters:
node - the node
Returns:
the Edges that represent the common border relationship between the node and other nodes.