Interface OfficeObjectNode
-
- All Superinterfaces:
AdministerableManagedObject,DependentManagedObject,GovernerableManagedObject,LinkObjectNode,Node,OfficeDependencyObjectNode,OfficeFloorDependencyRequireNode,OfficeObject
- All Known Implementing Classes:
OfficeObjectNodeImpl
public interface OfficeObjectNode extends LinkObjectNode, OfficeObject
OfficeObjectnode.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddAdministrator(AdministrationNode administrator)Adds anAdministrationNodefor thisOfficeManagedObjectType.voidaddGovernance(GovernanceNode governance)GovernanceNode[]getGovernances()Obtains theGovernanceNodeinstances to provideGovernanceoverBoundManagedObjectNodelinked to thisOfficeObjectNode.java.lang.StringgetOfficeObjectType()Obtains the type of theOfficeObject.AdministrationNode[]getPreLoadAdministrations()Obtains theAdministrationNodeinstances to provide pre-loadAdministrationoverBoundManagedObjectNodelinked to thisOfficeObjectNode.java.lang.StringgetTypeQualifier()Obtains the type qualifier for theOfficeObject.voidinitialise(java.lang.String objectType)Initialises thisOfficeManagedObjectType.OfficeManagedObjectTypeloadOfficeManagedObjectType(CompileContext compileContext)Loads theOfficeManagedObjectTypefor thisOfficeObjectNode.-
Methods inherited from interface net.officefloor.compile.spi.office.AdministerableManagedObject
getAdministerableManagedObjectName
-
Methods inherited from interface net.officefloor.compile.spi.office.DependentManagedObject
getDependentManagedObjectName
-
Methods inherited from interface net.officefloor.compile.spi.office.GovernerableManagedObject
getGovernerableManagedObjectName
-
Methods inherited from interface net.officefloor.compile.internal.structure.LinkObjectNode
getLinkedObjectNode, linkObjectNode
-
Methods inherited from interface net.officefloor.compile.internal.structure.Node
getChildNodes, getLocation, getNodeName, getNodeType, getParentNode, getQualifiedName, getQualifiedName, isInitialised
-
Methods inherited from interface net.officefloor.compile.spi.office.OfficeObject
addPreLoadAdministration, getOfficeObjectName, setTypeQualifier
-
-
-
-
Field Detail
-
TYPE
static final java.lang.String TYPE
Nodetype.- See Also:
- Constant Field Values
-
-
Method Detail
-
initialise
void initialise(java.lang.String objectType)
Initialises thisOfficeManagedObjectType.- Parameters:
objectType- Object type.
-
addAdministrator
void addAdministrator(AdministrationNode administrator)
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
void addGovernance(GovernanceNode governance)
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
java.lang.String getOfficeObjectType()
Obtains the type of theOfficeObject.- Returns:
- Type of the
OfficeObject.
-
getTypeQualifier
java.lang.String getTypeQualifier()
Obtains the type qualifier for theOfficeObject.- Returns:
- Type qualifier for the
OfficeObject.
-
loadOfficeManagedObjectType
OfficeManagedObjectType loadOfficeManagedObjectType(CompileContext compileContext)
Loads theOfficeManagedObjectTypefor thisOfficeObjectNode.- Parameters:
compileContext-CompileContext.- Returns:
OfficeManagedObjectTypeornullwith issues reported to theCompilerIssues.
-
-