public class TaskObjectNodeImpl extends Object implements TaskObjectNode
TaskObjectNode
implementation.TYPE
Constructor and Description |
---|
TaskObjectNodeImpl(String objectName,
TaskNode taskNode,
NodeContext context)
Initiate.
|
Modifier and Type | Method and Description |
---|---|
void |
flagAsParameter()
Flags this
TaskObject as a parameter for the Task . |
LinkObjectNode |
getLinkedObjectNode()
Obtains the
LinkObjectNode linked to this LinkObjectNode . |
String |
getLocation()
Obtains the location of the
Node . |
String |
getNodeName()
Obtains the name of the
Node . |
String |
getNodeType()
Obtains the
Node type. |
Node |
getParentNode()
|
String |
getTaskObjectName()
Obtains the name of this
TaskObject . |
void |
initialise()
Initialises the
TaskObjectNode . |
boolean |
isInitialised()
Indicates if the
Node has been initialised. |
boolean |
isParameter()
Indicates if this
TaskObject is a parameter to the Task . |
boolean |
linkObjectNode(LinkObjectNode node)
Links the input
LinkObjectNode to this LinkObjectNode . |
ObjectDependencyType |
loadObjectDependencyType(TypeContext typeContext)
Loads the
ObjectDependencyType . |
public TaskObjectNodeImpl(String objectName, TaskNode taskNode, NodeContext context)
objectName
- Name of this TaskObject
.taskNode
- TaskNode
containing this TaskObjectNode
.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()
TaskObjectNode
TaskObjectNode
.initialise
in interface TaskObjectNode
public boolean isParameter()
TaskObjectNode
TaskObject
is a parameter to the Task
.isParameter
in interface TaskObjectNode
true
if this TaskObject
is a parameter to
the Task
.public ObjectDependencyType loadObjectDependencyType(TypeContext typeContext)
TaskObjectNode
ObjectDependencyType
.loadObjectDependencyType
in interface TaskObjectNode
typeContext
- TypeContext
.ObjectDependencyType
or null
with issue
reported to the CompilerIssues
.public String getTaskObjectName()
TaskObject
TaskObject
.getTaskObjectName
in interface TaskObject
TaskObject
.public void flagAsParameter()
TaskObject
TaskObject
as a parameter for the Task
.flagAsParameter
in interface TaskObject
public boolean linkObjectNode(LinkObjectNode node)
LinkObjectNode
LinkObjectNode
to this LinkObjectNode
.linkObjectNode
in interface LinkObjectNode
node
- LinkObjectNode
to link to this LinkObjectNode
.true
if linked.public LinkObjectNode getLinkedObjectNode()
LinkObjectNode
LinkObjectNode
linked to this LinkObjectNode
.getLinkedObjectNode
in interface LinkObjectNode
LinkObjectNode
linked to this LinkObjectNode
.Copyright © 2005–2016. All rights reserved.