Class SuppliedManagedObjectSourceNodeImpl
java.lang.Object
net.officefloor.compile.impl.structure.SuppliedManagedObjectSourceNodeImpl
- All Implemented Interfaces:
Node,SuppliedManagedObjectSourceNode
public class SuppliedManagedObjectSourceNodeImpl
extends Object
implements SuppliedManagedObjectSourceNode
- Author:
- Daniel Sagenschneider
-
Field Summary
Fields inherited from interface net.officefloor.compile.internal.structure.SuppliedManagedObjectSourceNode
TYPE -
Constructor Summary
ConstructorsConstructorDescriptionSuppliedManagedObjectSourceNodeImpl(String qualifier, String type, SupplierNode supplierNode, NodeContext context) Initiate. -
Method Summary
Modifier and TypeMethodDescriptionNode[]Obtains the childNodeinstances.Obtains the location of theNode.Obtains the name of theNode.Obtains theNodetype.static StringgetSuppliedManagedObjectSourceName(String qualifier, String type) Generates the name for theSuppliedManagedObjectSource.Obtains theSupplierNodecontaining thisSuppliedManagedObjectSource.voidInitialises theSuppliedManagedObjectSourceNode.booleanIndicates if theNodehas been initialised.loadSuppliedManagedObjectSourceType(CompileContext compileContext) Loads theSuppliedManagedObjectSourceType.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
-
SuppliedManagedObjectSourceNodeImpl
public SuppliedManagedObjectSourceNodeImpl(String qualifier, String type, SupplierNode supplierNode, NodeContext context) Initiate.- Parameters:
qualifier- Qualifier. May benull.type- Type.supplierNode-SupplierNode.context-NodeContext.
-
-
Method Details
-
getSuppliedManagedObjectSourceName
Generates the name for theSuppliedManagedObjectSource.- Parameters:
qualifier- Qualifier. May benull.type- Type.- Returns:
SuppliedManagedObjectSourcename.
-
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:SuppliedManagedObjectSourceNodeInitialises theSuppliedManagedObjectSourceNode.- Specified by:
initialisein interfaceSuppliedManagedObjectSourceNode
-
getSupplierNode
Description copied from interface:SuppliedManagedObjectSourceNodeObtains theSupplierNodecontaining thisSuppliedManagedObjectSource.- Specified by:
getSupplierNodein interfaceSuppliedManagedObjectSourceNode- Returns:
- Parent
SupplierNode.
-
loadSuppliedManagedObjectSourceType
public SuppliedManagedObjectSourceType loadSuppliedManagedObjectSourceType(CompileContext compileContext) Description copied from interface:SuppliedManagedObjectSourceNodeLoads theSuppliedManagedObjectSourceType.- Specified by:
loadSuppliedManagedObjectSourceTypein interfaceSuppliedManagedObjectSourceNode- Parameters:
compileContext-CompileContext.- Returns:
SuppliedManagedObjectSourceType. May benullif issue in loading theSuppliedManagedObjectSourceType.
-