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 SimpleTypeSchema
defaultdefault, links, pathStart, title -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAttempt to return this JsonSchema as aNullSchemabooleancom.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatTypesgetType()booleandetermine if this JsonSchema is anNullSchema.Methods inherited from class SimpleTypeSchema
_equals, asSimpleTypeSchema, getDefault, getLinks, getPathStart, getTitle, isSimpleTypeSchema, setDefault, setLinks, setPathStart, setTitleMethods inherited from class 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:JsonSchemaAttempt to return this JsonSchema as aNullSchema- Overrides:
asNullSchemain classJsonSchema- Returns:
- this as a NullSchema if possible, or null otherwise
-
getType
public com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatTypes getType()- Specified by:
getTypein classJsonSchema
-
isNullSchema
public boolean isNullSchema()Description copied from class:JsonSchemadetermine if this JsonSchema is anNullSchema.- Overrides:
isNullSchemain classJsonSchema- Returns:
- true if this JsonSchema is an NullSchema, false otherwise
-
equals
- Overrides:
equalsin classSimpleTypeSchema
-