Class NullSchema
java.lang.Object
com.fasterxml.jackson.module.jsonSchema.jakarta.JsonSchema
com.fasterxml.jackson.module.jsonSchema.jakarta.types.SimpleTypeSchema
com.fasterxml.jackson.module.jsonSchema.jakarta.types.NullSchema
This class represents a
JsonSchema
as a null type-
Field Summary
Fields inherited from class com.fasterxml.jackson.module.jsonSchema.jakarta.types.SimpleTypeSchema
defaultdefault, links, pathStart, title
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAttempt to return this JsonSchema as aNullSchema
boolean
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatTypes
getType()
boolean
determine if this JsonSchema is anNullSchema
.Methods inherited from class com.fasterxml.jackson.module.jsonSchema.jakarta.types.SimpleTypeSchema
_equals, asSimpleTypeSchema, getDefault, getLinks, getPathStart, getTitle, isSimpleTypeSchema, setDefault, setLinks, setPathStart, setTitle
Methods inherited from class com.fasterxml.jackson.module.jsonSchema.jakarta.JsonSchema
_equals, arraysEqual, asAnySchema, asArraySchema, asBooleanSchema, asContainerSchema, asContainerTypeSchema, asIntegerSchema, asNumberSchema, asObjectSchema, asStringSchema, asUnionTypeSchema, asValueSchemaSchema, asValueTypeSchema, enrichWithBeanProperty, equals, get$ref, get$schema, getDescription, getDisallow, getExtends, getId, getReadonly, getRequired, isAnySchema, isArraySchema, isBooleanSchema, isContainerTypeSchema, isIntegerSchema, isNumberSchema, isObjectSchema, isStringSchema, isUnionTypeSchema, isValueTypeSchema, minimalForFormat, set$ref, set$schema, setDescription, setDisallow, setExtends, setId, setReadonly, setRequired
-
Constructor Details
-
NullSchema
public NullSchema()
-
-
Method Details
-
asNullSchema
Description copied from class:JsonSchema
Attempt to return this JsonSchema as aNullSchema
- Overrides:
asNullSchema
in classJsonSchema
- Returns:
- this as a NullSchema if possible, or null otherwise
-
getType
public com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatTypes getType()- Specified by:
getType
in classJsonSchema
-
isNullSchema
public boolean isNullSchema()Description copied from class:JsonSchema
determine if this JsonSchema is anNullSchema
.- Overrides:
isNullSchema
in classJsonSchema
- Returns:
- true if this JsonSchema is an NullSchema, false otherwise
-
equals
- Overrides:
equals
in classSimpleTypeSchema
-