public class JsonSchema extends Object
| Constructor and Description |
|---|
JsonSchema(String title,
String description,
Collection<org.springframework.data.rest.webmvc.json.JsonSchema.JsonSchemaProperty<?>> properties,
org.springframework.data.rest.webmvc.json.JsonSchema.Descriptors descriptors)
Creates a new
JsonSchema instance for the given title, description, JsonSchemaPropertys and
Descriptors. |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.data.rest.webmvc.json.JsonSchema.PropertiesContainer |
getContainer() |
String |
getDescription() |
org.springframework.data.rest.webmvc.json.JsonSchema.Descriptors |
getDescriptors() |
String |
getSchema() |
String |
getTitle() |
String |
getType() |
public JsonSchema(String title, String description, Collection<org.springframework.data.rest.webmvc.json.JsonSchema.JsonSchemaProperty<?>> properties, org.springframework.data.rest.webmvc.json.JsonSchema.Descriptors descriptors)
JsonSchema instance for the given title, description, JsonSchemaPropertys and
Descriptors.title - must not be null or empty.description - can be null.properties - must not be null.descriptors - must not be null.public String getSchema()
public String getType()
public String getTitle()
public String getDescription()
public org.springframework.data.rest.webmvc.json.JsonSchema.PropertiesContainer getContainer()
public org.springframework.data.rest.webmvc.json.JsonSchema.Descriptors getDescriptors()
Copyright © 2011-2015–2015 Pivotal Software, Inc.. All rights reserved.