Interface ManagedObjectRegistry
- All Known Subinterfaces:
OfficeFloorNode,OfficeNode,SectionNode
- All Known Implementing Classes:
OfficeFloorNodeImpl,OfficeNodeImpl,SectionNodeImpl
public interface ManagedObjectRegistry
Registry of the
ManagedObjectNode within a particular context (for
example SectionNode).- Author:
- Daniel Sagenschneider
-
Method Summary
Modifier and TypeMethodDescriptionaddManagedObjectNode(String managedObjectName, ManagedObjectScope managedObjectScope, ManagedObjectSourceNode managedObjectSourceNode) Adds an initialisedManagedObjectNodeto the registry.getManagedObjectNode(String managedObjectName) Obtains theManagedObjectNodefrom the registry.
-
Method Details
-
getManagedObjectNode
Obtains the
ManagedObjectNodefrom the registry.The returned
ManagedObjectNodemay or may not be initialised.- Parameters:
managedObjectName- Name of theManagedObjectNode.- Returns:
ManagedObjectNodefrom the registry.
-
addManagedObjectNode
ManagedObjectNode addManagedObjectNode(String managedObjectName, ManagedObjectScope managedObjectScope, ManagedObjectSourceNode managedObjectSourceNode) Adds an initialised
ManagedObjectNodeto the registry.Should an
ManagedObjectNodealready be added by the name, then an issue is reported to theCompilerIssue.- Parameters:
managedObjectName- Name of theManagedObjectNode.managedObjectScope-ManagedObjectScope.managedObjectSourceNode-ManagedObjectSourceNodefor theManagedObjectNode.- Returns:
- Initialised
ManagedObjectNodeby the name.
-