public class JsonSchemaBeanPropertyMeta extends BeanPropertyMetaExtended
@JsonSchema
annotation
on the bean property.Modifier and Type | Field and Description |
---|---|
static JsonSchemaBeanPropertyMeta |
DEFAULT
Default instance.
|
Constructor and Description |
---|
JsonSchemaBeanPropertyMeta(BeanPropertyMeta bpm)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected String |
getDescription()
Returns the
@JsonSchema(description) annotation defined on the class. |
protected Object |
getExample()
Returns the
@JsonSchema(example) annotation defined on the class. |
protected String |
getFormat()
Returns the
@JsonSchema(format) annotation defined on the class. |
protected String |
getType()
Returns the
@JsonSchema(type) annotation defined on the class. |
getBeanPropertyMeta
public static final JsonSchemaBeanPropertyMeta DEFAULT
public JsonSchemaBeanPropertyMeta(BeanPropertyMeta bpm)
bpm
- The metadata of the bean property of this additional metadata.protected String getType()
@JsonSchema(type)
annotation defined on the class.protected String getFormat()
@JsonSchema(format)
annotation defined on the class.protected String getDescription()
@JsonSchema(description)
annotation defined on the class.protected Object getExample()
@JsonSchema(example)
annotation defined on the class.Copyright © 2018 Apache. All rights reserved.