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()
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, 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, setRequired
protected Set<String> enums
protected com.fasterxml.jackson.databind.jsonFormatVisitors.JsonValueFormat format
public ValueTypeSchema asValueSchemaSchema()
JsonSchema
ValueTypeSchema
asValueSchemaSchema
in class JsonSchema
public com.fasterxml.jackson.databind.jsonFormatVisitors.JsonValueFormat getFormat()
public boolean isValueTypeSchema()
JsonSchema
ValueTypeSchema
.isValueTypeSchema
in class JsonSchema
public void setFormat(com.fasterxml.jackson.databind.jsonFormatVisitors.JsonValueFormat format)
public boolean equals(Object obj)
equals
in class SimpleTypeSchema
protected boolean _equals(ValueTypeSchema that)
Copyright © 2014–2016 FasterXML. All rights reserved.