Package org.fuin.ddd4j.codegen
Annotation Type StringVO
-
@Retention(RUNTIME) @Target(TYPE) public @interface StringVO
Value object based on a single string.
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description StringdescriptionDescription of the type.StringnameUnique name of the type to generate.
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description StringexampleExample value of the type.booleanjaxbGenerate a JAXB adapter.booleanjpaGenerate a JPA converter.booleanjsonbGenerate a JSONB adapter.intmaxLengthSets the maximum length of the type (>=0).intminLengthSets the minimum length of the type (>=0).booleanopenapiGenerate a Eclipse Microprofile OpenAPI annotations.StringpatternA pattern that describes the content of the type.StringpkgName of the package for the type to generate.longserialVersionUIDSerial 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:
- ""
-
-
-
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:
- ""
-
-