public abstract class SimpleTypeSchema extends JsonSchema
JsonSchema
simple typesModifier 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, setRequired
protected String defaultdefault
protected String title
protected String pathStart
protected LinkDescriptionObject[] links
public SimpleTypeSchema asSimpleTypeSchema()
JsonSchema
SimpleTypeSchema
asSimpleTypeSchema
in class JsonSchema
public String getDefault()
public String getTitle()
public String getPathStart()
public LinkDescriptionObject[] getLinks()
public void setLinks(LinkDescriptionObject[] links)
public boolean isSimpleTypeSchema()
JsonSchema
SimpleTypeSchema
.isSimpleTypeSchema
in class JsonSchema
public void setDefault(String defaultdefault)
public void setTitle(String title)
public void setPathStart(String pathStart)
public boolean equals(Object obj)
equals
in class JsonSchema
protected boolean _equals(SimpleTypeSchema that)
Copyright © 2017 FasterXML. All rights reserved.