Class ObjectSchemaWrapper
- java.lang.Object
-
- io.apicurio.registry.rules.compatibility.jsonschema.wrapper.EqualitySchemaWrapper
-
- io.apicurio.registry.rules.compatibility.jsonschema.wrapper.ObjectSchemaWrapper
-
- All Implemented Interfaces:
SchemaWrapper
public class ObjectSchemaWrapper extends EqualitySchemaWrapper implements SchemaWrapper
- Author:
- Jakub Senko 'jsenko@redhat.com'
-
-
Constructor Summary
Constructors Constructor Description ObjectSchemaWrapper(org.everit.json.schema.ObjectSchema wrapped)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(JsonSchemaWrapperVisitor visitor)
Integer
getMaxProperties()
Integer
getMinProperties()
Map<String,Set<String>>
getPropertyDependencies()
SchemaWrapper
getPropertyNameSchema()
Map<String,SchemaWrapper>
getPropertySchemas()
Map<Pattern,SchemaWrapper>
getRegexpPatternProperties()
List<String>
getRequiredProperties()
Map<String,SchemaWrapper>
getSchemaDependencies()
SchemaWrapper
getSchemaOfAdditionalProperties()
boolean
permitsAdditionalProperties()
-
Methods inherited from class io.apicurio.registry.rules.compatibility.jsonschema.wrapper.EqualitySchemaWrapper
equals, hashCode
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.apicurio.registry.rules.compatibility.jsonschema.wrapper.SchemaWrapper
getWrapped
-
-
-
-
Method Detail
-
getPropertyNameSchema
public SchemaWrapper getPropertyNameSchema()
-
getMinProperties
public Integer getMinProperties()
-
getMaxProperties
public Integer getMaxProperties()
-
permitsAdditionalProperties
public boolean permitsAdditionalProperties()
-
getSchemaOfAdditionalProperties
public SchemaWrapper getSchemaOfAdditionalProperties()
-
getRegexpPatternProperties
public Map<Pattern,SchemaWrapper> getRegexpPatternProperties()
-
getSchemaDependencies
public Map<String,SchemaWrapper> getSchemaDependencies()
-
getPropertySchemas
public Map<String,SchemaWrapper> getPropertySchemas()
-
accept
public void accept(JsonSchemaWrapperVisitor visitor)
- Specified by:
accept
in interfaceSchemaWrapper
-
-