public class JsonSchema
extends java.lang.Object
Purpose: This class is the root of a JAXB model representing a JSON Schema. An instance is created by the JsonSchemaGenerator based on an EclipseLink project and marshalled out using EclipseLink to create a JsonSchema.
JsonSchemaGenerator
Constructor and Description |
---|
JsonSchema() |
Modifier and Type | Method and Description |
---|---|
void |
addProperty(Property property) |
Property[] |
getAnyOf() |
java.util.Map<java.lang.String,Property> |
getDefinitions() |
java.util.List<java.lang.String> |
getEnumeration() |
Property |
getItems() |
java.util.Map<java.lang.String,Property> |
getProperties() |
Property |
getProperty(java.lang.String name) |
java.lang.Boolean |
isAdditionalProperties() |
void |
setAdditionalProperties(java.lang.Boolean additionalProperties) |
void |
setAnyOf(Property[] anyOf) |
void |
setEnumeration(java.util.List<java.lang.String> enumeration) |
void |
setItems(Property items) |
void |
setProperties(java.util.Map<java.lang.String,Property> props) |
void |
setTitle(java.lang.String title) |
void |
setType(JsonType type) |
public void setTitle(java.lang.String title)
public void setType(JsonType type)
public void addProperty(Property property)
public java.util.Map<java.lang.String,Property> getProperties()
public void setProperties(java.util.Map<java.lang.String,Property> props)
public java.util.Map<java.lang.String,Property> getDefinitions()
public Property getProperty(java.lang.String name)
public Property getItems()
public void setItems(Property items)
public java.lang.Boolean isAdditionalProperties()
public void setAdditionalProperties(java.lang.Boolean additionalProperties)
public void setAnyOf(Property[] anyOf)
public Property[] getAnyOf()
public java.util.List<java.lang.String> getEnumeration()
public void setEnumeration(java.util.List<java.lang.String> enumeration)
EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference