public interface WorkSource<W extends Work>
WorkType
.Modifier and Type | Method and Description |
---|---|
WorkSourceSpecification |
getSpecification()
Obtains the
WorkSourceSpecification for this WorkSource . |
void |
sourceWork(WorkTypeBuilder<W> workTypeBuilder,
WorkSourceContext context)
Sources the
WorkType by populating it via the input
WorkTypeBuilder . |
WorkSourceSpecification getSpecification()
Obtains the WorkSourceSpecification
for this WorkSource
.
This enables the WorkSourceContext
to be populated with the
necessary details as per this WorkSourceSpecification
in loading
the WorkType
.
WorkSourceSpecification
.void sourceWork(WorkTypeBuilder<W> workTypeBuilder, WorkSourceContext context) throws Exception
WorkType
by populating it via the input
WorkTypeBuilder
.workTypeBuilder
- WorkTypeBuilder
to be populated with the
type definition
of the Work
.context
- WorkSourceContext
to source details to populate the
WorkTypeBuilder
.Exception
- If fails to populate the WorkTypeBuilder
.Copyright © 2005–2016. All rights reserved.