Class ManagedObjectFlowNodeImpl
java.lang.Object
net.officefloor.compile.impl.structure.ManagedObjectFlowNodeImpl
- All Implemented Interfaces:
LinkFlowNode,ManagedObjectFlowNode,Node,ManagedObjectFlow,OfficeFlowSourceNode,OfficeManagedObjectFlow,AugmentedManagedObjectFlow,OfficeFloorFlowSourceNode,OfficeFloorManagedObjectFlow,SectionFlowSourceNode,SectionManagedObjectFlow
ManagedObjectFlowNode implementation.- Author:
- Daniel Sagenschneider
-
Field Summary
Fields inherited from interface net.officefloor.compile.internal.structure.ManagedObjectFlowNode
TYPE -
Constructor Summary
ConstructorsConstructorDescriptionManagedObjectFlowNodeImpl(String managedObjectFlowName, ManagedObjectSourceNode managedObjectSource, NodeContext context) Initiate. -
Method Summary
Modifier and TypeMethodDescriptionNode[]Obtains the childNodeinstances.Obtains theLinkFlowNodelinked to thisLinkFlowNode.Obtains the location of theNode.Obtains the name of thisManagedObjectFlow.Obtains the name of theNode.Obtains theNodetype.voidInitialises theManagedObjectFlowNode.booleanIndicates if theNodehas been initialised.booleanisLinked()Indicates if theManagedObjectFlowis already linked.booleanlinkFlowNode(LinkFlowNode node) Links the inputLinkFlowNodeto thisLinkFlowNode.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.officefloor.compile.internal.structure.Node
getQualifiedName, getQualifiedName
-
Constructor Details
-
ManagedObjectFlowNodeImpl
public ManagedObjectFlowNodeImpl(String managedObjectFlowName, ManagedObjectSourceNode managedObjectSource, NodeContext context) Initiate.- Parameters:
managedObjectFlowName- Name of thisManagedObjectFlow.managedObjectSource- ParentManagedObjectSourceNode.context-NodeContext.
-
-
Method Details
-
getNodeName
Description copied from interface:NodeObtains the name of theNode.- Specified by:
getNodeNamein interfaceNode- Returns:
- Name of the
Node.
-
getNodeType
Description copied from interface:NodeObtains theNodetype.- Specified by:
getNodeTypein interfaceNode- Returns:
Nodetype.
-
getLocation
Description copied from interface:NodeObtains the location of theNode.- Specified by:
getLocationin interfaceNode- Returns:
- Location of the
Node. May benullifNodedoes not support a location.
-
getParentNode
Description copied from interface:Node- Specified by:
getParentNodein interfaceNode- Returns:
Nodecontaining thisNode.
-
getChildNodes
Description copied from interface:NodeObtains the childNodeinstances.- Specified by:
getChildNodesin interfaceNode- Returns:
- Child
Nodeinstances.
-
isInitialised
public boolean isInitialised()Description copied from interface:NodeIndicates if theNodehas been initialised.Nodeinstances should only be initialised once. Initialising theNodetwice is an issue.- Specified by:
isInitialisedin interfaceNode- Returns:
trueif initialised.
-
initialise
public void initialise()Description copied from interface:ManagedObjectFlowNodeInitialises theManagedObjectFlowNode.- Specified by:
initialisein interfaceManagedObjectFlowNode
-
getManagedObjectFlowName
Description copied from interface:AugmentedManagedObjectFlowObtains the name of thisManagedObjectFlow.- Specified by:
getManagedObjectFlowNamein interfaceAugmentedManagedObjectFlow- Specified by:
getManagedObjectFlowNamein interfaceManagedObjectFlow- Returns:
- Name of this
ManagedObjectFlow.
-
isLinked
public boolean isLinked()Description copied from interface:AugmentedManagedObjectFlowIndicates if theManagedObjectFlowis already linked.- Specified by:
isLinkedin interfaceAugmentedManagedObjectFlow- Returns:
trueif already linked.
-
linkFlowNode
Description copied from interface:LinkFlowNodeLinks the inputLinkFlowNodeto thisLinkFlowNode.- Specified by:
linkFlowNodein interfaceLinkFlowNode- Parameters:
node-LinkFlowNodeto link to thisLinkFlowNode.- Returns:
trueif linked.
-
getLinkedFlowNode
Description copied from interface:LinkFlowNodeObtains theLinkFlowNodelinked to thisLinkFlowNode.- Specified by:
getLinkedFlowNodein interfaceLinkFlowNode- Returns:
LinkFlowNodelinked to thisLinkFlowNode.
-