public class TaskTeamNodeImpl extends Object implements TaskTeamNode
TaskTeamNode
implementation.TYPE
Constructor and Description |
---|
TaskTeamNodeImpl(String teamName,
TaskNode taskNode,
NodeContext context)
Initiate.
|
Modifier and Type | Method and Description |
---|---|
LinkTeamNode |
getLinkedTeamNode()
Obtains the
LinkTeamNode linked to this LinkTeamNode . |
String |
getLocation()
Obtains the location of the
Node . |
String |
getNodeName()
Obtains the name of the
Node . |
String |
getNodeType()
Obtains the
Node type. |
Node |
getParentNode()
|
void |
initialise()
Initialises the
TaskTeamNode . |
boolean |
isInitialised()
Indicates if the
Node has been initialised. |
boolean |
linkTeamNode(LinkTeamNode node)
Links the input
LinkTeamNode to this LinkTeamNode . |
public TaskTeamNodeImpl(String teamName, TaskNode taskNode, NodeContext context)
teamName
- Name of this OfficeTeam
.taskNode
- TaskNode
containing this TaskTeamNode
.context
- NodeContext
.public String getNodeName()
Node
Node
.getNodeName
in interface Node
Node
.public String getNodeType()
Node
Node
type.getNodeType
in interface Node
Node
type.public String getLocation()
Node
Node
.getLocation
in interface Node
Node
. May be null
if
Node
does not support a location.public Node getParentNode()
Node
getParentNode
in interface Node
Node
containing this Node
.public boolean isInitialised()
Node
Node
has been initialised. Node
instances should only be initialised once. Initialising the Node
twice is an issue.isInitialised
in interface Node
true
if initialised.public void initialise()
TaskTeamNode
TaskTeamNode
.initialise
in interface TaskTeamNode
public boolean linkTeamNode(LinkTeamNode node)
LinkTeamNode
LinkTeamNode
to this LinkTeamNode
.linkTeamNode
in interface LinkTeamNode
node
- LinkTeamNode
to link to this LinkTeamNode
.true
if linked.public LinkTeamNode getLinkedTeamNode()
LinkTeamNode
LinkTeamNode
linked to this LinkTeamNode
.getLinkedTeamNode
in interface LinkTeamNode
LinkTeamNode
linked to this LinkTeamNode
.Copyright © 2005–2016. All rights reserved.