Class ReferenceSchema
- java.lang.Object
-
- com.fasterxml.jackson.module.jsonSchema.JsonSchema
-
- com.fasterxml.jackson.module.jsonSchema.types.SimpleTypeSchema
-
- com.fasterxml.jackson.module.jsonSchema.types.ReferenceSchema
-
public class ReferenceSchema extends SimpleTypeSchema
This type represents an JSON reference to aJsonSchema
.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
$ref
-
Fields inherited from class com.fasterxml.jackson.module.jsonSchema.types.SimpleTypeSchema
defaultdefault, links, pathStart, title
-
-
Constructor Summary
Constructors Constructor Description ReferenceSchema(java.lang.String ref)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
_equals(ReferenceSchema that)
boolean
equals(java.lang.Object obj)
java.lang.String
get$ref()
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatTypes
getType()
void
set$ref(java.lang.String $ref)
-
Methods inherited from class com.fasterxml.jackson.module.jsonSchema.types.SimpleTypeSchema
_equals, asSimpleTypeSchema, getDefault, getLinks, getPathStart, getTitle, isSimpleTypeSchema, setDefault, setLinks, setPathStart, setTitle
-
Methods inherited from class com.fasterxml.jackson.module.jsonSchema.JsonSchema
_equals, arraysEqual, asAnySchema, asArraySchema, asBooleanSchema, asContainerSchema, asContainerTypeSchema, asIntegerSchema, asNullSchema, asNumberSchema, asObjectSchema, asStringSchema, asUnionTypeSchema, asValueSchemaSchema, asValueTypeSchema, enrichWithBeanProperty, equals, get$schema, getDescription, getDisallow, getExtends, getId, getReadonly, getRequired, isAnySchema, isArraySchema, isBooleanSchema, isContainerTypeSchema, isIntegerSchema, isNullSchema, isNumberSchema, isObjectSchema, isStringSchema, isUnionTypeSchema, isValueTypeSchema, minimalForFormat, set$schema, setDescription, setDisallow, setExtends, setId, setReadonly, setRequired
-
-
-
-
Method Detail
-
getType
public com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatTypes getType()
- Specified by:
getType
in classJsonSchema
-
get$ref
public java.lang.String get$ref()
- Overrides:
get$ref
in classJsonSchema
-
set$ref
public void set$ref(java.lang.String $ref)
- Overrides:
set$ref
in classJsonSchema
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classSimpleTypeSchema
-
_equals
protected boolean _equals(ReferenceSchema that)
-
-