Class NullFieldNameResolver

java.lang.Object
net.java.ao.schema.NullFieldNameResolver
All Implemented Interfaces:
FieldNameResolver

public final class NullFieldNameResolver extends Object
  • Constructor Details

    • NullFieldNameResolver

      public NullFieldNameResolver()
  • Method Details

    • accept

      public boolean accept(Method method)
      Description copied from interface: FieldNameResolver
      Tells whether this field name resolver will be able to resolve a name from this method.
      Specified by:
      accept in interface FieldNameResolver
      Parameters:
      method - the method to figure out the field name for
      Returns:
      true if FieldNameResolver.resolve(Method) will actually resolve the field name given the same method argument
    • resolve

      public String resolve(Method method)
      Description copied from interface: FieldNameResolver
      Resolves the field name for the method
      Specified by:
      resolve in interface FieldNameResolver
      Parameters:
      method - the method to resolve the field name for.
      Returns:
      the resolved field name. null is valid if no field name should be associated with this method.
    • transform

      public final boolean transform()
      Description copied from interface: FieldNameResolver
      Tells whether the resolved method name from FieldNameResolver.resolve(Method) allows for further transformations.
      Specified by:
      transform in interface FieldNameResolver
      Returns:
      true if further transformations are allowed