net.officefloor.model.impl.desk
Class DeskModelSectionSource
java.lang.Object
net.officefloor.compile.spi.section.source.impl.AbstractSectionSource
net.officefloor.model.impl.desk.DeskModelSectionSource
- All Implemented Interfaces:
- SectionSourceService<DeskModelSectionSource>, SectionSource
public class DeskModelSectionSource
- extends AbstractSectionSource
- implements SectionSourceService<DeskModelSectionSource>
SectionSource for a DeskModel.
- Author:
- Daniel Sagenschneider
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DeskModelSectionSource
public DeskModelSectionSource()
getSectionSourceAlias
public String getSectionSourceAlias()
- Description copied from interface:
SectionSourceService
- Obtains the alias for the
SectionSource Class.
- Specified by:
getSectionSourceAlias in interface SectionSourceService<DeskModelSectionSource>
- Returns:
- Alias for the
SectionSource Class.
getSectionSourceClass
public Class<DeskModelSectionSource> getSectionSourceClass()
- Description copied from interface:
SectionSourceService
- Obtains the
SectionSource Class.
- Specified by:
getSectionSourceClass in interface SectionSourceService<DeskModelSectionSource>
- Returns:
SectionSource Class.
loadSpecification
protected void loadSpecification(AbstractSectionSource.SpecificationContext context)
- Description copied from class:
AbstractSectionSource
- Loads the
SectionSourceSpecification.
- Specified by:
loadSpecification in class AbstractSectionSource
- Parameters:
context - AbstractSectionSource.SpecificationContext.
sourceSection
public void sourceSection(SectionDesigner designer,
SectionSourceContext context)
throws Exception
- Description copied from interface:
SectionSource
- Sources the
OfficeSection by constructing it via the input
SectionDesigner.
- Specified by:
sourceSection in interface SectionSource
- Parameters:
designer - SectionDesigner to construct the structure of the
OfficeSection.context - SectionSourceContext to source details to construct
the OfficeSection.
- Throws:
Exception - If fails to construct the OfficeSection.
Copyright © 2005-2013. All Rights Reserved.