|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.java.ao.schema.IsAFieldNameResolver
public final class IsAFieldNameResolver
Constructor Summary | |
---|---|
IsAFieldNameResolver()
|
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 FieldNameResolver.resolve(Method) allows for further transformations. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IsAFieldNameResolver()
Method Detail |
---|
public boolean accept(java.lang.reflect.Method method)
FieldNameResolver
accept
in interface FieldNameResolver
method
- the method to figure out the field name for
true
if FieldNameResolver.resolve(Method)
will actually resolve the field name given the same method
argumentpublic java.lang.String resolve(java.lang.reflect.Method method)
FieldNameResolver
resolve
in interface FieldNameResolver
method
- the method to resolve the field name for.
null
is valid if no field name should be associated with this method.public final boolean transform()
FieldNameResolver
FieldNameResolver.resolve(Method)
allows for further transformations.
transform
in interface FieldNameResolver
true
if further transformations are allowed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |