public static class MapTypesSchema.AdditionalProperties
extends com.fasterxml.jackson.module.jsonSchema.types.ObjectSchema.AdditionalProperties
AdditionalProperties
class defines additional
properties used for a map to represent both the keys and values schemas.Constructor and Description |
---|
AdditionalProperties() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
com.fasterxml.jackson.module.jsonSchema.JsonSchema |
getKeysSchema()
Gets the schema for the map keys.
|
com.fasterxml.jackson.databind.JavaType |
getKeysType()
Gets the type for the map keys.
|
com.fasterxml.jackson.module.jsonSchema.JsonSchema |
getValuesSchema()
Gets the schema for the map values.
|
com.fasterxml.jackson.databind.JavaType |
getValuesType()
Gets the type for the map values.
|
int |
hashCode() |
void |
setKeysSchema(com.fasterxml.jackson.module.jsonSchema.JsonSchema keys)
Sets the schema for the map keys.
|
void |
setKeysType(com.fasterxml.jackson.databind.JavaType keys)
Sets the type for the map keys.
|
void |
setValuesSchema(com.fasterxml.jackson.module.jsonSchema.JsonSchema values)
Sets the schema for the map values.
|
void |
setValuesType(com.fasterxml.jackson.databind.JavaType values)
Sets the type for the map values.
|
String |
toString() |
public com.fasterxml.jackson.module.jsonSchema.JsonSchema getKeysSchema()
public void setKeysSchema(com.fasterxml.jackson.module.jsonSchema.JsonSchema keys)
keys
- the schema for the map keyspublic com.fasterxml.jackson.databind.JavaType getKeysType()
public void setKeysType(com.fasterxml.jackson.databind.JavaType keys)
keys
- the type for the map keyspublic com.fasterxml.jackson.module.jsonSchema.JsonSchema getValuesSchema()
public void setValuesSchema(com.fasterxml.jackson.module.jsonSchema.JsonSchema values)
values
- the schema for the map valuespublic com.fasterxml.jackson.databind.JavaType getValuesType()
public void setValuesType(com.fasterxml.jackson.databind.JavaType values)
values
- the type for the map valuespublic int hashCode()
hashCode
in class Object
Object.hashCode()
public boolean equals(Object obj)
equals
in class Object
Object.equals(java.lang.Object)
public String toString()
toString
in class Object
Object.toString()
Copyright (C) 2015-2017 The Helenus Driver Project Authors.