Interface DerivedField<F extends DerivedField<F>>

All Superinterfaces:
Comparable<F>, Component<F>, Copyable<F>, Field<F>, FormComponent<F>, Serializable
All Known Implementing Classes:
DefaultDerivedField

public interface DerivedField<F extends DerivedField<F>> extends Field<F>
Represents the metadata for a FieldTypes.DERIVED field component. The default type is "camel", which means the original value wil be transformed to came-case: camelCase. Use source(String), kebab(), or snake() to do a different transformation, or use none() to perform no transformation.
Author:
Jon Fleschler (jfleschler)
  • Method Details

    • source

      default F source(String source)
    • kebab

      default F kebab()
      Indicates that the source value will be transformed to kebab case: some-value.
    • camel

      default F camel()
      Indicates that the source value will be transformed to camel case: someValue.

      This is the default value.

    • snake

      default F snake()
      Indicates that the source value will be transformed to snake case: some_value.
    • none

      default F none()
      Indicates that no transformation of the source will occur.