Interface OfficeObjectNode
-
- All Superinterfaces:
AdministerableManagedObject
,DependentManagedObject
,GovernerableManagedObject
,LinkObjectNode
,Node
,OfficeDependencyObjectNode
,OfficeFloorDependencyRequireNode
,OfficeObject
- All Known Implementing Classes:
OfficeObjectNodeImpl
public interface OfficeObjectNode extends LinkObjectNode, OfficeObject
OfficeObject
node.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addAdministrator(AdministrationNode administrator)
Adds anAdministrationNode
for thisOfficeManagedObjectType
.void
addGovernance(GovernanceNode governance)
GovernanceNode[]
getGovernances()
Obtains theGovernanceNode
instances to provideGovernance
overBoundManagedObjectNode
linked to thisOfficeObjectNode
.java.lang.String
getOfficeObjectType()
Obtains the type of theOfficeObject
.AdministrationNode[]
getPreLoadAdministrations()
Obtains theAdministrationNode
instances to provide pre-loadAdministration
overBoundManagedObjectNode
linked to thisOfficeObjectNode
.java.lang.String
getTypeQualifier()
Obtains the type qualifier for theOfficeObject
.void
initialise(java.lang.String objectType)
Initialises thisOfficeManagedObjectType
.OfficeManagedObjectType
loadOfficeManagedObjectType(CompileContext compileContext)
Loads theOfficeManagedObjectType
for 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
Node
type.- 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
AdministrationNode
for thisOfficeManagedObjectType
.This allows the
OfficeManagedObjectType
to report the extension types required to be supported by theOfficeFloorManagedObject
for theOfficeObject
.- Parameters:
administrator
-AdministrationNode
.
-
getPreLoadAdministrations
AdministrationNode[] getPreLoadAdministrations()
Obtains theAdministrationNode
instances to provide pre-loadAdministration
overBoundManagedObjectNode
linked to thisOfficeObjectNode
.- Returns:
AdministrationNode
instances.
-
addGovernance
void addGovernance(GovernanceNode governance)
Adds a
GovernanceNode
providingGovernance
for thisOfficeObject
.This also allows the
OfficeManagedObjectType
to report the extension interfaces required to be supported by theOfficeFloorManagedObject
for theOfficeObject
.- Parameters:
governance
-GovernanceNode
.
-
getGovernances
GovernanceNode[] getGovernances()
Obtains theGovernanceNode
instances to provideGovernance
overBoundManagedObjectNode
linked to thisOfficeObjectNode
.- Returns:
GovernanceNode
instances.
-
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 theOfficeManagedObjectType
for thisOfficeObjectNode
.- Parameters:
compileContext
-CompileContext
.- Returns:
OfficeManagedObjectType
ornull
with issues reported to theCompilerIssues
.
-
-