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
Notschema validator.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNotSchema.BuilderBuilder 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.Builderbuilder()protected booleancanEqual(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.booleanequals(Object o)SchemagetMustNotMatch()inthashCode()-
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()
-
-