Class TeamOversightNodeImpl
- java.lang.Object
-
- net.officefloor.compile.impl.structure.TeamOversightNodeImpl
-
- All Implemented Interfaces:
LinkTeamOversightNode
,Node
,TeamOversightNode
,OfficeFloorTeamOversight
public class TeamOversightNodeImpl extends java.lang.Object implements TeamOversightNode
TeamOversightNode
implementation.- Author:
- Daniel Sagenschneider
-
-
Field Summary
-
Fields inherited from interface net.officefloor.compile.internal.structure.TeamOversightNode
TYPE
-
-
Constructor Summary
Constructors Constructor Description TeamOversightNodeImpl(java.lang.String teamOversightName, ExecutiveNode executive, NodeContext context)
Instantiate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Node[]
getChildNodes()
Obtains the childNode
instances.LinkTeamOversightNode
getLinkedTeamOversightNode()
Obtains theLinkTeamOversightNode
linked to thisLinkTeamOversightNode
.java.lang.String
getLocation()
Obtains the location of theNode
.java.lang.String
getNodeName()
Obtains the name of theNode
.java.lang.String
getNodeType()
Obtains theNode
type.java.lang.String
getOfficeFloorTeamOversightName()
Obtains the name of thisOfficeFloorTeamOversight
.Node
getParentNode()
void
initialise()
Initialises theTeamOversightNode
.boolean
isInitialised()
Indicates if theNode
has been initialised.boolean
linkTeamOversightNode(LinkTeamOversightNode node)
Links the inputLinkTeamOversightNode
to thisLinkTeamOversightNode
.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.officefloor.compile.internal.structure.Node
getQualifiedName, getQualifiedName
-
-
-
-
Constructor Detail
-
TeamOversightNodeImpl
public TeamOversightNodeImpl(java.lang.String teamOversightName, ExecutiveNode executive, NodeContext context)
Instantiate.- Parameters:
teamOversightName
-TeamOversight
name.executive
- ParentExecutiveNode
.context
-NodeContext
.
-
-
Method Detail
-
getNodeName
public java.lang.String getNodeName()
Description copied from interface:Node
Obtains the name of theNode
.- Specified by:
getNodeName
in interfaceNode
- Returns:
- Name of the
Node
.
-
getNodeType
public java.lang.String getNodeType()
Description copied from interface:Node
Obtains theNode
type.- Specified by:
getNodeType
in interfaceNode
- Returns:
Node
type.
-
getLocation
public java.lang.String getLocation()
Description copied from interface:Node
Obtains the location of theNode
.- Specified by:
getLocation
in interfaceNode
- Returns:
- Location of the
Node
. May benull
ifNode
does not support a location.
-
getParentNode
public Node getParentNode()
Description copied from interface:Node
- Specified by:
getParentNode
in interfaceNode
- Returns:
Node
containing thisNode
.
-
isInitialised
public boolean isInitialised()
Description copied from interface:Node
Indicates if theNode
has been initialised.Node
instances should only be initialised once. Initialising theNode
twice is an issue.- Specified by:
isInitialised
in interfaceNode
- Returns:
true
if initialised.
-
getChildNodes
public Node[] getChildNodes()
Description copied from interface:Node
Obtains the childNode
instances.- Specified by:
getChildNodes
in interfaceNode
- Returns:
- Child
Node
instances.
-
getOfficeFloorTeamOversightName
public java.lang.String getOfficeFloorTeamOversightName()
Description copied from interface:OfficeFloorTeamOversight
Obtains the name of thisOfficeFloorTeamOversight
.- Specified by:
getOfficeFloorTeamOversightName
in interfaceOfficeFloorTeamOversight
- Returns:
- Name of this
OfficeFloorTeamOversight
.
-
initialise
public void initialise()
Description copied from interface:TeamOversightNode
Initialises theTeamOversightNode
.- Specified by:
initialise
in interfaceTeamOversightNode
-
linkTeamOversightNode
public boolean linkTeamOversightNode(LinkTeamOversightNode node)
Description copied from interface:LinkTeamOversightNode
Links the inputLinkTeamOversightNode
to thisLinkTeamOversightNode
.- Specified by:
linkTeamOversightNode
in interfaceLinkTeamOversightNode
- Parameters:
node
-LinkTeamOversightNode
to link to thisLinkTeamOversightNode
.- Returns:
true
if linked.
-
getLinkedTeamOversightNode
public LinkTeamOversightNode getLinkedTeamOversightNode()
Description copied from interface:LinkTeamOversightNode
Obtains theLinkTeamOversightNode
linked to thisLinkTeamOversightNode
.- Specified by:
getLinkedTeamOversightNode
in interfaceLinkTeamOversightNode
- Returns:
LinkTeamOversightNode
linked to thisLinkTeamOversightNode
.
-
-