public class StringSchema extends ValueTypeSchema
JsonSchema as a String| Constructor 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, setFormatasSimpleTypeSchema, getDefault, getDescription, getTitle, isSimpleTypeSchema, setDefault, setDescription, setTitleasAnySchema, asArraySchema, asBooleanSchema, asContainerSchema, asIntegerSchema, asNullSchema, asNumberSchema, asObjectSchema, asUnionTypeSchema, enrichWithBeanProperty, get$ref, get$schema, getDisallow, getExtends, getId, getRequired, isAnySchema, isArraySchema, isBooleanSchema, isContainerTypeSchema, isIntegerSchema, isNullSchema, isNumberSchema, isObjectSchema, isUnionTypeSchema, minimalForFormat, set$ref, set$schema, setDisallow, setExtends, setId, setRequiredpublic StringSchema asStringSchema()
JsonSchemaStringSchemaasStringSchema in class JsonSchemapublic boolean equals(Object obj)
equals in class ValueTypeSchemapublic Integer getMaxLength()
public Integer getMinLength()
public String getPattern()
public com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatTypes getType()
getType in class JsonSchemapublic boolean isStringSchema()
JsonSchemaStringSchema.isStringSchema in class JsonSchemapublic void setMaxLength(Integer maxLength)
public void setMinLength(Integer minLength)
public void setPattern(String pattern)
Copyright © 2012-2013 FasterXML. All Rights Reserved.