Index

A B C D E F G H I J K L M N O P R S T U V W 
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 addJakartaBeanValidationAnnotations record component.
addJsonPropertyAnnotations() - Method in record class io.github.torand.jsonschema2java.generators.Options
Returns the value of the addJsonPropertyAnnotations record component.
addMpOpenApiAnnotations() - Method in record class io.github.torand.jsonschema2java.generators.Options
Returns the value of the addMpOpenApiAnnotations record 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 AnnotatedTypeName object.
annotation() - Method in record class io.github.torand.jsonschema2java.model.AnnotationInfo
Returns the value of the annotation record 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 AnnotationInfo object.
AnnotationInfo(String) - Constructor for record class io.github.torand.jsonschema2java.model.AnnotationInfo
Constructs an AnnotationInfo object.
AnnotationInfo(String, ImportInfo) - Constructor for record class io.github.torand.jsonschema2java.model.AnnotationInfo
Creates an instance of a AnnotationInfo record class.
AnnotationInfo(String, String) - Constructor for record class io.github.torand.jsonschema2java.model.AnnotationInfo
Constructs an AnnotationInfo object.
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 annotations record component.
annotations() - Method in record class io.github.torand.jsonschema2java.model.PojoInfo
Returns the value of the annotations record component.
annotations() - Method in record class io.github.torand.jsonschema2java.model.PropertyInfo
Returns the value of the annotations record component.
annotations() - Method in record class io.github.torand.jsonschema2java.model.TypeInfo
Returns the value of the annotations record 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 BaseCollector object.
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 BaseWriter object.

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 constants record 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 deprecationMessage record component.
deprecationMessage() - Method in record class io.github.torand.jsonschema2java.model.PropertyInfo
Returns the value of the deprecationMessage record component.
description() - Method in record class io.github.torand.jsonschema2java.model.TypeInfo
Returns the value of the description record 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 ImportInfo object 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 EnumInfo object.
EnumInfo(String, List<String>, String, String, List<AnnotationInfo>) - Constructor for record class io.github.torand.jsonschema2java.model.EnumInfo
Creates an instance of a EnumInfo record 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 Extensions object 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 Options object with specified model output directory.
getModelPackage(String) - Method in record class io.github.torand.jsonschema2java.generators.Options
Returns a new Options object 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.
Call mvn 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 ImportInfo record class.
imports() - Method in record class io.github.torand.jsonschema2java.model.AnnotationInfo
Returns the value of the imports record 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 imports record component.
ImportsSupplier - Interface in io.github.torand.jsonschema2java.model
Defines a supplier of an ImportInfo object.
indentSize() - Method in record class io.github.torand.jsonschema2java.generators.Options
Returns the value of the indentSize record component.
indentWithTab() - Method in record class io.github.torand.jsonschema2java.generators.Options
Returns the value of the indentWithTab record 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 itemType record 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 keyType record 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 modelSubdir record component.
modelSubdir() - Method in record class io.github.torand.jsonschema2java.model.PojoInfo
Returns the value of the modelSubdir record component.
modelSubpackage() - Method in record class io.github.torand.jsonschema2java.model.EnumInfo
Returns the value of the modelSubpackage record component.
modelSubpackage() - Method in record class io.github.torand.jsonschema2java.model.PojoInfo
Returns the value of the modelSubpackage record component.

N

name() - Method in record class io.github.torand.jsonschema2java.model.EnumInfo
Returns the value of the name record component.
name() - Method in record class io.github.torand.jsonschema2java.model.PojoInfo
Returns the value of the name record component.
name() - Method in record class io.github.torand.jsonschema2java.model.PropertyInfo
Returns the value of the name record component.
name() - Method in record class io.github.torand.jsonschema2java.model.TypeInfo
Returns the value of the name record component.
normalImports() - Method in record class io.github.torand.jsonschema2java.model.ImportInfo
Returns the value of the normalImports record 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 nullable record 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 Options record 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 outputDir record 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 PojoInfo object.
PojoInfo(String, String, String, List<AnnotationInfo>, List<PropertyInfo>, String) - Constructor for record class io.github.torand.jsonschema2java.model.PojoInfo
Creates an instance of a PojoInfo record 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 pojoNameSuffix record component.
pojosAsRecords() - Method in record class io.github.torand.jsonschema2java.generators.Options
Returns the value of the pojosAsRecords record 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 primitive record component.
properties() - Method in record class io.github.torand.jsonschema2java.model.PojoInfo
Returns the value of the properties record 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 PropertyInfo object.
PropertyInfo(String, TypeInfo, boolean, List<AnnotationInfo>, String) - Constructor for record class io.github.torand.jsonschema2java.model.PropertyInfo
Creates an instance of a PropertyInfo record 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 required record 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 rootPackage record component.

S

schemaFormat() - Method in record class io.github.torand.jsonschema2java.model.TypeInfo
Returns the value of the schemaFormat record component.
schemaIdRootUri() - Method in record class io.github.torand.jsonschema2java.generators.Options
Returns the value of the schemaIdRootUri record component.
schemaPattern() - Method in record class io.github.torand.jsonschema2java.model.TypeInfo
Returns the value of the schemaPattern record 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 searchRootDir record component.
staticImports() - Method in record class io.github.torand.jsonschema2java.model.ImportInfo
Returns the value of the staticImports record 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 type record 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 TypeInfo object.
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 TypeInfo record 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 useKotlinSyntax record 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 verbose record component.

W

withAddedAnnotation(AnnotationInfo) - Method in record class io.github.torand.jsonschema2java.model.EnumInfo
Returns a new EnumInfo object with specified annotation added.
withAddedAnnotation(AnnotationInfo) - Method in record class io.github.torand.jsonschema2java.model.PojoInfo
Returns a new PojoInfo object with specified annotation added.
withAddedAnnotation(AnnotationInfo) - Method in record class io.github.torand.jsonschema2java.model.PropertyInfo
Returns a new PropertyInfo object with specified annotation added.
withAddedAnnotation(AnnotationInfo) - Method in record class io.github.torand.jsonschema2java.model.TypeInfo
Returns a new TypeInfo object with specified annotation added.
withAddedImports(ImportsSupplier) - Method in record class io.github.torand.jsonschema2java.model.ImportInfo
Returns a new ImportInfo object with all imports from specified supplier added.
withAddedImports(Collection<? extends ImportsSupplier>) - Method in record class io.github.torand.jsonschema2java.model.ImportInfo
Returns a new ImportInfo object with all imports from specified suppliers added.
withAddedNormalImport(String) - Method in record class io.github.torand.jsonschema2java.model.AnnotationInfo
Returns a new AnnotationInfo object with specified normal import added.
withAddedNormalImport(String) - Method in record class io.github.torand.jsonschema2java.model.ImportInfo
Returns a new ImportInfo object with specified normal import added.
withAddedNormalImport(String) - Method in record class io.github.torand.jsonschema2java.model.TypeInfo
Returns a new TypeInfo object with specified normal import added.
withAddedProperties(Collection<PropertyInfo>) - Method in record class io.github.torand.jsonschema2java.model.PojoInfo
Returns a new PojoInfo object with specified properties added.
withAddedStaticImport(String) - Method in record class io.github.torand.jsonschema2java.model.ImportInfo
Returns a new ImportInfo object with specified static import added.
withAddJsonPropertyAnnotations(boolean) - Method in record class io.github.torand.jsonschema2java.generators.Options
Returns a new Options object with specified add JSON property annotations flag.
withAddMpOpenApiAnnotations(boolean) - Method in record class io.github.torand.jsonschema2java.generators.Options
Returns a new Options object with specified add Microprofile OpenAPI annotations flag.
withDeprecationMessage(String) - Method in record class io.github.torand.jsonschema2java.model.PojoInfo
Returns a new PojoInfo object with specified deprecation message.
withDeprecationMessage(String) - Method in record class io.github.torand.jsonschema2java.model.PropertyInfo
Returns a new PropertyInfo object with specified deprecation message.
withDescription(String) - Method in record class io.github.torand.jsonschema2java.model.TypeInfo
Returns a new TypeInfo object with specified description.
withItemType(TypeInfo) - Method in record class io.github.torand.jsonschema2java.model.TypeInfo
Returns a new TypeInfo object with specified item type.
withKeyType(TypeInfo) - Method in record class io.github.torand.jsonschema2java.model.TypeInfo
Returns a new TypeInfo object with specified key type.
withModelSubdir(String) - Method in record class io.github.torand.jsonschema2java.model.EnumInfo
Returns a new EnumInfo object with specified model subdirectory.
withModelSubdir(String) - Method in record class io.github.torand.jsonschema2java.model.PojoInfo
Returns a new PojoInfo object with specified model subdirectory.
withModelSubpackage(String) - Method in record class io.github.torand.jsonschema2java.model.EnumInfo
Returns a new EnumInfo object with specified model subpackage.
withModelSubpackage(String) - Method in record class io.github.torand.jsonschema2java.model.PojoInfo
Returns a new PojoInfo object with specified model subpackage.
withName(String) - Method in record class io.github.torand.jsonschema2java.model.TypeInfo
Returns a new TypeInfo object with specified name.
withNoAnnotations() - Method in record class io.github.torand.jsonschema2java.model.TypeInfo
Returns a new PojoInfo object with no annotations.
withNullable(boolean) - Method in record class io.github.torand.jsonschema2java.model.TypeInfo
Returns a new TypeInfo object with specified nullable flag.
withOutputDir(String) - Method in record class io.github.torand.jsonschema2java.generators.Options
Returns a new Options object with specified output directory.
withPrimitive(boolean) - Method in record class io.github.torand.jsonschema2java.model.TypeInfo
Returns a new TypeInfo object with specified primitive flag.
withRequired(boolean) - Method in record class io.github.torand.jsonschema2java.model.PropertyInfo
Returns a new PropertyInfo object with specified required flag.
withRootPackage(String) - Method in record class io.github.torand.jsonschema2java.generators.Options
Returns a new Options object with specified root package.
withSchemaFormat(String) - Method in record class io.github.torand.jsonschema2java.model.TypeInfo
Returns a new TypeInfo object with specified OpenAPI schema format.
withSchemaIdRootUri(URI) - Method in record class io.github.torand.jsonschema2java.generators.Options
Returns a new Options object with specified schema id root URI.
withSchemaPattern(String) - Method in record class io.github.torand.jsonschema2java.model.TypeInfo
Returns a new TypeInfo object with specified OpenAPI schema pattern.
withSearchRootDir(String) - Method in record class io.github.torand.jsonschema2java.generators.Options
Returns a new Options object with specified search root directory.
withType(TypeInfo) - Method in record class io.github.torand.jsonschema2java.model.PropertyInfo
Returns a new PropertyInfo object with specified type.
withUseKotlinSyntax(boolean) - Method in record class io.github.torand.jsonschema2java.generators.Options
Returns a new Options object with specified use Kotlin syntax flag.
withVerbose(boolean) - Method in record class io.github.torand.jsonschema2java.generators.Options
Returns a new Options object 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.
A B C D E F G H I J K L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form