public abstract class ValueTypeSchema extends SimpleTypeSchema
JsonSchema
A primitive type.| Modifier and Type | Field and Description |
|---|---|
protected Set<String> |
enums
This provides an enumeration of all possible values that are valid
for the instance property.
|
protected com.fasterxml.jackson.databind.jsonFormatVisitors.JsonValueFormat |
format
This property defines the type of data, content type, or microformat to
be expected in the instance property values.
|
defaultdefault, links, pathStart, title| Constructor and Description |
|---|
ValueTypeSchema() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
_equals(ValueTypeSchema that) |
ValueTypeSchema |
asValueSchemaSchema()
Deprecated.
Since 2.7
|
ValueTypeSchema |
asValueTypeSchema()
Attempt to return this JsonSchema as a
ValueTypeSchema |
boolean |
equals(Object obj) |
Set<String> |
getEnums() |
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonValueFormat |
getFormat() |
boolean |
isValueTypeSchema()
determine if this JsonSchema is an
ValueTypeSchema. |
void |
setEnums(Set<String> enums) |
void |
setFormat(com.fasterxml.jackson.databind.jsonFormatVisitors.JsonValueFormat format) |
_equals, asSimpleTypeSchema, getDefault, getLinks, getPathStart, getTitle, isSimpleTypeSchema, setDefault, setLinks, setPathStart, setTitle_equals, arraysEqual, asAnySchema, asArraySchema, asBooleanSchema, asContainerSchema, asContainerTypeSchema, asIntegerSchema, asNullSchema, asNumberSchema, asObjectSchema, asStringSchema, asUnionTypeSchema, enrichWithBeanProperty, equals, get$ref, get$schema, getDescription, getDisallow, getExtends, getId, getReadonly, getRequired, getType, isAnySchema, isArraySchema, isBooleanSchema, isContainerTypeSchema, isIntegerSchema, isNullSchema, isNumberSchema, isObjectSchema, isStringSchema, isUnionTypeSchema, minimalForFormat, set$ref, set$schema, setDescription, setDisallow, setExtends, setId, setReadonly, setRequiredprotected Set<String> enums
protected com.fasterxml.jackson.databind.jsonFormatVisitors.JsonValueFormat format
NOTE: serialization of `format` was fixed in Jackson 2.7; requires at least this version of databind
@Deprecated public ValueTypeSchema asValueSchemaSchema()
asValueSchemaSchema in class JsonSchemapublic ValueTypeSchema asValueTypeSchema()
JsonSchemaValueTypeSchemaasValueTypeSchema in class JsonSchemapublic com.fasterxml.jackson.databind.jsonFormatVisitors.JsonValueFormat getFormat()
public boolean isValueTypeSchema()
JsonSchemaValueTypeSchema.isValueTypeSchema in class JsonSchemapublic void setFormat(com.fasterxml.jackson.databind.jsonFormatVisitors.JsonValueFormat format)
public boolean equals(Object obj)
equals in class SimpleTypeSchemaprotected boolean _equals(ValueTypeSchema that)
Copyright © 2024 FasterXML. All rights reserved.