Interface CtxDtoExt


@Immutable public interface CtxDtoExt
Custom extensions. In separate (mada.) context so they are easier to spot in the templates.
  • Method Details

    • builder

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

      Optional<String> jacksonJsonSerializeOptions()
      Returns optional custom jackson @JsonSerialize options.
      Returns:
      optional custom jackson @JsonSerialize options
    • customLocalDateDeserializer

      Optional<String> customLocalDateDeserializer()
      Returns the optional name of a custom LocalDateDeserializer.
      Returns:
      the optional name of a custom LocalDateDeserializer
    • customLocalDateSerializer

      Optional<String> customLocalDateSerializer()
      Returns the optional name of a custom LocalDateSerializer.
      Returns:
      the optional name of a custom LocalDateSerializer
    • customOffsetDateTimeDeserializer

      Optional<String> customOffsetDateTimeDeserializer()
      Returns the optional name of a custom OffsetDateDeserializer.
      Returns:
      the optional name of a custom OffsetDateDeserializer
    • customOffsetDateTimeSerializer

      Optional<String> customOffsetDateTimeSerializer()
      Returns the optional name of a custom OffsetDateSerializer.
      Returns:
      the optional name of a custom OffsetDateSerializer
    • jsonb

      boolean jsonb()
      Returns true if rendering for jsonb, false otherwise.
      Returns:
      true if rendering for jsonb, false otherwise
    • schemaOptions

      @Nullable String schemaOptions()
      Returns schema options, or null.
      Returns:
      schema options, or null
    • implementsInterfaces

      Optional<String> implementsInterfaces()
      Returns an optional string containing the interfaces implemented by this DTO.
      Returns:
      an optional string containing the interfaces implemented by this DTO
    • isEqualsPrimitive

      boolean isEqualsPrimitive()
      Returns true if enumeration data type is primitive and can use == for equals.
      Returns:
      true if enumeration data type is primitive and can use == for equals
    • isEnumUnknownDefault

      boolean isEnumUnknownDefault()
      Returns true if enumeration should deserialize unknown input to the last enumeration entry.
      Returns:
      true if enumeration should deserialize unknown input to the last enumeration entry
    • quarkusRegisterForReflection

      boolean quarkusRegisterForReflection()
      Returns true if DTO should render @RegisterForReflection.
      Returns:
      true if DTO should render @RegisterForReflection
    • isRenderPropertyOrderAnnotation

      boolean isRenderPropertyOrderAnnotation()
      Returns true if the property order annotation should be rendered.
      Returns:
      true if the property order annotation should be rendered
    • varsOpenapiOrder

      List<CtxProperty> varsOpenapiOrder()
      Returns the properties of the class, in openapi document order.
      Returns:
      the properties of the class, in openapi document order
    • classModifiers

      Optional<String> classModifiers()
      Returns the optional class modifiers.
      Returns:
      the optional class modifiers
    • isRenderSingleLineToString

      boolean isRenderSingleLineToString()
      Returns true if the toString should create a single-line string.
      Returns:
      true if the toString should create a single-line string
    • isRenderToStringHelper

      boolean isRenderToStringHelper()
      Returns true if the toString indentation helper method should be rendered.
      Returns:
      true if the toString indentation helper method should be rendered