Interface CtxDtoDiscriminator


@Immutable public interface CtxDtoDiscriminator
Custom extensions. In separate (mada.) context so they are easier to spot in the templates.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final record 
    Defines a mapping between a model (DTO) name and a name used in the serialization stream.
  • Method Summary

    Modifier and Type
    Method
    Description
    static dk.mada.jaxrs.generator.mpclient.dto.tmpl.ImmutableCtxDtoDiscriminator.Builder
    Returns a builder for this type.
    Returns the list of mapped models.
    Returns the name of the property with the selector string.
  • Method Details

    • builder

      static dk.mada.jaxrs.generator.mpclient.dto.tmpl.ImmutableCtxDtoDiscriminator.Builder builder()
      Returns a builder for this type.
      Returns:
      a builder for this type
    • propertyBaseName

      String propertyBaseName()
      Returns the name of the property with the selector string.
      Returns:
      the name of the property with the selector string
    • mappedModels

      Returns the list of mapped models.
      Returns:
      the list of mapped models