public abstract class ContainerTypeSchema extends SimpleTypeSchema
JsonSchema
Array and ObjectModifier and Type | Field and Description |
---|---|
protected Set<String> |
enums
This provides an enumeration of all possible values that are valid
for the instance property.
|
protected Set<Object> |
oneOf
This provides an enumeration of all possible values that are valid
for the instance property.
|
defaultdefault, links, pathStart, title
Constructor and Description |
---|
ContainerTypeSchema() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
_equals(ContainerTypeSchema that) |
ContainerTypeSchema |
asContainerSchema()
Attempt to return this JsonSchema as a
ContainerTypeSchema |
boolean |
equals(Object obj) |
Set<String> |
getEnums() |
Set<Object> |
getOneOf() |
boolean |
isContainerTypeSchema()
determine if this JsonSchema is an
ContainerTypeSchema . |
void |
setEnums(Set<String> enums) |
void |
setOneOf(Set<Object> oneOf) |
_equals, asSimpleTypeSchema, getDefault, getLinks, getPathStart, getTitle, isSimpleTypeSchema, setDefault, setLinks, setPathStart, setTitle
_equals, arraysEqual, asAnySchema, asArraySchema, asBooleanSchema, asIntegerSchema, asNullSchema, asNumberSchema, asObjectSchema, asStringSchema, asUnionTypeSchema, asValueSchemaSchema, enrichWithBeanProperty, equals, get$ref, get$schema, getDescription, getDisallow, getExtends, getId, getReadonly, getRequired, getType, isAnySchema, isArraySchema, isBooleanSchema, isIntegerSchema, isNullSchema, isNumberSchema, isObjectSchema, isStringSchema, isUnionTypeSchema, isValueTypeSchema, minimalForFormat, set$ref, set$schema, setDescription, setDisallow, setExtends, setId, setReadonly, setRequired
protected Set<String> enums
protected Set<Object> oneOf
public ContainerTypeSchema asContainerSchema()
JsonSchema
ContainerTypeSchema
asContainerSchema
in class JsonSchema
public boolean isContainerTypeSchema()
JsonSchema
ContainerTypeSchema
.isContainerTypeSchema
in class JsonSchema
public boolean equals(Object obj)
equals
in class SimpleTypeSchema
protected boolean _equals(ContainerTypeSchema that)
Copyright © 2014–2016 FasterXML. All rights reserved.