public class JEnum extends AbstractJSONSchema2Pojo
config, defaultValue, description, isNullable, maximum, minimum, pattern| Constructor and Description |
|---|
JEnum(String type,
List<com.fasterxml.jackson.databind.JsonNode> values,
Config config,
String description,
boolean isNullable,
com.fasterxml.jackson.databind.JsonNode defaultValue) |
| Modifier and Type | Method and Description |
|---|---|
GeneratorResult |
generateJava() |
String |
getType() |
escapeQuotes, fromJsonSchema, getClassType, getDefaultValue, getDescription, getMaximum, getMinimum, getPattern, newGeneratedAnnotation, packageName, sanitizeStringpublic String getType()
getType in class AbstractJSONSchema2Pojopublic GeneratorResult generateJava()
generateJava in class AbstractJSONSchema2PojoCopyright © 2015–2023 Red Hat. All rights reserved.