public class StringSchema extends ValueTypeSchema
JsonSchema as a Stringenums, formatdefaultdefault, 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, setRequiredpublic StringSchema asStringSchema()
JsonSchemaStringSchemaasStringSchema in class JsonSchemapublic 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)
public boolean equals(Object obj)
equals in class ValueTypeSchemaprotected boolean _equals(StringSchema that)
Copyright © 2024 FasterXML. All rights reserved.