Class Schema
- java.lang.Object
-
- org.apache.johnzon.jsonschema.generator.Schema
-
public class Schema extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Schema.SchemaType
static class
Schema.SchemaTypeAdapter
-
Field Summary
-
Constructor Summary
Constructors Constructor Description Schema()
-
Method Summary
-
-
-
Field Detail
-
type
private Schema.SchemaType type
-
additionalProperties
private Object additionalProperties
-
defaultValue
private Object defaultValue
-
deprecated
private Boolean deprecated
-
description
private String description
-
example
private Object example
-
exclusiveMaximum
private Boolean exclusiveMaximum
-
exclusiveMinimum
private Boolean exclusiveMinimum
-
format
private String format
-
items
private Schema items
-
maxItems
private Integer maxItems
-
maxLength
private Integer maxLength
-
maxProperties
private Integer maxProperties
-
minItems
private Integer minItems
-
minLength
private Integer minLength
-
minProperties
private Integer minProperties
-
maximum
private Double maximum
-
minimum
private Double minimum
-
multipleOf
private Double multipleOf
-
not
private Schema not
-
nullable
private Boolean nullable
-
pattern
private String pattern
-
readOnly
private Boolean readOnly
-
ref
private String ref
-
id
private String id
-
schema
private String schema
-
title
private String title
-
uniqueItems
private Boolean uniqueItems
-
writeOnly
private Boolean writeOnly
-
-
Method Detail
-
getType
public Schema.SchemaType getType()
-
setType
public void setType(Schema.SchemaType type)
-
getAdditionalProperties
public Object getAdditionalProperties()
-
setAdditionalProperties
public void setAdditionalProperties(Object additionalProperties)
-
getDefaultValue
public Object getDefaultValue()
-
setDefaultValue
public void setDefaultValue(Object defaultValue)
-
getDeprecated
public Boolean getDeprecated()
-
setDeprecated
public void setDeprecated(Boolean deprecated)
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
getExample
public Object getExample()
-
setExample
public void setExample(Object example)
-
getExclusiveMaximum
public Boolean getExclusiveMaximum()
-
setExclusiveMaximum
public void setExclusiveMaximum(Boolean exclusiveMaximum)
-
getExclusiveMinimum
public Boolean getExclusiveMinimum()
-
setExclusiveMinimum
public void setExclusiveMinimum(Boolean exclusiveMinimum)
-
getFormat
public String getFormat()
-
setFormat
public void setFormat(String format)
-
getItems
public Schema getItems()
-
setItems
public void setItems(Schema items)
-
getMaxItems
public Integer getMaxItems()
-
setMaxItems
public void setMaxItems(Integer maxItems)
-
getMaxLength
public Integer getMaxLength()
-
setMaxLength
public void setMaxLength(Integer maxLength)
-
getMaxProperties
public Integer getMaxProperties()
-
setMaxProperties
public void setMaxProperties(Integer maxProperties)
-
getMinItems
public Integer getMinItems()
-
setMinItems
public void setMinItems(Integer minItems)
-
getMinLength
public Integer getMinLength()
-
setMinLength
public void setMinLength(Integer minLength)
-
getMinProperties
public Integer getMinProperties()
-
setMinProperties
public void setMinProperties(Integer minProperties)
-
getMaximum
public Double getMaximum()
-
setMaximum
public void setMaximum(Double maximum)
-
getMinimum
public Double getMinimum()
-
setMinimum
public void setMinimum(Double minimum)
-
getMultipleOf
public Double getMultipleOf()
-
setMultipleOf
public void setMultipleOf(Double multipleOf)
-
getNot
public Schema getNot()
-
setNot
public void setNot(Schema not)
-
getNullable
public Boolean getNullable()
-
setNullable
public void setNullable(Boolean nullable)
-
getPattern
public String getPattern()
-
setPattern
public void setPattern(String pattern)
-
getReadOnly
public Boolean getReadOnly()
-
setReadOnly
public void setReadOnly(Boolean readOnly)
-
getRef
public String getRef()
-
setRef
public void setRef(String ref)
-
getId
public String getId()
-
setId
public void setId(String id)
-
getSchema
public String getSchema()
-
setSchema
public void setSchema(String schema)
-
getTitle
public String getTitle()
-
setTitle
public void setTitle(String title)
-
getUniqueItems
public Boolean getUniqueItems()
-
setUniqueItems
public void setUniqueItems(Boolean uniqueItems)
-
getWriteOnly
public Boolean getWriteOnly()
-
setWriteOnly
public void setWriteOnly(Boolean writeOnly)
-
-