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