Interface FieldMapping

All Known Implementing Classes:
FieldSpec, NoFieldMapping

public sealed interface FieldMapping permits FieldSpec, NoFieldMapping
  • Method Details

    • f

      static FieldSpec f(String field)
      Shortcut for field(String). Creates a new FieldSpec configured for field-level access of the specified field name.
      Parameters:
      field - the name of the field/property in a class
      Returns:
      this FieldSpecBuilder for further chaining
    • field

      static FieldSpec field(String field)
      Creates a new FieldSpec configured for field-level access of the specified field name.
      Parameters:
      field - the name of the field/property in a class
      Returns:
      this FieldSpecBuilder for further chaining
    • p

      static FieldSpec p(String property)
      Shortcut for property(String). Creates a new FieldSpecBuilder configured for property access of the specified property name.
      Parameters:
      property - the name of the property in a class
      Returns:
      this FieldSpecBuilder for further chaining
    • property

      static FieldSpec property(String property)
      Creates a new FieldSpecBuilder configured for property access of the specified property name.
      Parameters:
      property - the name of the property in a class
      Returns:
      this FieldSpecBuilder for further chaining