Interface OfficeSource
-
- All Known Implementing Classes:
AbstractOfficeSource
,OfficeModelOfficeSource
public interface OfficeSource
Sources theOfficeType
.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OfficeSourceSpecification
getSpecification()
Obtains theOfficeSourceSpecification
for thisOfficeSource
.void
sourceOffice(OfficeArchitect officeArchitect, OfficeSourceContext context)
Sources theOfficeType
by constructing it via the inputOfficeArchitect
.
-
-
-
Method Detail
-
getSpecification
OfficeSourceSpecification getSpecification()
Obtains the
OfficeSourceSpecification
for thisOfficeSource
.This enables the
OfficeSourceContext
to be populated with the necessary details as per thisOfficeSourceSpecification
in loading theOfficeType
.- Returns:
OfficeSourceSpecification
.
-
sourceOffice
void sourceOffice(OfficeArchitect officeArchitect, OfficeSourceContext context) throws java.lang.Exception
Sources theOfficeType
by constructing it via the inputOfficeArchitect
.- Parameters:
officeArchitect
-OfficeArchitect
to structure theOffice
.context
-OfficeSourceContext
to source details to structure theOffice
.- Throws:
java.lang.Exception
- If fails to construct theOffice
.
-
-