Class ManagedObjectLoaderImpl
java.lang.Object
net.officefloor.compile.impl.managedobject.ManagedObjectLoaderImpl
- All Implemented Interfaces:
ManagedObjectLoader,IssueTarget
ManagedObjectLoader implementation.- Author:
- Daniel Sagenschneider
-
Constructor Summary
ConstructorsConstructorDescriptionManagedObjectLoaderImpl(Node node, OfficeNode officeNode, NodeContext nodeContext) Instantiate. -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds the issue.voidAdds the issue.<D extends Enum<D>,F extends Enum<F>, MS extends ManagedObjectSource<D, F>>
ManagedObjectType<D>loadManagedObjectType(Class<MS> managedObjectSourceClass, PropertyList propertyList) Loads and returns theManagedObjectTypefor theManagedObjectSource.<D extends Enum<D>,F extends Enum<F>>
ManagedObjectType<D>loadManagedObjectType(ManagedObjectSource<D, F> managedObjectSource, PropertyList propertyList) Loads and returns theManagedObjectTypefor theManagedObjectSource.<D extends Enum<D>,F extends Enum<F>, MS extends ManagedObjectSource<D, F>>
OfficeFloorManagedObjectSourceTypeloadOfficeFloorManagedObjectSourceType(String managedObjectSourceName, Class<MS> managedObjectSourceClass, PropertyList propertyList) Loads and returns theOfficeFloorManagedObjectSourceTypefor theManagedObjectSource.<D extends Enum<D>,F extends Enum<F>, MS extends ManagedObjectSource<D, F>>
OfficeFloorManagedObjectSourceTypeloadOfficeFloorManagedObjectSourceType(String managedObjectSourceName, MS managedObjectSource, PropertyList propertyList) Loads and returns theOfficeFloorManagedObjectSourceTypefor theManagedObjectSource.<D extends Enum<D>,H extends Enum<H>, MS extends ManagedObjectSource<D, H>>
PropertyListloadSpecification(Class<MS> managedObjectSourceClass) Loads and returns thePropertyListfrom theManagedObjectSourceSpecificationfor theManagedObjectSource.<D extends Enum<D>,H extends Enum<H>>
PropertyListloadSpecification(ManagedObjectSource<D, H> managedObjectSource) Loads thePropertyListspecification.
-
Constructor Details
-
ManagedObjectLoaderImpl
Instantiate.- Parameters:
node-Noderequiring theManagedObject.officeNode-OfficeNode. May benullif not loading withinOfficeNode.nodeContext-NodeContext.
-
-
Method Details
-
loadSpecification
public <D extends Enum<D>,H extends Enum<H>, PropertyList loadSpecificationMS extends ManagedObjectSource<D, H>> (Class<MS> managedObjectSourceClass) Description copied from interface:ManagedObjectLoaderLoads and returns thePropertyListfrom theManagedObjectSourceSpecificationfor theManagedObjectSource.- Specified by:
loadSpecificationin interfaceManagedObjectLoader- Type Parameters:
D- Dependency key type.H- Flow key type.MS-ManagedObjectSourcetype.- Parameters:
managedObjectSourceClass-ManagedObjectSourceclass.- Returns:
PropertyListof theManagedObjectSourcePropertyinstances of theManagedObjectSourceSpecificationornullif issue, which is reported to theCompilerIssues.
-
loadSpecification
public <D extends Enum<D>,H extends Enum<H>> PropertyList loadSpecification(ManagedObjectSource<D, H> managedObjectSource) Loads thePropertyListspecification.- Specified by:
loadSpecificationin interfaceManagedObjectLoader- Type Parameters:
D- Dependency key.H- Flow key.- Parameters:
managedObjectSource-ManagedObjectSource.- Returns:
PropertyListspecification ornullif issue.
-
loadManagedObjectType
public <D extends Enum<D>,F extends Enum<F>, ManagedObjectType<D> loadManagedObjectTypeMS extends ManagedObjectSource<D, F>> (Class<MS> managedObjectSourceClass, PropertyList propertyList) Description copied from interface:ManagedObjectLoaderLoads and returns theManagedObjectTypefor theManagedObjectSource.- Specified by:
loadManagedObjectTypein interfaceManagedObjectLoader- Type Parameters:
D- Dependency key type.F- Flow key type.MS-ManagedObjectSourcetype.- Parameters:
managedObjectSourceClass- Class of theManagedObjectSource.propertyList-PropertyListcontaining the properties to source theManagedObjectType.- Returns:
ManagedObjectTypeornullif issues, which are reported to theCompilerIssues.
-
loadManagedObjectType
public <D extends Enum<D>,F extends Enum<F>> ManagedObjectType<D> loadManagedObjectType(ManagedObjectSource<D, F> managedObjectSource, PropertyList propertyList) Description copied from interface:ManagedObjectLoaderLoads and returns theManagedObjectTypefor theManagedObjectSource.- Specified by:
loadManagedObjectTypein interfaceManagedObjectLoader- Type Parameters:
D- Dependency key type.F- Flow key type.- Parameters:
managedObjectSource-ManagedObjectSourceinstance to use.propertyList-PropertyListcontaining the properties to source theManagedObjectType.- Returns:
ManagedObjectTypeornullif issues, which are reported to theCompilerIssues.
-
loadOfficeFloorManagedObjectSourceType
public <D extends Enum<D>,F extends Enum<F>, OfficeFloorManagedObjectSourceType loadOfficeFloorManagedObjectSourceTypeMS extends ManagedObjectSource<D, F>> (String managedObjectSourceName, Class<MS> managedObjectSourceClass, PropertyList propertyList) Description copied from interface:ManagedObjectLoaderLoads and returns theOfficeFloorManagedObjectSourceTypefor theManagedObjectSource.- Specified by:
loadOfficeFloorManagedObjectSourceTypein interfaceManagedObjectLoader- Type Parameters:
D- Dependency key type.F- Flow key type.MS-ManagedObjectSourcetype.- Parameters:
managedObjectSourceName- Name of theManagedObjectSource.managedObjectSourceClass- Class of theManagedObjectSource.propertyList-PropertyListcontaining the properties to source theOfficeFloorManagedObjectSourceType.- Returns:
OfficeFloorManagedObjectSourceTypeornullif issues, which are reported to theCompilerIssues.
-
loadOfficeFloorManagedObjectSourceType
public <D extends Enum<D>,F extends Enum<F>, OfficeFloorManagedObjectSourceType loadOfficeFloorManagedObjectSourceTypeMS extends ManagedObjectSource<D, F>> (String managedObjectSourceName, MS managedObjectSource, PropertyList propertyList) Description copied from interface:ManagedObjectLoaderLoads and returns theOfficeFloorManagedObjectSourceTypefor theManagedObjectSource.- Specified by:
loadOfficeFloorManagedObjectSourceTypein interfaceManagedObjectLoader- Type Parameters:
D- Dependency key type.F- Flow key type.MS-ManagedObjectSourcetype.- Parameters:
managedObjectSourceName- Name of theManagedObjectSource.managedObjectSource-ManagedObjectSourceinstances to use.propertyList-PropertyListcontaining the properties to source theOfficeFloorManagedObjectSourceType.- Returns:
OfficeFloorManagedObjectSourceTypeornullif issues, which are reported to theCompilerIssues.
-
addIssue
Description copied from interface:IssueTargetAdds the issue.- Specified by:
addIssuein interfaceIssueTarget- Parameters:
issueDescription- Description of the issue.
-
addIssue
Description copied from interface:IssueTargetAdds the issue.- Specified by:
addIssuein interfaceIssueTarget- Parameters:
issueDescription- Description of the issue.cause- Cause of the issue.
-