public class JPrimitive extends AbstractJSONSchema2Pojo
config, defaultValue, description, isNullable| Constructor and Description |
|---|
JPrimitive(String type,
Config config,
String description,
boolean isNullable,
com.fasterxml.jackson.databind.JsonNode defaultValue) |
| Modifier and Type | Method and Description |
|---|---|
GeneratorResult |
generateJava() |
String |
getType() |
fromJsonSchema, getClassType, getDefaultValue, getDescription, packageName, sanitizeStringpublic String getType()
getType in class AbstractJSONSchema2Pojopublic GeneratorResult generateJava()
generateJava in class AbstractJSONSchema2PojoCopyright © 2015–2022 Red Hat. All rights reserved.