public class StringTypesSchema
extends com.fasterxml.jackson.module.jsonSchema.types.StringSchema
StringTypesSchema class extends the StringSchema
class to provide additional information about the Java type being referenced
as a string.| Constructor and Description |
|---|
StringTypesSchema(com.fasterxml.jackson.databind.JavaType jtype)
Instantiates a new
StringTypesSchema object. |
StringTypesSchema(com.fasterxml.jackson.module.jsonSchema.types.ReferenceSchema schema,
com.fasterxml.jackson.databind.JavaType jtype)
Instantiates a new
StringTypesSchema object. |
StringTypesSchema(com.fasterxml.jackson.module.jsonSchema.types.StringSchema schema,
com.fasterxml.jackson.databind.JavaType jtype)
Instantiates a new
StringTypesSchema object. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JavaType |
getJavaType()
Gets the type or base type associated with the referenced schema.
|
Set<com.fasterxml.jackson.databind.JavaType> |
getJavaTypes()
Gets the type or sub-types associated with the referenced schema.
|
String |
toString() |
_equals, asStringSchema, equals, getMaxLength, getMinLength, getPattern, getType, isStringSchema, setMaxLength, setMinLength, setPattern_equals, asValueSchemaSchema, getEnums, getFormat, isValueTypeSchema, setEnums, setFormat_equals, asSimpleTypeSchema, getDefault, getLinks, getPathStart, getTitle, isSimpleTypeSchema, setDefault, setLinks, setPathStart, setTitle_equals, arraysEqual, asAnySchema, asArraySchema, asBooleanSchema, asContainerSchema, 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 StringTypesSchema(com.fasterxml.jackson.module.jsonSchema.types.ReferenceSchema schema,
com.fasterxml.jackson.databind.JavaType jtype)
StringTypesSchema object.schema - the reference schema for which to create a string onejtype - the corresponding Java typepublic StringTypesSchema(com.fasterxml.jackson.module.jsonSchema.types.StringSchema schema,
com.fasterxml.jackson.databind.JavaType jtype)
StringTypesSchema object.schema - the string schema for which to create a string onejtype - the corresponding Java typepublic StringTypesSchema(com.fasterxml.jackson.databind.JavaType jtype)
StringTypesSchema object.jtype - the corresponding Java typepublic com.fasterxml.jackson.databind.JavaType getJavaType()
public Set<com.fasterxml.jackson.databind.JavaType> getJavaTypes()
public String toString()
toString in class ObjectObject.toString()Copyright (C) 2015-2015 The Helenus Driver Project Authors.