public abstract class SimpleTypeSchema extends JsonSchema
JsonSchema simple types| Modifier and Type | Field and Description |
|---|---|
protected String |
defaultdefault
This attribute defines the default value of the instance when the
instance is undefined.
|
protected LinkDescriptionObject[] |
links
This attribute is a string that provides a links related to description of the
instance property.
|
protected String |
pathStart
This attribute is a URI that defines what the instance's URI MUST start with in order to validate.
|
protected String |
title
This attribute is a string that provides a short description of the
instance property.
|
| Constructor and Description |
|---|
SimpleTypeSchema() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
_equals(SimpleTypeSchema that) |
SimpleTypeSchema |
asSimpleTypeSchema()
Attempt to return this JsonSchema as a
SimpleTypeSchema |
boolean |
equals(Object obj) |
String |
getDefault() |
LinkDescriptionObject[] |
getLinks() |
String |
getPathStart() |
String |
getTitle() |
boolean |
isSimpleTypeSchema()
determine if this JsonSchema is an
SimpleTypeSchema. |
void |
setDefault(String defaultdefault) |
void |
setLinks(LinkDescriptionObject[] links) |
void |
setPathStart(String pathStart) |
void |
setTitle(String title) |
_equals, arraysEqual, asAnySchema, asArraySchema, asBooleanSchema, asContainerSchema, asContainerTypeSchema, asIntegerSchema, asNullSchema, asNumberSchema, asObjectSchema, asStringSchema, asUnionTypeSchema, asValueSchemaSchema, asValueTypeSchema, enrichWithBeanProperty, equals, get$ref, get$schema, getDescription, getDisallow, getExtends, getId, getReadonly, getRequired, getType, isAnySchema, isArraySchema, isBooleanSchema, isContainerTypeSchema, isIntegerSchema, isNullSchema, isNumberSchema, isObjectSchema, isStringSchema, isUnionTypeSchema, isValueTypeSchema, minimalForFormat, set$ref, set$schema, setDescription, setDisallow, setExtends, setId, setReadonly, setRequiredprotected String defaultdefault
protected String title
protected String pathStart
protected LinkDescriptionObject[] links
public SimpleTypeSchema asSimpleTypeSchema()
JsonSchemaSimpleTypeSchemaasSimpleTypeSchema in class JsonSchemapublic String getDefault()
public String getTitle()
public String getPathStart()
public LinkDescriptionObject[] getLinks()
public void setLinks(LinkDescriptionObject[] links)
public boolean isSimpleTypeSchema()
JsonSchemaSimpleTypeSchema.isSimpleTypeSchema in class JsonSchemapublic void setDefault(String defaultdefault)
public void setTitle(String title)
public void setPathStart(String pathStart)
public boolean equals(Object obj)
equals in class JsonSchemaprotected boolean _equals(SimpleTypeSchema that)
Copyright © 2024 FasterXML. All rights reserved.