Interface ManagedObjectRegistry
-
- All Known Subinterfaces:
OfficeFloorNode
,OfficeNode
,SectionNode
- All Known Implementing Classes:
OfficeFloorNodeImpl
,OfficeNodeImpl
,SectionNodeImpl
public interface ManagedObjectRegistry
Registry of theManagedObjectNode
within a particular context (for exampleSectionNode
).- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ManagedObjectNode
addManagedObjectNode(java.lang.String managedObjectName, ManagedObjectScope managedObjectScope, ManagedObjectSourceNode managedObjectSourceNode)
Adds an initialisedManagedObjectNode
to the registry.ManagedObjectNode
getManagedObjectNode(java.lang.String managedObjectName)
Obtains theManagedObjectNode
from the registry.
-
-
-
Method Detail
-
getManagedObjectNode
ManagedObjectNode getManagedObjectNode(java.lang.String managedObjectName)
Obtains the
ManagedObjectNode
from the registry.The returned
ManagedObjectNode
may or may not be initialised.- Parameters:
managedObjectName
- Name of theManagedObjectNode
.- Returns:
ManagedObjectNode
from the registry.
-
addManagedObjectNode
ManagedObjectNode addManagedObjectNode(java.lang.String managedObjectName, ManagedObjectScope managedObjectScope, ManagedObjectSourceNode managedObjectSourceNode)
Adds an initialised
ManagedObjectNode
to the registry.Should an
ManagedObjectNode
already be added by the name, then an issue is reported to theCompilerIssue
.- Parameters:
managedObjectName
- Name of theManagedObjectNode
.managedObjectScope
-ManagedObjectScope
.managedObjectSourceNode
-ManagedObjectSourceNode
for theManagedObjectNode
.- Returns:
- Initialised
ManagedObjectNode
by the name.
-
-