|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FieldNameResolver
An interface to resolve field names. Implementation should not transform (upper case, under score, camel case, etc...) the resolved name.
| Method Summary | |
|---|---|
boolean |
accept(java.lang.reflect.Method method)
Tells whether this field name resolver will be able to resolve a name from this method. |
java.lang.String |
resolve(java.lang.reflect.Method method)
Resolves the field name for the method |
boolean |
transform()
Tells whether the resolved method name from resolve(Method) allows for further transformations. |
| Method Detail |
|---|
boolean accept(java.lang.reflect.Method method)
method - the method to figure out the field name for
true if resolve(Method) will actually resolve the field name given the same method
argumentjava.lang.String resolve(java.lang.reflect.Method method)
method - the method to resolve the field name for.
null is valid if no field name should be associated with this method.
java.lang.IllegalStateException - if this method is called while accept(Method) returns falseboolean transform()
resolve(Method) allows for further transformations.
true if further transformations are allowed
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||