Annotation Type StringVO

    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      String description
      Description of the type.
      String name
      Unique name of the type to generate.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      String example
      Example value of the type.
      boolean jaxb
      Generate a JAXB adapter.
      boolean jpa
      Generate a JPA converter.
      boolean jsonb
      Generate a JSONB adapter.
      int maxLength
      Sets the maximum length of the type (>=0).
      int minLength
      Sets the minimum length of the type (>=0).
      boolean openapi
      Generate a Eclipse Microprofile OpenAPI annotations.
      String pattern
      A pattern that describes the content of the type.
      String pkg
      Name of the package for the type to generate.
      long serialVersionUID
      Serial version UID to use.
    • Element Detail

      • name

        String name
        Unique name of the type to generate.
        Returns:
        Simple name of the target class.
      • description

        String description
        Description of the type.
        Returns:
        Human readable business driven description of what this type represents.
      • pkg

        String pkg
        Name of the package for the type to generate. If this value is not set, the package of the annotated type will be used.
        Returns:
        Package name.
        Default:
        ""
      • jpa

        boolean jpa
        Generate a JPA converter.
        Returns:
        TRUE generates a converter.
        Default:
        false
      • jaxb

        boolean jaxb
        Generate a JAXB adapter.
        Returns:
        TRUE generates an adapter.
        Default:
        false
      • jsonb

        boolean jsonb
        Generate a JSONB adapter.
        Returns:
        TRUE generates an adapter.
        Default:
        false
      • openapi

        boolean openapi
        Generate a Eclipse Microprofile OpenAPI annotations.
        Returns:
        TRUE generates annotations.
        Default:
        false
      • maxLength

        int maxLength
        Sets the maximum length of the type (>=0).
        Returns:
        Maximum length.
        Default:
        2147483647
      • minLength

        int minLength
        Sets the minimum length of the type (>=0).
        Returns:
        Minimum length.
        Default:
        0
      • pattern

        String pattern
        A pattern that describes the content of the type.
        Returns:
        Regular expression.
        Default:
        ""
      • example

        String example
        Example value of the type.
        Returns:
        Example value.
        Default:
        ""
      • serialVersionUID

        long serialVersionUID
        Serial version UID to use.
        Returns:
        Version used for Java serialization.
        Default:
        1L