public class StringSchema extends ValueTypeSchema
JsonSchema
as a StringConstructor and Description |
---|
StringSchema() |
Modifier and Type | Method and Description |
---|---|
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) |
asValueSchemaSchema, getEnums, getFormat, isValueTypeSchema, setEnums, setFormat
asSimpleTypeSchema, getDefault, getLinks, getPathStart, getTitle, isSimpleTypeSchema, setDefault, setLinks, setPathStart, setTitle
asAnySchema, asArraySchema, asBooleanSchema, asContainerSchema, asIntegerSchema, asNullSchema, asNumberSchema, asObjectSchema, asUnionTypeSchema, enrichWithBeanProperty, equals, get$ref, get$schema, getDescription, getDisallow, getExtends, getId, getRequired, isAnySchema, isArraySchema, isBooleanSchema, isContainerTypeSchema, isIntegerSchema, isNullSchema, isNumberSchema, isObjectSchema, isUnionTypeSchema, minimalForFormat, set$ref, set$schema, setDescription, setDisallow, setExtends, setId, setRequired
public StringSchema asStringSchema()
JsonSchema
StringSchema
asStringSchema
in class JsonSchema
public boolean equals(Object obj)
equals
in class ValueTypeSchema
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)
Copyright © 2014-2015 FasterXML. All Rights Reserved.