public interface CodeGenerationStrategy
| Modifier and Type | Interface and Description |
|---|---|
static class |
CodeGenerationStrategy.Position
Position represents the relative position of a specification
in the chain of mapping specifications
|
| Modifier and Type | Method and Description |
|---|---|
void |
addAggregateSpecification(AggregateSpecification spec,
CodeGenerationStrategy.Position relativePosition,
Class<AggregateSpecification> relativeSpec)
Convenience method to add an AggregateSpecification at a relative position with respect to
another AggregateSpecification, or the list in general
|
void |
addSpecification(Specification spec,
CodeGenerationStrategy.Position relativePosition,
Class<? extends Specification> relativeSpec)
Convenience method to add a specification at a relative position with respect to
another Specification, or the list in general
|
List<AggregateSpecification> |
getAggregateSpecifications() |
List<Specification> |
getSpecifications() |
void |
setMapperFactory(MapperFactory mapperFactory)
Set the MapperFactory on this CodeGenerationStrategy
|
void setMapperFactory(MapperFactory mapperFactory)
mapperFactory - the MapperFactory to applyvoid addSpecification(Specification spec, CodeGenerationStrategy.Position relativePosition, Class<? extends Specification> relativeSpec)
spec - the specification to addrelativePosition - the relative positionrelativeSpec - the other relative spec (for Positions BEFORE, AFTER, or IN_PLACE_OF)List<Specification> getSpecifications()
void addAggregateSpecification(AggregateSpecification spec, CodeGenerationStrategy.Position relativePosition, Class<AggregateSpecification> relativeSpec)
spec - the specification to addrelativePosition - the relative positionrelativeSpec - the other relative spec (for Positions BEFORE, AFTER, or IN_PLACE_OF)List<AggregateSpecification> getAggregateSpecifications()
Copyright © 2019 Glasnost. All rights reserved.