public class StringSchema extends ValueTypeSchema
JsonSchema
as a Stringenums, format
defaultdefault, links, pathStart, title
Constructor and Description |
---|
StringSchema() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
_equals(StringSchema that) |
StringSchema |
asStringSchema()
Attempt to return this JsonSchema as a
StringSchema |
boolean |
equals(Object obj) |
Integer |
getMaxLength() |
Integer |
getMinLength() |
String |
getPattern() |
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatTypes |
getType() |
boolean |
isStringSchema()
determine if this JsonSchema is an
StringSchema . |
void |
setMaxLength(Integer maxLength) |
void |
setMinLength(Integer minLength) |
void |
setPattern(String pattern) |
_equals, asValueSchemaSchema, asValueTypeSchema, getEnums, getFormat, isValueTypeSchema, setEnums, setFormat
_equals, asSimpleTypeSchema, getDefault, getLinks, getPathStart, getTitle, isSimpleTypeSchema, setDefault, setLinks, setPathStart, setTitle
_equals, arraysEqual, asAnySchema, asArraySchema, asBooleanSchema, asContainerSchema, asContainerTypeSchema, asIntegerSchema, asNullSchema, asNumberSchema, asObjectSchema, asUnionTypeSchema, enrichWithBeanProperty, equals, get$ref, get$schema, getDescription, getDisallow, getExtends, getId, getReadonly, getRequired, isAnySchema, isArraySchema, isBooleanSchema, isContainerTypeSchema, isIntegerSchema, isNullSchema, isNumberSchema, isObjectSchema, isUnionTypeSchema, minimalForFormat, set$ref, set$schema, setDescription, setDisallow, setExtends, setId, setReadonly, setRequired
public StringSchema asStringSchema()
JsonSchema
StringSchema
asStringSchema
in class JsonSchema
public Integer getMaxLength()
public Integer getMinLength()
public String getPattern()
public com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatTypes getType()
getType
in class JsonSchema
public boolean isStringSchema()
JsonSchema
StringSchema
.isStringSchema
in class JsonSchema
public void setMaxLength(Integer maxLength)
public void setMinLength(Integer minLength)
public void setPattern(String pattern)
public boolean equals(Object obj)
equals
in class ValueTypeSchema
protected boolean _equals(StringSchema that)
Copyright © 2018 FasterXML. All rights reserved.