Interface OfficeObjectNode
- All Superinterfaces:
AdministerableManagedObject,DependentManagedObject,GovernerableManagedObject,LinkObjectNode,Node,OfficeDependencyObjectNode,OfficeFloorDependencyRequireNode,OfficeObject
- All Known Implementing Classes:
OfficeObjectNodeImpl
OfficeObject node.- Author:
- Daniel Sagenschneider
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAdministrator(AdministrationNode administrator) Adds anAdministrationNodefor thisOfficeManagedObjectType.voidaddGovernance(GovernanceNode governance) Obtains theGovernanceNodeinstances to provideGovernanceoverBoundManagedObjectNodelinked to thisOfficeObjectNode.Obtains the type of theOfficeObject.Obtains theAdministrationNodeinstances to provide pre-loadAdministrationoverBoundManagedObjectNodelinked to thisOfficeObjectNode.Obtains the type qualifier for theOfficeObject.voidinitialise(String objectType) Initialises thisOfficeManagedObjectType.loadOfficeManagedObjectType(CompileContext compileContext) Loads theOfficeManagedObjectTypefor thisOfficeObjectNode.Methods inherited from interface net.officefloor.compile.spi.office.AdministerableManagedObject
getAdministerableManagedObjectNameMethods inherited from interface net.officefloor.compile.spi.office.DependentManagedObject
getDependentManagedObjectNameMethods inherited from interface net.officefloor.compile.spi.office.GovernerableManagedObject
getGovernerableManagedObjectNameMethods inherited from interface net.officefloor.compile.internal.structure.LinkObjectNode
getLinkedObjectNode, linkObjectNodeMethods inherited from interface net.officefloor.compile.internal.structure.Node
getChildNodes, getLocation, getNodeName, getNodeType, getParentNode, getQualifiedName, getQualifiedName, isInitialisedMethods inherited from interface net.officefloor.compile.spi.office.OfficeObject
addPreLoadAdministration, getOfficeObjectName, setTypeQualifier
-
Field Details
-
TYPE
Nodetype.- See Also:
-
-
Method Details
-
initialise
Initialises thisOfficeManagedObjectType.- Parameters:
objectType- Object type.
-
addAdministrator
Adds an
AdministrationNodefor thisOfficeManagedObjectType.This allows the
OfficeManagedObjectTypeto report the extension types required to be supported by theOfficeFloorManagedObjectfor theOfficeObject.- Parameters:
administrator-AdministrationNode.
-
getPreLoadAdministrations
AdministrationNode[] getPreLoadAdministrations()Obtains theAdministrationNodeinstances to provide pre-loadAdministrationoverBoundManagedObjectNodelinked to thisOfficeObjectNode.- Returns:
AdministrationNodeinstances.
-
addGovernance
Adds a
GovernanceNodeprovidingGovernancefor thisOfficeObject.This also allows the
OfficeManagedObjectTypeto report the extension interfaces required to be supported by theOfficeFloorManagedObjectfor theOfficeObject.- Parameters:
governance-GovernanceNode.
-
getGovernances
GovernanceNode[] getGovernances()Obtains theGovernanceNodeinstances to provideGovernanceoverBoundManagedObjectNodelinked to thisOfficeObjectNode.- Returns:
GovernanceNodeinstances.
-
getOfficeObjectType
String getOfficeObjectType()Obtains the type of theOfficeObject.- Returns:
- Type of the
OfficeObject.
-
getTypeQualifier
String getTypeQualifier()Obtains the type qualifier for theOfficeObject.- Returns:
- Type qualifier for the
OfficeObject.
-
loadOfficeManagedObjectType
Loads theOfficeManagedObjectTypefor thisOfficeObjectNode.- Parameters:
compileContext-CompileContext.- Returns:
OfficeManagedObjectTypeornullwith issues reported to theCompilerIssues.
-