Class EqualitySchemaWrapper
- java.lang.Object
-
- io.apicurio.registry.rules.compatibility.jsonschema.wrapper.EqualitySchemaWrapper
-
- All Implemented Interfaces:
SchemaWrapper
- Direct Known Subclasses:
ArraySchemaWrapper
,BooleanSchemaWrapper
,CombinedSchemaWrapper
,ConditionalSchemaWrapper
,ConstSchemaWrapper
,EmptySchemaWrapper
,EnumSchemaWrapper
,FalseSchemaWrapper
,NotSchemaWrapper
,NullSchemaWrapper
,NumberSchemaWrapper
,ObjectSchemaWrapper
,ReferenceSchemaWrapper
,StringSchemaWrapper
,TrueSchemaWrapper
public class EqualitySchemaWrapper extends Object implements SchemaWrapper
Equals and hashCode implementation from the Everit library may not handle some schemas (with references) well, resulting inStackOverflowError
or other errors. When using collections, always wrap the schema inside this wrapper, or any other wrapper that inherits from this one.- Author:
- Jakub Senko
-
-
Constructor Summary
Constructors Constructor Description EqualitySchemaWrapper(org.everit.json.schema.Schema wrapped)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
int
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
accept, getWrapped
-
-