Package org.everit.json.schema
Class NotSchema
- java.lang.Object
-
- org.everit.json.schema.Schema
-
- org.everit.json.schema.NotSchema
-
public class NotSchema extends Schema
Not
schema validator.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NotSchema.Builder
Builder class forNotSchema
.
-
Field Summary
-
Fields inherited from class org.everit.json.schema.Schema
schemaLocation
-
-
Constructor Summary
Constructors Constructor Description NotSchema(NotSchema.Builder builder)
-
Method Summary
Modifier and Type Method Description static NotSchema.Builder
builder()
protected boolean
canEqual(Object other)
Since we add state in subclasses, but want those subclasses to be non final, this allows us to have equals methods that satisfy the equals contract.boolean
equals(Object o)
Schema
getMustNotMatch()
int
hashCode()
-
Methods inherited from class org.everit.json.schema.Schema
definesProperty, describeTo, failure, failure, getDefaultValue, getDescription, getId, getLocation, getSchemaLocation, getTitle, getUnprocessedProperties, hasDefaultValue, isNullable, isReadOnly, isWriteOnly, toString, validate
-
-
-
-
Constructor Detail
-
NotSchema
public NotSchema(NotSchema.Builder builder)
-
-
Method Detail
-
builder
public static NotSchema.Builder builder()
-
getMustNotMatch
public Schema getMustNotMatch()
-
-