Class ResponsibleTeamNodeImpl
java.lang.Object
net.officefloor.compile.impl.structure.ResponsibleTeamNodeImpl
- All Implemented Interfaces:
LinkTeamNode,Node,ResponsibleTeamNode,OfficeResponsibility,ResponsibleTeam
ResponsibleTeamNode implementation.- Author:
- Daniel Sagenschneider
-
Field Summary
Fields inherited from interface net.officefloor.compile.internal.structure.ResponsibleTeamNode
TYPE -
Constructor Summary
ConstructorsConstructorDescriptionResponsibleTeamNodeImpl(String teamName, ManagedFunctionNode taskNode, NodeContext context) Initiate. -
Method Summary
Modifier and TypeMethodDescriptionNode[]Obtains the childNodeinstances.Obtains theLinkTeamNodelinked to thisLinkTeamNode.Obtains the location of theNode.Obtains the name of theNode.Obtains theNodetype.voidInitialises theResponsibleTeamNode.booleanIndicates if theNodehas been initialised.booleanlinkTeamNode(LinkTeamNode node) Links the inputLinkTeamNodeto thisLinkTeamNode.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
-
ResponsibleTeamNodeImpl
Initiate.- Parameters:
teamName- Name of thisOfficeTeam.taskNode-ManagedFunctionNodecontaining thisResponsibleTeamNode.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:ResponsibleTeamNodeInitialises theResponsibleTeamNode.- Specified by:
initialisein interfaceResponsibleTeamNode
-
linkTeamNode
Description copied from interface:LinkTeamNodeLinks the inputLinkTeamNodeto thisLinkTeamNode.- Specified by:
linkTeamNodein interfaceLinkTeamNode- Parameters:
node-LinkTeamNodeto link to thisLinkTeamNode.- Returns:
trueif linked.
-
getLinkedTeamNode
Description copied from interface:LinkTeamNodeObtains theLinkTeamNodelinked to thisLinkTeamNode.- Specified by:
getLinkedTeamNodein interfaceLinkTeamNode- Returns:
LinkTeamNodelinked to thisLinkTeamNode.
-