@Documented @Retention(value=RUNTIME) @Target(value={TYPE,ANNOTATION_TYPE}) public @interface DtoOf
Assembler
implementation for the types involved, as it allows it to
generate a default generic implementation. Usage:
@DtoOf(Customer.class) public class CustomerDto { ... }
Depending upon the assembler default implementation(s) present in the classpath, a generic
assembler can be injected with a qualified Assembler
interface:
public class SomeClass { @Inject @SomeQualifier Assembler <Customer, CustomerDto> customerAssembler; }
Modifier and Type | Required Element and Description |
---|---|
Class<? extends AggregateRoot<?>>[] |
value |
public abstract Class<? extends AggregateRoot<?>>[] value
Copyright © 2013-2018–2019 SeedStack. All rights reserved.