public class CustomSchemaWrapper extends SchemaWrapper implements Iterable<PropertyWrapper>
| Modifier and Type | Field and Description |
|---|---|
static String |
TAG_PROPERTIES |
static String |
TAG_REQUIRED |
DRAFT_04| Constructor and Description |
|---|
CustomSchemaWrapper(Type type) |
CustomSchemaWrapper(Type type,
boolean ignoreProperties) |
CustomSchemaWrapper(Type type,
Set<ManagedReference> managedReferences,
boolean ignoreProperties) |
CustomSchemaWrapper(Type type,
Set<ManagedReference> managedReferences,
String relativeId,
boolean ignoreProperties) |
| Modifier and Type | Method and Description |
|---|---|
void |
addProperty(PropertyWrapper propertyWrapper) |
void |
addRequired(String name) |
protected void |
addTokenToRelativeId(String token) |
String |
getRelativeId() |
boolean |
isCustomWrapper() |
boolean |
isRequired() |
Iterator<PropertyWrapper> |
iterator()
Returns an iterator over a set of elements of PropertyWrapper.
|
protected void |
processAttributes(com.fasterxml.jackson.databind.node.ObjectNode node,
Type type) |
protected void |
processProperties() |
boolean |
pullReference(ManagedReference managedReference) |
boolean |
pushReference(ManagedReference managedReference) |
protected void |
setRequired(boolean required) |
asJson, cast, getDollarSchema, getId, getJavaType, getNode, getNodeTextValue, getParameterizedType, getRef, getType, isArrayWrapper, isEmptyWrapper, isEnumWrapper, isNullWrapper, isRefWrapper, isSimpleWrapper, processNullable, putDollarSchema, setTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic static final String TAG_REQUIRED
public static final String TAG_PROPERTIES
public CustomSchemaWrapper(Type type)
public CustomSchemaWrapper(Type type, boolean ignoreProperties)
public CustomSchemaWrapper(Type type, Set<ManagedReference> managedReferences, boolean ignoreProperties)
public CustomSchemaWrapper(Type type, Set<ManagedReference> managedReferences, String relativeId, boolean ignoreProperties)
public String getRelativeId()
protected void addTokenToRelativeId(String token)
public void addProperty(PropertyWrapper propertyWrapper)
public boolean isRequired()
public void addRequired(String name)
public boolean pullReference(ManagedReference managedReference)
public boolean pushReference(ManagedReference managedReference)
public boolean isCustomWrapper()
isCustomWrapper in class SchemaWrapperpublic Iterator<PropertyWrapper> iterator()
iterator in interface Iterable<PropertyWrapper>protected void processProperties()
protected void setRequired(boolean required)
protected void processAttributes(com.fasterxml.jackson.databind.node.ObjectNode node,
Type type)
Copyright © 2018. All rights reserved.