C
- the type of the translation context object.T
- the type of the translated target object.public interface SpecificationTranslator<C,T>
Specification
into a target object by invoking the relevant SpecificationConverter
s.Modifier and Type | Method and Description |
---|---|
Class<C> |
getContextClass()
Returns the class of translation context.
|
Class<T> |
getTargetClass()
Returns the class of target object.
|
<S extends Specification<?>> |
translate(S specification,
C context)
Translates the specified composite specification into a target object.
|
<S extends Specification<?>> T translate(S specification, C context)
S
- the type of the specification to translate.specification
- the Specification
to translate.context
- the translation context.Class<C> getContextClass()
Copyright © 2013-2018–2019 SeedStack. All rights reserved.