Interface OfficeFloorLoader
-
- All Known Implementing Classes:
OfficeFloorLoaderImpl
public interface OfficeFloorLoader
Loads theOfficeFloor
from theOfficeFloorSource
.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <OF extends OfficeFloorSource>
OfficeFloorTypeloadOfficeFloorType(java.lang.Class<OF> officeFloorSourceClass, java.lang.String officeFloorLocation, PropertyList propertyList)
Loads theOfficeFloorType
.<OF extends OfficeFloorSource>
OfficeFloorTypeloadOfficeFloorType(OF officeFloorSource, java.lang.String officeFloorLocation, PropertyList propertyList)
Loads theOfficeFloorType
.<OF extends OfficeFloorSource>
PropertyListloadRequiredProperties(java.lang.Class<OF> officeFloorSourceClass, java.lang.String officeFloorLocation, PropertyList propertyList)
Loads the requiredPropertyList
for theOfficeFloorSource
configuration.<OF extends OfficeFloorSource>
PropertyListloadSpecification(java.lang.Class<OF> officeFloorSourceClass)
Loads and returns thePropertyList
from theOfficeFloorSourceSpecification
for theOfficeFloorSource
.
-
-
-
Method Detail
-
loadSpecification
<OF extends OfficeFloorSource> PropertyList loadSpecification(java.lang.Class<OF> officeFloorSourceClass)
Loads and returns thePropertyList
from theOfficeFloorSourceSpecification
for theOfficeFloorSource
.- Type Parameters:
OF
-OfficeFloorSource
type.- Parameters:
officeFloorSourceClass
- Class of theOfficeFloorSource
.- Returns:
PropertyList
of theOfficeFloorSourceProperty
instances of theOfficeFloorSourceSpecification
ornull
if issue, which is reported to theCompilerIssues
.
-
loadRequiredProperties
<OF extends OfficeFloorSource> PropertyList loadRequiredProperties(java.lang.Class<OF> officeFloorSourceClass, java.lang.String officeFloorLocation, PropertyList propertyList)
Loads the required
PropertyList
for theOfficeFloorSource
configuration.These are additional
Property
instances over and above theOfficeFloorSourceSpecification
that are required by theOfficeFloorSource
to load theOfficeFloor
. Typically these will beProperty
instances required by the configuration of theOfficeFloor
.- Type Parameters:
OF
-OfficeFloorSource
type.- Parameters:
officeFloorSourceClass
- Class of theOfficeFloorSource
.officeFloorLocation
- Location of theOfficeFloor
.propertyList
-PropertyList
containing the properties as per theOfficeFloorSourceSpecification
.- Returns:
- Required
PropertyList
ornull
if issues, which are reported to theCompilerIssues
.
-
loadOfficeFloorType
<OF extends OfficeFloorSource> OfficeFloorType loadOfficeFloorType(java.lang.Class<OF> officeFloorSourceClass, java.lang.String officeFloorLocation, PropertyList propertyList)
Loads theOfficeFloorType
.- Type Parameters:
OF
-OfficeFloorSource
type.- Parameters:
officeFloorSourceClass
- Class of theOfficeFloorSource
.officeFloorLocation
- Location of theOfficeFloor
.propertyList
-PropertyList
containing both theOfficeFloorSourceProperty
and requiredProperty
instances.- Returns:
OfficeFloorType
ornull
if issues, which are reported to theCompilerIssues
.
-
loadOfficeFloorType
<OF extends OfficeFloorSource> OfficeFloorType loadOfficeFloorType(OF officeFloorSource, java.lang.String officeFloorLocation, PropertyList propertyList)
Loads theOfficeFloorType
.- Type Parameters:
OF
-OfficeFloorSource
type.- Parameters:
officeFloorSource
-OfficeFloorSource
.officeFloorLocation
- Location of theOfficeFloor
.propertyList
-PropertyList
containing both theOfficeFloorSourceProperty
and requiredProperty
instances.- Returns:
OfficeFloorType
ornull
if issues, which are reported to theCompilerIssues
.
-
-