Interface CtxExtraDateSerializer


@JStache(path="extraDateSerializers") @Immutable public interface CtxExtraDateSerializer
Context passed to Mustache when compiling an extra template.
  • Method Details

    • builder

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

      String className()
      Returns the class name of the serializer.
      Returns:
      the class name of the serializer
    • appName

      String appName()
      Returns the application name.
      Returns:
      the application name
    • version

      String version()
      Returns the application version.
      Returns:
      the application version
    • appDescription

      Optional<String> appDescription()
      Returns the optional application description.
      Returns:
      the optional application description
    • infoEmail

      Optional<String> infoEmail()
      Returns the optional application contact email.
      Returns:
      the optional application contact email
    • getImports

      SortedSet<String> getImports()
      Returns the imports needed in the template.
      Returns:
      the imports needed in the template
    • hasImports

      default boolean hasImports()
      Returns true if there are imports to render, otherwise false.
      Returns:
      true if there are imports to render, otherwise false
    • packageName

      String packageName()
      Returns the package name for the class.
      Returns:
      the package name for the class
    • jacksonFasterxml

      boolean jacksonFasterxml()
      Returns true if jackson fasterxml serializer is used, otherwise false.
      Returns:
      true if jackson fasterxml serializer is used, otherwise false
    • jsonb

      boolean jsonb()
      Returns true if jsonb serializer is used, otherwise false.
      Returns:
      true if jsonb serializer is used, otherwise false
    • deserializer

      boolean deserializer()
      Returns true if this should render as a deserializer.
      Returns:
      true if this should render as a deserializer
    • renderLocalDate

      boolean renderLocalDate()
      Returns true if this should render LocalDate type handling.
      Returns:
      true if this should render LocalDate type handling
    • renderLocalDateTime

      boolean renderLocalDateTime()
      Returns true if this should render LocalDateTime type handling.
      Returns:
      true if this should render LocalDateTime type handling
    • renderOffsetDateTime

      boolean renderOffsetDateTime()
      Returns true if this should render OffsetDateTime type handling.
      Returns:
      true if this should render OffsetDateTime type handling
    • generatedAnnotationClass

      String generatedAnnotationClass()
      Returns the name of the Generated annotation class.
      Returns:
      the name of the Generated annotation class
    • generatorClass

      String generatorClass()
      Returns the name of the generator class.
      Returns:
      the name of the generator class
    • generatedDate

      Optional<String> generatedDate()
      Returns the optional date of the generation.
      Returns:
      the optional date of the generation
    • cannedLocalDateSerializerDTF

      Optional<String> cannedLocalDateSerializerDTF()
      Returns the optional date format used by the LocalDate serializer.
      Returns:
      the optional date format used by the LocalDate serializer
    • cannedLocalDateTimeSerializerDTF

      Optional<String> cannedLocalDateTimeSerializerDTF()
      Returns the optional date time format used by the LocalDateTime serializer.
      Returns:
      the optional date time format used by the LocalDateTime serializer
    • cannedOffsetDateTimeSerializerDTF

      Optional<String> cannedOffsetDateTimeSerializerDTF()
      Returns the optional date time format used by the OffsetDateTime serializer.
      Returns:
      the optional date time format used by the OffsetDateTime serializer