Class InputManagedObjectNodeImpl
- java.lang.Object
- 
- net.officefloor.compile.impl.structure.InputManagedObjectNodeImpl
 
- 
- All Implemented Interfaces:
- BoundManagedObjectNode,- InputManagedObjectNode,- LinkObjectNode,- Node,- OfficeFloorDependencyObjectNode,- OfficeFloorInputManagedObject
 
 public class InputManagedObjectNodeImpl extends java.lang.Object implements InputManagedObjectNode InputManagedObjectNodeimplementation.- Author:
- Daniel Sagenschneider
 
- 
- 
Field Summary- 
Fields inherited from interface net.officefloor.compile.internal.structure.InputManagedObjectNodeTYPE
 
- 
 - 
Constructor SummaryConstructors Constructor Description InputManagedObjectNodeImpl(java.lang.String inputManagedObjectName, java.lang.String inputObjectType, OfficeFloorNode officeFloor, NodeContext context)Initiate.
 - 
Method Summary- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface net.officefloor.compile.internal.structure.NodegetQualifiedName, getQualifiedName
 
- 
 
- 
- 
- 
Constructor Detail- 
InputManagedObjectNodeImplpublic InputManagedObjectNodeImpl(java.lang.String inputManagedObjectName, java.lang.String inputObjectType, OfficeFloorNode officeFloor, NodeContext context)Initiate.- Parameters:
- inputManagedObjectName- Name of this- InputManagedObjectNode.
- inputObjectType- Input object type.
- officeFloor-- OfficeFloorNode.
- context-- NodeContext.
 
 
- 
 - 
Method Detail- 
getNodeNamepublic java.lang.String getNodeName() Description copied from interface:NodeObtains the name of theNode.- Specified by:
- getNodeNamein interface- Node
- Returns:
- Name of the Node.
 
 - 
getNodeTypepublic java.lang.String getNodeType() Description copied from interface:NodeObtains theNodetype.- Specified by:
- getNodeTypein interface- Node
- Returns:
- Nodetype.
 
 - 
getLocationpublic java.lang.String getLocation() Description copied from interface:NodeObtains the location of theNode.- Specified by:
- getLocationin interface- Node
- Returns:
- Location of the Node. May benullifNodedoes not support a location.
 
 - 
getParentNodepublic Node getParentNode() Description copied from interface:Node- Specified by:
- getParentNodein interface- Node
- Returns:
- Nodecontaining this- Node.
 
 - 
getChildNodespublic Node[] getChildNodes() Description copied from interface:NodeObtains the childNodeinstances.- Specified by:
- getChildNodesin interface- Node
- Returns:
- Child Nodeinstances.
 
 - 
isInitialisedpublic 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 interface- Node
- Returns:
- trueif initialised.
 
 - 
initialisepublic void initialise() Description copied from interface:InputManagedObjectNodeInitialises theInputManagedObjectNode.- Specified by:
- initialisein interface- InputManagedObjectNode
 
 - 
getInputObjectTypepublic java.lang.String getInputObjectType() Description copied from interface:InputManagedObjectNodeObtains the input object type.- Specified by:
- getInputObjectTypein interface- InputManagedObjectNode
- Returns:
- Input object type.
 
 - 
getBoundManagedObjectSourceNodepublic ManagedObjectSourceNode getBoundManagedObjectSourceNode() Description copied from interface:InputManagedObjectNodeObtains the boundManagedObjectSourceNodefor thisInputManagedObjectNode.- Specified by:
- getBoundManagedObjectSourceNodein interface- InputManagedObjectNode
- Returns:
- Bound ManagedObjectSourceNodefor thisInputManagedObjectNode.
 
 - 
getBoundManagedObjectNamepublic java.lang.String getBoundManagedObjectName() Description copied from interface:BoundManagedObjectNodeObtains the name under which thisManagedObjectis made available to theOffice.- Specified by:
- getBoundManagedObjectNamein interface- BoundManagedObjectNode
- Returns:
- Name under which this ManagedObjectis made available to theOffice.
 
 - 
addGovernancepublic void addGovernance(GovernanceNode governance, OfficeNode office) Description copied from interface:BoundManagedObjectNodeAdds theGovernanceNodeto provideGovernanceover thisManagedObjectNodewhen used within theOfficeof theOfficeNode.- Specified by:
- addGovernancein interface- BoundManagedObjectNode
- Parameters:
- governance-- GovernanceNode.
- office-- OfficeNodefor which the- Governanceis applicable.
 
 - 
addPreLoadAdministrationpublic void addPreLoadAdministration(AdministrationNode preLoadAdministration, OfficeNode office) Description copied from interface:BoundManagedObjectNodeAdds theAdministrationNodeto provide pre-loadAdministrationfor thisManagedObjectNodewhen used within theOfficeof theOfficeNode.- Specified by:
- addPreLoadAdministrationin interface- BoundManagedObjectNode
- Parameters:
- preLoadAdministration- Pre-load- AdministrationNode.
- office-- OfficeNodefor which the pre-load- Administrationis applicable.
 
 - 
getManagedObjectSourceNodepublic ManagedObjectSourceNode getManagedObjectSourceNode() Description copied from interface:BoundManagedObjectNodeObtains theManagedObjectSourceNodefor thisBoundManagedObjectNode.- Specified by:
- getManagedObjectSourceNodein interface- BoundManagedObjectNode
- Returns:
- ManagedObjectSourceNodefor this- BoundManagedObjectNode.
 
 - 
buildOfficeManagedObjectpublic void buildOfficeManagedObject(OfficeNode office, OfficeBuilder officeBuilder, OfficeBindings officeBindings, CompileContext compileContext) Description copied from interface:BoundManagedObjectNodeBuilds theManagedObjectinto theOffice.- Specified by:
- buildOfficeManagedObjectin interface- BoundManagedObjectNode
- Parameters:
- office-- OfficeNodeof the- Officethat this- ManagedObjectis to build itself into.
- officeBuilder-- OfficeBuilderfor the- Office.
- officeBindings-- OfficeBindings.
- compileContext-- CompileContext.
 
 - 
buildSupplierThreadLocalpublic void buildSupplierThreadLocal(OptionalThreadLocalReceiver optionalThreadLocalReceiver) Description copied from interface:BoundManagedObjectNodeBuilds theSupplierThreadLocalfrom the boundManagedObject.- Specified by:
- buildSupplierThreadLocalin interface- BoundManagedObjectNode
- Parameters:
- optionalThreadLocalReceiver-- OptionalThreadLocalReceiverto receive the- OptionalThreadLocal.
 
 - 
getGovernancespublic GovernanceNode[] getGovernances(OfficeNode managingOffice) Description copied from interface:InputManagedObjectNode- Specified by:
- getGovernancesin interface- InputManagedObjectNode
- Parameters:
- managingOffice-- OfficeNodemanaging the- InputManagedObjectNode, which ensures that- Governancedoes not extend beyond the particular- OfficeNode.
- Returns:
- GovernanceNodeinstances providing- Governanceover this- InputManagedObjectNode.
 
 - 
getPreLoadAdministrationspublic AdministrationNode[] getPreLoadAdministrations(OfficeNode managingOffice) Description copied from interface:InputManagedObjectNodeObtains the pre-loadAdministrationNodeinstances providingAdministrationover thisInputManagedObjectNode.- Specified by:
- getPreLoadAdministrationsin interface- InputManagedObjectNode
- Parameters:
- managingOffice-- OfficeNodemanaging the- InputManagedObjectNode, which ensures that- Administrationdoes not extend beyond the particular- OfficeNode.
- Returns:
- AdministrationNodeinstances providing pre-load- Administrationover this- InputManagedObjectNode.
 
 - 
getTypeQualificationspublic TypeQualification[] getTypeQualifications(CompileContext compileContext) Description copied from interface:InputManagedObjectNodeObtains theTypeQualificationinstances for theInputManagedObjectNode.- Specified by:
- getTypeQualificationsin interface- InputManagedObjectNode
- Parameters:
- compileContext-- CompileContext.
- Returns:
- TypeQualificationinstances for the- InputManagedObjectNode.
 
 - 
getOfficeFloorInputManagedObjectNamepublic java.lang.String getOfficeFloorInputManagedObjectName() Description copied from interface:OfficeFloorInputManagedObjectObtains the name of thisOfficeFloorInputManagedObject.- Specified by:
- getOfficeFloorInputManagedObjectNamein interface- OfficeFloorInputManagedObject
- Returns:
- Name of this OfficeFloorInputManagedObject.
 
 - 
addTypeQualificationpublic void addTypeQualification(java.lang.String qualifier, java.lang.String type)Description copied from interface:OfficeFloorInputManagedObjectAdds an TypeQualificationfor thisOfficeFloorInputManagedObject.This enables distinguishing OfficeFloorInputManagedObjectinstances to enable, for example, dynamicTeamassignment.- Specified by:
- addTypeQualificationin interface- OfficeFloorInputManagedObject
- Parameters:
- qualifier- Qualifier. May be- nullif no qualification.
- type- Type (typically the fully qualified type).
 
 - 
setBoundOfficeFloorManagedObjectSourcepublic void setBoundOfficeFloorManagedObjectSource(OfficeFloorManagedObjectSource managedObjectSource) Description copied from interface:OfficeFloorInputManagedObjectSpecifies the boundOfficeFloorManagedObjectSourcefor thisOfficeFloorInputManagedObject.- Specified by:
- setBoundOfficeFloorManagedObjectSourcein interface- OfficeFloorInputManagedObject
- Parameters:
- managedObjectSource-- OfficeFloorManagedObjectSourceto be bound should this not be input but required.
 
 - 
linkObjectNodepublic boolean linkObjectNode(LinkObjectNode node) Description copied from interface:LinkObjectNodeLinks the inputLinkObjectNodeto thisLinkObjectNode.- Specified by:
- linkObjectNodein interface- LinkObjectNode
- Parameters:
- node-- LinkObjectNodeto link to this- LinkObjectNode.
- Returns:
- trueif linked.
 
 - 
getLinkedObjectNodepublic LinkObjectNode getLinkedObjectNode() Description copied from interface:LinkObjectNodeObtains theLinkObjectNodelinked to thisLinkObjectNode.- Specified by:
- getLinkedObjectNodein interface- LinkObjectNode
- Returns:
- LinkObjectNodelinked to this- LinkObjectNode.
 
 
- 
 
-