Class Placings.Barren
java.lang.Object
org.bigraphs.framework.core.BigraphDelegator<S>
org.bigraphs.framework.core.ElementaryBigraph<S>
org.bigraphs.framework.core.impl.elementary.Placings.Barren
- All Implemented Interfaces:
Bigraph<S>
,EcoreBigraph<S>
,EcoreBigraphExt
,HasSignature<S>
- Enclosing class:
- Placings<S extends AbstractEcoreSignature<? extends Control<?,
?>>>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.bigraphs.framework.core.EcoreBigraph
EcoreBigraph.Stub<S extends AbstractEcoreSignature<?>>
-
Field Summary
Fields inherited from class org.bigraphs.framework.core.ElementaryBigraph
instanceModel, metaModelPackage
Fields inherited from class org.bigraphs.framework.core.BigraphDelegator
bigraphDelegate
-
Method Summary
Modifier and TypeMethodDescriptionList<BigraphEntity<?>>
Returns the single root of this barren.final BigraphEntity<?>
getParent
(BigraphEntity<?> node) Returns alwaysnull
since a barren cannot have any child.getRoots()
getSiblingsOfInnerName
(BigraphEntity.InnerName innerName) Returns all siblings of an inner name.List<BigraphEntity<?>>
getSiblingsOfNode
(BigraphEntity<?> node) Returns all siblings of the given node of the current bigraph.Get the corresponding signature of the underlying bigraphgetSites()
Methods inherited from class org.bigraphs.framework.core.ElementaryBigraph
areConnected, getAllLinks, getChildrenOf, getEdges, getInnerNames, getInstanceModel, getLevelOf, getLinkOfPoint, getMetaModel, getNodeOfPort, getNodes, getOpenNeighborhoodOfVertex, getOuterNames, getPointsFromLink, getPortCount, getPorts, getTopLevelRoot, isLinking, isParentOf, isPlacing
Methods inherited from class org.bigraphs.framework.core.BigraphDelegator
getBigraphDelegate
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.bigraphs.framework.core.Bigraph
getIncidentLinksOf, getInnerFace, getOuterFace, getSupport, isActive, isActiveAtNode, isActiveAtSite, isDiscrete, isEpimorphic, isGround, isGuarding, isLean, isMonomorphic, isPrime
Methods inherited from interface org.bigraphs.framework.core.EcoreBigraph
getEMetaModelData, isBEdge, isBInnerName, isBLink, isBNode, isBOuterName, isBPlace, isBPoint, isBPort, isBRoot, isBSite, isIndexable, isNameable, isOfEClass
-
Method Details
-
getSignature
Description copied from interface:HasSignature
Get the corresponding signature of the underlying bigraph- Specified by:
getSignature
in interfaceBigraph<S extends AbstractEcoreSignature<? extends Control<?,
?>>> - Specified by:
getSignature
in interfaceEcoreBigraph<S extends AbstractEcoreSignature<? extends Control<?,
?>>> - Specified by:
getSignature
in interfaceHasSignature<S extends AbstractEcoreSignature<? extends Control<?,
?>>> - Overrides:
getSignature
in classBigraphDelegator<S extends AbstractEcoreSignature<? extends Control<?,
?>>> - Returns:
- the signature of the bigraph
-
getRoots
- Specified by:
getRoots
in interfaceBigraph<S extends AbstractEcoreSignature<? extends Control<?,
?>>> - Overrides:
getRoots
in classElementaryBigraph<S extends AbstractEcoreSignature<? extends Control<?,
?>>>
-
getSites
- Specified by:
getSites
in interfaceBigraph<S extends AbstractEcoreSignature<? extends Control<?,
?>>> - Overrides:
getSites
in classElementaryBigraph<S extends AbstractEcoreSignature<? extends Control<?,
?>>>
-
getParent
Returns alwaysnull
since a barren cannot have any child.- Specified by:
getParent
in interfaceBigraph<S extends AbstractEcoreSignature<? extends Control<?,
?>>> - Overrides:
getParent
in classElementaryBigraph<S extends AbstractEcoreSignature<? extends Control<?,
?>>> - Parameters:
node
- is not evaluated- Returns:
- always returns
null
-
getAllPlaces
Returns the single root of this barren.- Specified by:
getAllPlaces
in interfaceBigraph<S extends AbstractEcoreSignature<? extends Control<?,
?>>> - Overrides:
getAllPlaces
in classElementaryBigraph<S extends AbstractEcoreSignature<? extends Control<?,
?>>> - Returns:
- the barren's root
-
getSiblingsOfNode
Description copied from interface:Bigraph
Returns all siblings of the given node of the current bigraph. The node itself is not included.- Specified by:
getSiblingsOfNode
in interfaceBigraph<S extends AbstractEcoreSignature<? extends Control<?,
?>>> - Overrides:
getSiblingsOfNode
in classElementaryBigraph<S extends AbstractEcoreSignature<? extends Control<?,
?>>> - Parameters:
node
- the node whoms sibling should be returned- Returns:
- siblings of
node
-
getSiblingsOfInnerName
public Collection<BigraphEntity.InnerName> getSiblingsOfInnerName(BigraphEntity.InnerName innerName) Description copied from interface:Bigraph
Returns all siblings of an inner name. The collection will not contain any port.- Specified by:
getSiblingsOfInnerName
in interfaceBigraph<S extends AbstractEcoreSignature<? extends Control<?,
?>>> - Overrides:
getSiblingsOfInnerName
in classElementaryBigraph<S extends AbstractEcoreSignature<? extends Control<?,
?>>> - Parameters:
innerName
- the inner name who's siblings should be returned- Returns:
- the siblings connected to
innerName
-