|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@InvocationOrderSupport public interface NameMapper<T>
Interface for name mappers.
A name mapper calculates a name of the resource which is linked to the given source.
e.g. constraints are mapped to the corresponding
ValidationStrategy.
NameMappers have to be stateless.
| Method Summary | |
|---|---|
String |
createName(T source)
Returns the name of the target resource for the given source or null if the implementations isn't responsible to map the given instance. |
| Method Detail |
|---|
String createName(T source)
source - Object for which the name must be created.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||