Class SectionOutputNodeImpl
java.lang.Object
net.officefloor.compile.impl.structure.SectionOutputNodeImpl
- All Implemented Interfaces:
LinkFlowNode,Node,SectionOutputNode,OfficeFlowSourceNode,OfficeSectionOutput,SectionFlowSinkNode,SectionFlowSourceNode,SectionOutput,SubSectionOutput
SectionOutputNode implementation.- Author:
- Daniel Sagenschneider
-
Field Summary
Fields inherited from interface net.officefloor.compile.internal.structure.SectionOutputNode
TYPE -
Constructor Summary
ConstructorsConstructorDescriptionSectionOutputNodeImpl(String outputName, SectionNode section, NodeContext context) Instantiate. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAnnotation(Object annotation) Adds the annotation for thisSectionOutput.Node[]Obtains the childNodeinstances.Obtains theLinkFlowNodelinked to thisLinkFlowNode.Obtains the location of theNode.Obtains the name of theNode.Obtains theNodetype.Obtains theOfficeSectioncontaining thisOfficeSectionOutput.Obtains the name of thisOfficeSectionOutput.ObtainsSectionNodecontaining thisSectionOutputNode.Obtains the name of thisSectionOutput.Obtains the name of thisSubSectionOutput.voidinitialise(String argumentType, boolean isEscalationOnly) Initialises thisSectionOutputType.booleanIndicates if theNodehas been initialised.booleanlinkFlowNode(LinkFlowNode node) Links the inputLinkFlowNodeto thisLinkFlowNode.loadOfficeSectionOutputType(CompileContext compileContext) Loads theOfficeSectionOutputType.loadSectionOutputType(CompileContext compileContext) Loads theSectionOutputType.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
-
SectionOutputNodeImpl
Instantiate.- Parameters:
outputName- Name of theSectionOutputType.section-SectionNodecontaining thisSectionOutputNode.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
Description copied from interface:SectionOutputNodeInitialises thisSectionOutputType.- Specified by:
initialisein interfaceSectionOutputNode- Parameters:
argumentType- Argument type.isEscalationOnly- Flag indicating if escalation only.
-
getSectionNode
Description copied from interface:SectionOutputNodeObtainsSectionNodecontaining thisSectionOutputNode.- Specified by:
getSectionNodein interfaceSectionOutputNode- Returns:
SectionNodecontaining thisSectionOutputNode.
-
loadSectionOutputType
Description copied from interface:SectionOutputNodeLoads theSectionOutputType.- Specified by:
loadSectionOutputTypein interfaceSectionOutputNode- Parameters:
compileContext-CompileContext.- Returns:
SectionOutputTypeornullwith issues reported to theCompilerIssues.
-
loadOfficeSectionOutputType
Description copied from interface:SectionOutputNodeLoads theOfficeSectionOutputType.- Specified by:
loadOfficeSectionOutputTypein interfaceSectionOutputNode- Parameters:
compileContext-CompileContext.- Returns:
OfficeSectionOutputTypeornullwith issues reported to theCompilerIssues.
-
getSectionOutputName
Description copied from interface:SectionOutputObtains the name of thisSectionOutput.- Specified by:
getSectionOutputNamein interfaceSectionOutput- Returns:
- Name of this
SectionOutput.
-
addAnnotation
Description copied from interface:SectionOutputAdds the annotation for this
SectionOutput.This is exposed as is on the
SectionOutputTypeinterface for thisSectionOutput.- Specified by:
addAnnotationin interfaceSectionOutput- Parameters:
annotation- Annotation.
-
getSubSectionOutputName
Description copied from interface:SubSectionOutputObtains the name of thisSubSectionOutput.- Specified by:
getSubSectionOutputNamein interfaceSubSectionOutput- Returns:
- Name of this
SubSectionOutput.
-
getOfficeSection
Description copied from interface:OfficeSectionOutputObtains theOfficeSectioncontaining thisOfficeSectionOutput.- Specified by:
getOfficeSectionin interfaceOfficeSectionOutput- Returns:
OfficeSectioncontaining thisOfficeSectionOutput.
-
getOfficeSectionOutputName
Description copied from interface:OfficeSectionOutputObtains the name of thisOfficeSectionOutput.- Specified by:
getOfficeSectionOutputNamein interfaceOfficeSectionOutput- Returns:
- Name of this
OfficeSectionOutput.
-
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.
-