Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- additionalProperties() - Method in class io.github.torand.jsonschema2java.utils.JsonSchemaDef
- addJakartaBeanValidationAnnotations() - Method in record class io.github.torand.jsonschema2java.generators.Options
-
Returns the value of the
addJakartaBeanValidationAnnotationsrecord component. - addJsonPropertyAnnotations() - Method in record class io.github.torand.jsonschema2java.generators.Options
-
Returns the value of the
addJsonPropertyAnnotationsrecord component. - addMpOpenApiAnnotations() - Method in record class io.github.torand.jsonschema2java.generators.Options
-
Returns the value of the
addMpOpenApiAnnotationsrecord component. - aggregatedImports() - Method in interface io.github.torand.jsonschema2java.model.EntityInfo
-
Gets the complete set of all imports for this entity and its sub-entities.
- aggregatedNormalImports() - Method in interface io.github.torand.jsonschema2java.model.EntityInfo
-
Gets the complete set of normal imports for this entity and its sub-entities.
- aggregatedNormalImports() - Method in record class io.github.torand.jsonschema2java.model.EnumInfo
- aggregatedNormalImports() - Method in record class io.github.torand.jsonschema2java.model.PojoInfo
- aggregatedNormalImports() - Method in record class io.github.torand.jsonschema2java.model.PropertyInfo
- aggregatedNormalImports() - Method in record class io.github.torand.jsonschema2java.model.TypeInfo
- aggregatedStaticImports() - Method in interface io.github.torand.jsonschema2java.model.EntityInfo
-
Gets the complete set of static imports for this entity and its sub-entities.
- aggregatedStaticImports() - Method in record class io.github.torand.jsonschema2java.model.EnumInfo
- aggregatedStaticImports() - Method in record class io.github.torand.jsonschema2java.model.PojoInfo
- aggregatedStaticImports() - Method in record class io.github.torand.jsonschema2java.model.PropertyInfo
- aggregatedStaticImports() - Method in record class io.github.torand.jsonschema2java.model.TypeInfo
- allOf() - Method in class io.github.torand.jsonschema2java.utils.JsonSchemaDef
- AnnotatedTypeName - Class in io.github.torand.jsonschema2java.model
-
Describes a full type name including its bean validation annotations.
- AnnotatedTypeName(List<String>) - Constructor for class io.github.torand.jsonschema2java.model.AnnotatedTypeName
-
Constructs an
AnnotatedTypeNameobject. - annotation() - Method in record class io.github.torand.jsonschema2java.model.AnnotationInfo
-
Returns the value of the
annotationrecord component. - AnnotationInfo - Record Class in io.github.torand.jsonschema2java.model
-
Describes an annotation.
- AnnotationInfo() - Constructor for record class io.github.torand.jsonschema2java.model.AnnotationInfo
-
Constructs an
AnnotationInfoobject. - AnnotationInfo(String) - Constructor for record class io.github.torand.jsonschema2java.model.AnnotationInfo
-
Constructs an
AnnotationInfoobject. - AnnotationInfo(String, ImportInfo) - Constructor for record class io.github.torand.jsonschema2java.model.AnnotationInfo
-
Creates an instance of a
AnnotationInforecord class. - AnnotationInfo(String, String) - Constructor for record class io.github.torand.jsonschema2java.model.AnnotationInfo
-
Constructs an
AnnotationInfoobject. - annotations() - Method in class io.github.torand.jsonschema2java.model.AnnotatedTypeName
-
Gets the main type bean validation annotations.
- annotations() - Method in interface io.github.torand.jsonschema2java.model.EntityInfo
-
Gets the annotations decorating this entity.
- annotations() - Method in record class io.github.torand.jsonschema2java.model.EnumInfo
-
Returns the value of the
annotationsrecord component. - annotations() - Method in record class io.github.torand.jsonschema2java.model.PojoInfo
-
Returns the value of the
annotationsrecord component. - annotations() - Method in record class io.github.torand.jsonschema2java.model.PropertyInfo
-
Returns the value of the
annotationsrecord component. - annotations() - Method in record class io.github.torand.jsonschema2java.model.TypeInfo
-
Returns the value of the
annotationsrecord component. - annotationsAsStrings() - Method in interface io.github.torand.jsonschema2java.model.EntityInfo
-
Gets the annotations decorating this entity, formatted as strings.
B
- BaseCollector - Class in io.github.torand.jsonschema2java.collectors
-
Base class for all collectors.
- BaseCollector(Options) - Constructor for class io.github.torand.jsonschema2java.collectors.BaseCollector
-
Constructs a
BaseCollectorobject. - BaseWriter - Class in io.github.torand.jsonschema2java.writers
-
Base class for all code writers.
- BaseWriter(Writer, Options) - Constructor for class io.github.torand.jsonschema2java.writers.BaseWriter
-
Constructs a
BaseWriterobject.
C
- close() - Method in class io.github.torand.jsonschema2java.writers.BaseWriter
- close() - Method in interface io.github.torand.jsonschema2java.writers.EnumWriter
- close() - Method in interface io.github.torand.jsonschema2java.writers.PojoWriter
- constants() - Method in record class io.github.torand.jsonschema2java.model.EnumInfo
-
Returns the value of the
constantsrecord component. - createEnumWriter(String, Options, String) - Static method in class io.github.torand.jsonschema2java.writers.WriterFactory
- createPojoWriter(String, Options, String) - Static method in class io.github.torand.jsonschema2java.writers.WriterFactory
D
- defaults() - Static method in record class io.github.torand.jsonschema2java.generators.Options
-
Returns the default settings.
- defaultValue() - Method in class io.github.torand.jsonschema2java.utils.JsonSchemaDef
- deprecationMessage() - Method in record class io.github.torand.jsonschema2java.model.PojoInfo
-
Returns the value of the
deprecationMessagerecord component. - deprecationMessage() - Method in record class io.github.torand.jsonschema2java.model.PropertyInfo
-
Returns the value of the
deprecationMessagerecord component. - description() - Method in record class io.github.torand.jsonschema2java.model.TypeInfo
-
Returns the value of the
descriptionrecord component. - description() - Method in class io.github.torand.jsonschema2java.utils.JsonSchemaDef
- dirPath2PackagePath(String) - Method in class io.github.torand.jsonschema2java.collectors.BaseCollector
-
Converts a directory path into a package path.
E
- empty() - Static method in record class io.github.torand.jsonschema2java.model.ImportInfo
-
Creates an
ImportInfoobject with no imports. - EntityInfo - Interface in io.github.torand.jsonschema2java.model
-
Defines basic information about an entity.
- EnumInfo - Record Class in io.github.torand.jsonschema2java.model
-
Describes an enum class.
- EnumInfo(String, List<String>) - Constructor for record class io.github.torand.jsonschema2java.model.EnumInfo
-
Constructs an
EnumInfoobject. - EnumInfo(String, List<String>, String, String, List<AnnotationInfo>) - Constructor for record class io.github.torand.jsonschema2java.model.EnumInfo
-
Creates an instance of a
EnumInforecord class. - EnumInfoCollector - Class in io.github.torand.jsonschema2java.collectors
-
Collects information about an enum from a schema.
- EnumInfoCollector(Options) - Constructor for class io.github.torand.jsonschema2java.collectors.EnumInfoCollector
- enums() - Method in class io.github.torand.jsonschema2java.utils.JsonSchemaDef
- EnumWriter - Interface in io.github.torand.jsonschema2java.writers
-
Defines a code writer for enums.
- equals(Object) - Method in record class io.github.torand.jsonschema2java.generators.Options
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.torand.jsonschema2java.model.AnnotationInfo
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.torand.jsonschema2java.model.EnumInfo
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.torand.jsonschema2java.model.ImportInfo
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.torand.jsonschema2java.model.PojoInfo
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.torand.jsonschema2java.model.PropertyInfo
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.torand.jsonschema2java.model.TypeInfo
-
Indicates whether some other object is "equal to" this one.
- execute() - Method in class io.github.torand.jsonschema2java.HelpMojo
- execute() - Method in class io.github.torand.jsonschema2java.JsonSchema2JavaMojo
- EXT_DEPRECATION_MESSAGE - Static variable in class io.github.torand.jsonschema2java.collectors.Extensions
-
Describing why something is deprecated, and what to use instead.
- EXT_JSON_SERIALIZER - Static variable in class io.github.torand.jsonschema2java.collectors.Extensions
-
Fully qualified classname of a JSON serializer class for the schema.
- EXT_MODEL_SUBDIR - Static variable in class io.github.torand.jsonschema2java.collectors.Extensions
-
Subdirectory to place the generated DTO model class.
- EXT_NULLABLE - Static variable in class io.github.torand.jsonschema2java.collectors.Extensions
-
If `true` the type of the schema/property can be `null`.
- EXT_VALIDATION_CONSTRAINT - Static variable in class io.github.torand.jsonschema2java.collectors.Extensions
-
Fully qualified classname of an annotation class to validate the schema.
- extensions() - Method in class io.github.torand.jsonschema2java.utils.JsonSchemaDef
- extensions(Map<String, Object>) - Static method in class io.github.torand.jsonschema2java.collectors.Extensions
-
Returns an
Extensionsobject processing the specified JSON Schema extension map. - Extensions - Class in io.github.torand.jsonschema2java.collectors
-
Handles custom JSON Schema extensions.
F
- findSchemaFiles(Path, String) - Static method in class io.github.torand.jsonschema2java.collectors.SchemaResolver
- FORCE_NOT_NULLABLE - Enum constant in enum class io.github.torand.jsonschema2java.collectors.TypeInfoCollector.NullabilityResolution
- FORCE_NULLABLE - Enum constant in enum class io.github.torand.jsonschema2java.collectors.TypeInfoCollector.NullabilityResolution
- format() - Method in class io.github.torand.jsonschema2java.utils.JsonSchemaDef
- formatClassRef(String) - Method in class io.github.torand.jsonschema2java.collectors.BaseCollector
-
Formats given class name to language specific class reference.
- formatDeprecationMessage(Extensions) - Method in class io.github.torand.jsonschema2java.collectors.BaseCollector
-
Formats a deprecation message.
- FROM_SCHEMA - Enum constant in enum class io.github.torand.jsonschema2java.collectors.TypeInfoCollector.NullabilityResolution
G
- generate(List<Path>) - Method in class io.github.torand.jsonschema2java.generators.ModelGenerator
- get(URI) - Method in class io.github.torand.jsonschema2java.collectors.SchemaResolver
- getAnnotatedFullName() - Method in record class io.github.torand.jsonschema2java.model.TypeInfo
-
Gets full type name, including bean validation annotations.
- getBoolean(String) - Method in class io.github.torand.jsonschema2java.collectors.Extensions
-
Gets value of a boolean extension property.
- getClassNameFromFqn(String) - Static method in class io.github.torand.jsonschema2java.utils.StringUtils
-
Returns the class base name from specified fully qualified class name.
- getEnumInfo(String, JsonSchemaDef) - Method in class io.github.torand.jsonschema2java.collectors.EnumInfoCollector
- getFileExtension() - Method in record class io.github.torand.jsonschema2java.generators.Options
-
Gets the language specific code file extension.
- getFullName() - Method in record class io.github.torand.jsonschema2java.model.TypeInfo
-
Gets the full name of Java/Kotlin type including generic composites.
- getModelOutputDir(String) - Method in record class io.github.torand.jsonschema2java.generators.Options
-
Returns a new
Optionsobject with specified model output directory. - getModelPackage(String) - Method in record class io.github.torand.jsonschema2java.generators.Options
-
Returns a new
Optionsobject with specified model package. - getModelSubpackage(URI) - Method in class io.github.torand.jsonschema2java.collectors.SchemaResolver
- getName() - Method in class io.github.torand.jsonschema2java.utils.JsonSchemaDef
- getNonNullableSubSchema(List<JsonSchemaDef>) - Method in class io.github.torand.jsonschema2java.collectors.TypeInfoCollector
- getOrThrow(URI) - Method in class io.github.torand.jsonschema2java.collectors.SchemaResolver
- getPojoInfo(String, JsonSchemaDef) - Method in class io.github.torand.jsonschema2java.collectors.PojoInfoCollector
- getPropertyInfo(String, JsonSchemaDef, boolean) - Method in class io.github.torand.jsonschema2java.collectors.PropertyInfoCollector
- getString(String) - Method in class io.github.torand.jsonschema2java.collectors.Extensions
-
Gets value of a string extension property.
- getTypeInfo(JsonSchemaDef) - Method in class io.github.torand.jsonschema2java.collectors.TypeInfoCollector
- getTypeInfo(JsonSchemaDef, TypeInfoCollector.NullabilityResolution) - Method in class io.github.torand.jsonschema2java.collectors.TypeInfoCollector
- getTypeName(URI) - Static method in class io.github.torand.jsonschema2java.collectors.SchemaResolver
H
- hasAllOf() - Method in class io.github.torand.jsonschema2java.utils.JsonSchemaDef
- hasAnnotations() - Method in class io.github.torand.jsonschema2java.model.AnnotatedTypeName
-
Returns whether the main type has any bean validation annotations.
- hasAnyOf() - Method in class io.github.torand.jsonschema2java.utils.JsonSchemaDef
- hashCode() - Method in record class io.github.torand.jsonschema2java.generators.Options
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.torand.jsonschema2java.model.AnnotationInfo
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.torand.jsonschema2java.model.EnumInfo
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.torand.jsonschema2java.model.ImportInfo
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.torand.jsonschema2java.model.PojoInfo
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.torand.jsonschema2java.model.PropertyInfo
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.torand.jsonschema2java.model.TypeInfo
-
Returns a hash code value for this object.
- hasOneOf() - Method in class io.github.torand.jsonschema2java.utils.JsonSchemaDef
- hasType(String) - Method in class io.github.torand.jsonschema2java.utils.JsonSchemaDef
- hasTypes() - Method in class io.github.torand.jsonschema2java.utils.JsonSchemaDef
- HelpMojo - Class in io.github.torand.jsonschema2java
-
Display help information on jsonschema2java.
Callmvn jsonschema2java:help -Ddetail=true -Dgoal=<goal-name>to display parameter details. - HelpMojo() - Constructor for class io.github.torand.jsonschema2java.HelpMojo
I
- ImportInfo - Record Class in io.github.torand.jsonschema2java.model
-
Describes a collection of imports and static imports.
- ImportInfo(Set<String>, Set<String>) - Constructor for record class io.github.torand.jsonschema2java.model.ImportInfo
-
Creates an instance of a
ImportInforecord class. - imports() - Method in record class io.github.torand.jsonschema2java.model.AnnotationInfo
-
Returns the value of the
importsrecord component. - imports() - Method in record class io.github.torand.jsonschema2java.model.ImportInfo
- imports() - Method in interface io.github.torand.jsonschema2java.model.ImportsSupplier
-
Gets the imports.
- imports() - Method in record class io.github.torand.jsonschema2java.model.TypeInfo
-
Returns the value of the
importsrecord component. - ImportsSupplier - Interface in io.github.torand.jsonschema2java.model
-
Defines a supplier of an
ImportInfoobject. - indentSize() - Method in record class io.github.torand.jsonschema2java.generators.Options
-
Returns the value of the
indentSizerecord component. - indentWithTab() - Method in record class io.github.torand.jsonschema2java.generators.Options
-
Returns the value of the
indentWithTabrecord component. - io.github.torand.jsonschema2java - package io.github.torand.jsonschema2java
-
Provides classes to create a Maven Plugin (Mojo)
- io.github.torand.jsonschema2java.collectors - package io.github.torand.jsonschema2java.collectors
-
Provides classes to collect relevant information from a JSON Schema specification.
- io.github.torand.jsonschema2java.generators - package io.github.torand.jsonschema2java.generators
-
Provides classes to generate source code from collected JSON Schema information.
- io.github.torand.jsonschema2java.model - package io.github.torand.jsonschema2java.model
-
Provides classes to keep collected information from a JSON Schema specification.
- io.github.torand.jsonschema2java.utils - package io.github.torand.jsonschema2java.utils
-
Provides utility classes and interfaces.
- io.github.torand.jsonschema2java.writers - package io.github.torand.jsonschema2java.writers
-
Provides classes and interfaces to write source code based on collected JSON Schema information.
- io.github.torand.jsonschema2java.writers.java - package io.github.torand.jsonschema2java.writers.java
-
Provides classes to write Java source code based on collected JSON Schema information.
- io.github.torand.jsonschema2java.writers.kotlin - package io.github.torand.jsonschema2java.writers.kotlin
-
Provides classes to write Kotlin source code based on collected JSON Schema information.
- isArray() - Method in record class io.github.torand.jsonschema2java.model.TypeInfo
-
Gets whether this is an array type.
- isArrayType(JsonSchemaDef) - Static method in class io.github.torand.jsonschema2java.collectors.SchemaResolver
- isArrayType(URI) - Method in class io.github.torand.jsonschema2java.collectors.SchemaResolver
- isClass() - Method in class io.github.torand.jsonschema2java.utils.JsonSchemaDef
- isCompoundType(JsonSchemaDef) - Static method in class io.github.torand.jsonschema2java.collectors.SchemaResolver
- isCompoundType(URI) - Method in class io.github.torand.jsonschema2java.collectors.SchemaResolver
- isDeprecated() - Method in record class io.github.torand.jsonschema2java.model.PojoInfo
-
Gets whether pojo is deprecated.
- isDeprecated() - Method in record class io.github.torand.jsonschema2java.model.PropertyInfo
-
Gets whether property is deprecated.
- isDeprecated() - Method in class io.github.torand.jsonschema2java.utils.JsonSchemaDef
- isEmpty() - Method in record class io.github.torand.jsonschema2java.model.PojoInfo
-
Gets whether pojo has no properties.
- isEnum() - Method in class io.github.torand.jsonschema2java.utils.JsonSchemaDef
- isEnumType(JsonSchemaDef) - Static method in class io.github.torand.jsonschema2java.collectors.SchemaResolver
- isEnumType(URI) - Method in class io.github.torand.jsonschema2java.collectors.SchemaResolver
- isNullable(JsonSchemaDef) - Method in class io.github.torand.jsonschema2java.collectors.TypeInfoCollector
- isObjectType(JsonSchemaDef) - Static method in class io.github.torand.jsonschema2java.collectors.SchemaResolver
- isObjectType(URI) - Method in class io.github.torand.jsonschema2java.collectors.SchemaResolver
- isPrimitiveType(JsonSchemaDef) - Static method in class io.github.torand.jsonschema2java.collectors.SchemaResolver
-
Indicates if schema represents a non-enumerated primitive JSON type, i.e. string, number, integer or boolean
- isPrimitiveType(URI) - Method in class io.github.torand.jsonschema2java.collectors.SchemaResolver
- isRequired(String) - Method in class io.github.torand.jsonschema2java.utils.JsonSchemaDef
- items() - Method in class io.github.torand.jsonschema2java.model.AnnotatedTypeName
-
Gets the annotation and type name items.
- items() - Method in class io.github.torand.jsonschema2java.utils.JsonSchemaDef
- itemType() - Method in record class io.github.torand.jsonschema2java.model.TypeInfo
-
Returns the value of the
itemTyperecord component.
J
- JavaEnumWriter - Class in io.github.torand.jsonschema2java.writers.java
-
Writes Java code for an enum.
- JavaEnumWriter(Writer, Options) - Constructor for class io.github.torand.jsonschema2java.writers.java.JavaEnumWriter
- JavaPojoWriter - Class in io.github.torand.jsonschema2java.writers.java
-
Writes Java code for a pojo.
- JavaPojoWriter(Writer, Options) - Constructor for class io.github.torand.jsonschema2java.writers.java.JavaPojoWriter
- joinCsv(List<String>) - Static method in class io.github.torand.jsonschema2java.utils.StringUtils
-
Returns specified values as a comma-delimited string.
- JsonSchema2JavaException - Exception Class in io.github.torand.jsonschema2java.utils
-
Generic runtime exception thrown by this plugin.
- JsonSchema2JavaException(String) - Constructor for exception class io.github.torand.jsonschema2java.utils.JsonSchema2JavaException
-
Creates a runtime exception.
- JsonSchema2JavaException(String, Throwable) - Constructor for exception class io.github.torand.jsonschema2java.utils.JsonSchema2JavaException
-
Creates a runtime exception.
- JsonSchema2JavaException(Throwable) - Constructor for exception class io.github.torand.jsonschema2java.utils.JsonSchema2JavaException
-
Creates a runtime exception.
- JsonSchema2JavaMojo - Class in io.github.torand.jsonschema2java
-
Generates source code for model classes based on JSON Schema files
- JsonSchema2JavaMojo() - Constructor for class io.github.torand.jsonschema2java.JsonSchema2JavaMojo
- JsonSchemaDef - Class in io.github.torand.jsonschema2java.utils
-
Represents a JSON Schema definition.
- JsonSchemaDef(String, JsonNode) - Constructor for class io.github.torand.jsonschema2java.utils.JsonSchemaDef
- JsonSchemaDef(String, JsonSchema) - Constructor for class io.github.torand.jsonschema2java.utils.JsonSchemaDef
K
- keyType() - Method in record class io.github.torand.jsonschema2java.model.TypeInfo
-
Returns the value of the
keyTyperecord component. - KEYWORDS - Static variable in class io.github.torand.jsonschema2java.collectors.Extensions
- KotlinEnumWriter - Class in io.github.torand.jsonschema2java.writers.kotlin
-
Writes Kotlin code for an enum.
- KotlinEnumWriter(Writer, Options) - Constructor for class io.github.torand.jsonschema2java.writers.kotlin.KotlinEnumWriter
- KotlinPojoWriter - Class in io.github.torand.jsonschema2java.writers.kotlin
-
Writes Kotlin code for a pojo.
- KotlinPojoWriter(Writer, Options) - Constructor for class io.github.torand.jsonschema2java.writers.kotlin.KotlinPojoWriter
- KotlinTypeMapper - Class in io.github.torand.jsonschema2java.utils
-
Provides functions to map between Java and Kotlin native types-
L
- load(Path) - Method in class io.github.torand.jsonschema2java.collectors.SchemaResolver
M
- maximum() - Method in class io.github.torand.jsonschema2java.utils.JsonSchemaDef
- maxItems() - Method in class io.github.torand.jsonschema2java.utils.JsonSchemaDef
- maxLength() - Method in class io.github.torand.jsonschema2java.utils.JsonSchemaDef
- minimum() - Method in class io.github.torand.jsonschema2java.utils.JsonSchemaDef
- minItems() - Method in class io.github.torand.jsonschema2java.utils.JsonSchemaDef
- minLength() - Method in class io.github.torand.jsonschema2java.utils.JsonSchemaDef
- ModelGenerator - Class in io.github.torand.jsonschema2java.generators
-
Generates source code for models (pojos).
- ModelGenerator(Options) - Constructor for class io.github.torand.jsonschema2java.generators.ModelGenerator
- modelName2SchemaName(String) - Method in class io.github.torand.jsonschema2java.collectors.BaseCollector
-
Converts a model (pojo) name into a schema name.
- modelSubdir() - Method in record class io.github.torand.jsonschema2java.model.EnumInfo
-
Returns the value of the
modelSubdirrecord component. - modelSubdir() - Method in record class io.github.torand.jsonschema2java.model.PojoInfo
-
Returns the value of the
modelSubdirrecord component. - modelSubpackage() - Method in record class io.github.torand.jsonschema2java.model.EnumInfo
-
Returns the value of the
modelSubpackagerecord component. - modelSubpackage() - Method in record class io.github.torand.jsonschema2java.model.PojoInfo
-
Returns the value of the
modelSubpackagerecord component.
N
- name() - Method in record class io.github.torand.jsonschema2java.model.EnumInfo
-
Returns the value of the
namerecord component. - name() - Method in record class io.github.torand.jsonschema2java.model.PojoInfo
-
Returns the value of the
namerecord component. - name() - Method in record class io.github.torand.jsonschema2java.model.PropertyInfo
-
Returns the value of the
namerecord component. - name() - Method in record class io.github.torand.jsonschema2java.model.TypeInfo
-
Returns the value of the
namerecord component. - normalImports() - Method in record class io.github.torand.jsonschema2java.model.ImportInfo
-
Returns the value of the
normalImportsrecord component. - normalizeDescription(String) - Method in class io.github.torand.jsonschema2java.collectors.BaseCollector
-
Modifies the description text for further use in code generation.
- nullable() - Method in record class io.github.torand.jsonschema2java.model.TypeInfo
-
Returns the value of the
nullablerecord component.
O
- oneOf() - Method in class io.github.torand.jsonschema2java.utils.JsonSchemaDef
- Options - Record Class in io.github.torand.jsonschema2java.generators
-
Contains configuration of the source code generators.
- Options(String, String, URI, String, String, boolean, boolean, boolean, boolean, boolean, boolean, int, boolean) - Constructor for record class io.github.torand.jsonschema2java.generators.Options
-
Creates an instance of a
Optionsrecord class. - opts - Variable in class io.github.torand.jsonschema2java.collectors.BaseCollector
-
The plugin options.
- opts - Variable in class io.github.torand.jsonschema2java.writers.BaseWriter
-
The plugin options.
- outputDir() - Method in record class io.github.torand.jsonschema2java.generators.Options
-
Returns the value of the
outputDirrecord component.
P
- pattern() - Method in class io.github.torand.jsonschema2java.utils.JsonSchemaDef
- pluralSuffix(int) - Static method in class io.github.torand.jsonschema2java.utils.StringUtils
-
Gets the plural suffix based on specified cardinality.
- PojoInfo - Record Class in io.github.torand.jsonschema2java.model
-
Describes a pojo.
- PojoInfo(String) - Constructor for record class io.github.torand.jsonschema2java.model.PojoInfo
-
Constructs a
PojoInfoobject. - PojoInfo(String, String, String, List<AnnotationInfo>, List<PropertyInfo>, String) - Constructor for record class io.github.torand.jsonschema2java.model.PojoInfo
-
Creates an instance of a
PojoInforecord class. - PojoInfoCollector - Class in io.github.torand.jsonschema2java.collectors
-
Collects information about a pojo from a schema.
- PojoInfoCollector(Options, SchemaResolver) - Constructor for class io.github.torand.jsonschema2java.collectors.PojoInfoCollector
- pojoNameSuffix() - Method in record class io.github.torand.jsonschema2java.generators.Options
-
Returns the value of the
pojoNameSuffixrecord component. - pojosAsRecords() - Method in record class io.github.torand.jsonschema2java.generators.Options
-
Returns the value of the
pojosAsRecordsrecord component. - PojoWriter - Interface in io.github.torand.jsonschema2java.writers
-
Defines a code writer for pojos.
- primitive() - Method in record class io.github.torand.jsonschema2java.model.TypeInfo
-
Returns the value of the
primitiverecord component. - properties() - Method in record class io.github.torand.jsonschema2java.model.PojoInfo
-
Returns the value of the
propertiesrecord component. - properties() - Method in class io.github.torand.jsonschema2java.utils.JsonSchemaDef
- PropertyInfo - Record Class in io.github.torand.jsonschema2java.model
-
Describes a property.
- PropertyInfo(String) - Constructor for record class io.github.torand.jsonschema2java.model.PropertyInfo
-
Constructs a
PropertyInfoobject. - PropertyInfo(String, TypeInfo, boolean, List<AnnotationInfo>, String) - Constructor for record class io.github.torand.jsonschema2java.model.PropertyInfo
-
Creates an instance of a
PropertyInforecord class. - PropertyInfoCollector - Class in io.github.torand.jsonschema2java.collectors
-
Collects information about a property from a schema.
- PropertyInfoCollector(Options, SchemaResolver) - Constructor for class io.github.torand.jsonschema2java.collectors.PropertyInfoCollector
R
- ref() - Method in class io.github.torand.jsonschema2java.utils.JsonSchemaDef
- removeLineBreaks(String) - Static method in class io.github.torand.jsonschema2java.utils.StringUtils
-
Returns specified string with line break characters removed.
- required() - Method in record class io.github.torand.jsonschema2java.model.PropertyInfo
-
Returns the value of the
requiredrecord component. - required() - Method in class io.github.torand.jsonschema2java.utils.JsonSchemaDef
- rootPackage() - Method in record class io.github.torand.jsonschema2java.generators.Options
-
Returns the value of the
rootPackagerecord component.
S
- schemaFormat() - Method in record class io.github.torand.jsonschema2java.model.TypeInfo
-
Returns the value of the
schemaFormatrecord component. - schemaIdRootUri() - Method in record class io.github.torand.jsonschema2java.generators.Options
-
Returns the value of the
schemaIdRootUrirecord component. - schemaPattern() - Method in record class io.github.torand.jsonschema2java.model.TypeInfo
-
Returns the value of the
schemaPatternrecord component. - SchemaResolver - Class in io.github.torand.jsonschema2java.collectors
-
Resolves (loads) external JSON Schemas referenced in a JSON Schema.
- SchemaResolver(Options) - Constructor for class io.github.torand.jsonschema2java.collectors.SchemaResolver
- searchRootDir() - Method in record class io.github.torand.jsonschema2java.generators.Options
-
Returns the value of the
searchRootDirrecord component. - staticImports() - Method in record class io.github.torand.jsonschema2java.model.ImportInfo
-
Returns the value of the
staticImportsrecord component. - StringUtils - Class in io.github.torand.jsonschema2java.utils
-
A collection of String utilities.
T
- toKotlinNative(String) - Static method in class io.github.torand.jsonschema2java.utils.KotlinTypeMapper
- toPascalCase(String) - Static method in class io.github.torand.jsonschema2java.utils.StringUtils
-
Transforms specified string to pascal case.
- toString() - Method in record class io.github.torand.jsonschema2java.generators.Options
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.torand.jsonschema2java.model.AnnotationInfo
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.torand.jsonschema2java.model.EnumInfo
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.torand.jsonschema2java.model.ImportInfo
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.torand.jsonschema2java.model.PojoInfo
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.torand.jsonschema2java.model.PropertyInfo
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.torand.jsonschema2java.model.TypeInfo
-
Returns a string representation of this record class.
- toString() - Method in class io.github.torand.jsonschema2java.utils.JsonSchemaDef
- type() - Method in record class io.github.torand.jsonschema2java.model.PropertyInfo
-
Returns the value of the
typerecord component. - TypeInfo - Record Class in io.github.torand.jsonschema2java.model
-
Describes a type.
- TypeInfo() - Constructor for record class io.github.torand.jsonschema2java.model.TypeInfo
-
Constructs an
TypeInfoobject. - TypeInfo(String, String, boolean, TypeInfo, boolean, TypeInfo, String, String, List<AnnotationInfo>, ImportInfo) - Constructor for record class io.github.torand.jsonschema2java.model.TypeInfo
-
Creates an instance of a
TypeInforecord class. - TypeInfoCollector - Class in io.github.torand.jsonschema2java.collectors
-
Collects information about a type from a schema.
- TypeInfoCollector(Options, SchemaResolver) - Constructor for class io.github.torand.jsonschema2java.collectors.TypeInfoCollector
- TypeInfoCollector.NullabilityResolution - Enum Class in io.github.torand.jsonschema2java.collectors
- typeName() - Method in class io.github.torand.jsonschema2java.model.AnnotatedTypeName
-
Gets the full type name including any bean validation annotations in subtypes.
- types() - Method in class io.github.torand.jsonschema2java.utils.JsonSchemaDef
U
- uniqueItems() - Method in class io.github.torand.jsonschema2java.utils.JsonSchemaDef
- useKotlinSyntax() - Method in record class io.github.torand.jsonschema2java.generators.Options
-
Returns the value of the
useKotlinSyntaxrecord component.
V
- validate(Path) - Static method in class io.github.torand.jsonschema2java.collectors.SchemaResolver
- valueOf(String) - Static method in enum class io.github.torand.jsonschema2java.collectors.TypeInfoCollector.NullabilityResolution
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class io.github.torand.jsonschema2java.collectors.TypeInfoCollector.NullabilityResolution
-
Returns an array containing the constants of this enum class, in the order they are declared.
- verbose() - Method in record class io.github.torand.jsonschema2java.generators.Options
-
Returns the value of the
verboserecord component.
W
- withAddedAnnotation(AnnotationInfo) - Method in record class io.github.torand.jsonschema2java.model.EnumInfo
-
Returns a new
EnumInfoobject with specified annotation added. - withAddedAnnotation(AnnotationInfo) - Method in record class io.github.torand.jsonschema2java.model.PojoInfo
-
Returns a new
PojoInfoobject with specified annotation added. - withAddedAnnotation(AnnotationInfo) - Method in record class io.github.torand.jsonschema2java.model.PropertyInfo
-
Returns a new
PropertyInfoobject with specified annotation added. - withAddedAnnotation(AnnotationInfo) - Method in record class io.github.torand.jsonschema2java.model.TypeInfo
-
Returns a new
TypeInfoobject with specified annotation added. - withAddedImports(ImportsSupplier) - Method in record class io.github.torand.jsonschema2java.model.ImportInfo
-
Returns a new
ImportInfoobject with all imports from specified supplier added. - withAddedImports(Collection<? extends ImportsSupplier>) - Method in record class io.github.torand.jsonschema2java.model.ImportInfo
-
Returns a new
ImportInfoobject with all imports from specified suppliers added. - withAddedNormalImport(String) - Method in record class io.github.torand.jsonschema2java.model.AnnotationInfo
-
Returns a new
AnnotationInfoobject with specified normal import added. - withAddedNormalImport(String) - Method in record class io.github.torand.jsonschema2java.model.ImportInfo
-
Returns a new
ImportInfoobject with specified normal import added. - withAddedNormalImport(String) - Method in record class io.github.torand.jsonschema2java.model.TypeInfo
-
Returns a new
TypeInfoobject with specified normal import added. - withAddedProperties(Collection<PropertyInfo>) - Method in record class io.github.torand.jsonschema2java.model.PojoInfo
-
Returns a new
PojoInfoobject with specified properties added. - withAddedStaticImport(String) - Method in record class io.github.torand.jsonschema2java.model.ImportInfo
-
Returns a new
ImportInfoobject with specified static import added. - withAddJsonPropertyAnnotations(boolean) - Method in record class io.github.torand.jsonschema2java.generators.Options
-
Returns a new
Optionsobject with specified add JSON property annotations flag. - withAddMpOpenApiAnnotations(boolean) - Method in record class io.github.torand.jsonschema2java.generators.Options
-
Returns a new
Optionsobject with specified add Microprofile OpenAPI annotations flag. - withDeprecationMessage(String) - Method in record class io.github.torand.jsonschema2java.model.PojoInfo
-
Returns a new
PojoInfoobject with specified deprecation message. - withDeprecationMessage(String) - Method in record class io.github.torand.jsonschema2java.model.PropertyInfo
-
Returns a new
PropertyInfoobject with specified deprecation message. - withDescription(String) - Method in record class io.github.torand.jsonschema2java.model.TypeInfo
-
Returns a new
TypeInfoobject with specified description. - withItemType(TypeInfo) - Method in record class io.github.torand.jsonschema2java.model.TypeInfo
-
Returns a new
TypeInfoobject with specified item type. - withKeyType(TypeInfo) - Method in record class io.github.torand.jsonschema2java.model.TypeInfo
-
Returns a new
TypeInfoobject with specified key type. - withModelSubdir(String) - Method in record class io.github.torand.jsonschema2java.model.EnumInfo
-
Returns a new
EnumInfoobject with specified model subdirectory. - withModelSubdir(String) - Method in record class io.github.torand.jsonschema2java.model.PojoInfo
-
Returns a new
PojoInfoobject with specified model subdirectory. - withModelSubpackage(String) - Method in record class io.github.torand.jsonschema2java.model.EnumInfo
-
Returns a new
EnumInfoobject with specified model subpackage. - withModelSubpackage(String) - Method in record class io.github.torand.jsonschema2java.model.PojoInfo
-
Returns a new
PojoInfoobject with specified model subpackage. - withName(String) - Method in record class io.github.torand.jsonschema2java.model.TypeInfo
-
Returns a new
TypeInfoobject with specified name. - withNoAnnotations() - Method in record class io.github.torand.jsonschema2java.model.TypeInfo
-
Returns a new
PojoInfoobject with no annotations. - withNullable(boolean) - Method in record class io.github.torand.jsonschema2java.model.TypeInfo
-
Returns a new
TypeInfoobject with specified nullable flag. - withOutputDir(String) - Method in record class io.github.torand.jsonschema2java.generators.Options
-
Returns a new
Optionsobject with specified output directory. - withPrimitive(boolean) - Method in record class io.github.torand.jsonschema2java.model.TypeInfo
-
Returns a new
TypeInfoobject with specified primitive flag. - withRequired(boolean) - Method in record class io.github.torand.jsonschema2java.model.PropertyInfo
-
Returns a new
PropertyInfoobject with specified required flag. - withRootPackage(String) - Method in record class io.github.torand.jsonschema2java.generators.Options
-
Returns a new
Optionsobject with specified root package. - withSchemaFormat(String) - Method in record class io.github.torand.jsonschema2java.model.TypeInfo
-
Returns a new
TypeInfoobject with specified OpenAPI schema format. - withSchemaIdRootUri(URI) - Method in record class io.github.torand.jsonschema2java.generators.Options
-
Returns a new
Optionsobject with specified schema id root URI. - withSchemaPattern(String) - Method in record class io.github.torand.jsonschema2java.model.TypeInfo
-
Returns a new
TypeInfoobject with specified OpenAPI schema pattern. - withSearchRootDir(String) - Method in record class io.github.torand.jsonschema2java.generators.Options
-
Returns a new
Optionsobject with specified search root directory. - withType(TypeInfo) - Method in record class io.github.torand.jsonschema2java.model.PropertyInfo
-
Returns a new
PropertyInfoobject with specified type. - withUseKotlinSyntax(boolean) - Method in record class io.github.torand.jsonschema2java.generators.Options
-
Returns a new
Optionsobject with specified use Kotlin syntax flag. - withVerbose(boolean) - Method in record class io.github.torand.jsonschema2java.generators.Options
-
Returns a new
Optionsobject with specified verbose flag. - write(EnumInfo) - Method in interface io.github.torand.jsonschema2java.writers.EnumWriter
-
Writes code for specified enum.
- write(EnumInfo) - Method in class io.github.torand.jsonschema2java.writers.java.JavaEnumWriter
- write(EnumInfo) - Method in class io.github.torand.jsonschema2java.writers.kotlin.KotlinEnumWriter
- write(PojoInfo) - Method in class io.github.torand.jsonschema2java.writers.java.JavaPojoWriter
- write(PojoInfo) - Method in class io.github.torand.jsonschema2java.writers.kotlin.KotlinPojoWriter
- write(PojoInfo) - Method in interface io.github.torand.jsonschema2java.writers.PojoWriter
-
Writes code for specified pojo.
- write(String, Object...) - Method in class io.github.torand.jsonschema2java.writers.BaseWriter
-
Writes a formatted string without end-of-line.
- writeIndent(int) - Method in class io.github.torand.jsonschema2java.writers.BaseWriter
-
Writes specified number of indent levels.
- writeLine(String, Object...) - Method in class io.github.torand.jsonschema2java.writers.BaseWriter
-
Writes a formatted string with end-of-line.
- writeNewLine() - Method in class io.github.torand.jsonschema2java.writers.BaseWriter
-
Writes end-of-line.
- WriterFactory - Class in io.github.torand.jsonschema2java.writers
-
Provides factory methods to create code writers.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form