public abstract class BaseModelProperty extends java.lang.Object implements ModelProperty
| Modifier and Type | Field and Description |
|---|---|
protected springfox.documentation.spi.schema.AlternateTypeProvider |
alternateTypeProvider |
protected com.fasterxml.jackson.databind.introspect.BeanPropertyDefinition |
jacksonProperty |
protected com.google.common.base.Optional<com.fasterxml.jackson.annotation.JsonFormat> |
jsonFormatAnnotation |
protected com.fasterxml.classmate.TypeResolver |
resolver |
| Constructor and Description |
|---|
BaseModelProperty(java.lang.String name,
com.fasterxml.classmate.TypeResolver resolver,
springfox.documentation.spi.schema.AlternateTypeProvider alternateTypeProvider,
com.fasterxml.jackson.databind.introspect.BeanPropertyDefinition jacksonProperty) |
| Modifier and Type | Method and Description |
|---|---|
springfox.documentation.service.AllowableValues |
allowableValues() |
java.lang.String |
example() |
java.lang.String |
getName() |
com.fasterxml.classmate.ResolvedType |
getType() |
boolean |
isReadOnly() |
boolean |
isRequired() |
int |
position() |
java.lang.String |
propertyDescription() |
java.lang.String |
qualifiedTypeName() |
protected abstract com.fasterxml.classmate.ResolvedType |
realType() |
protected final com.fasterxml.jackson.databind.introspect.BeanPropertyDefinition jacksonProperty
protected final com.google.common.base.Optional<com.fasterxml.jackson.annotation.JsonFormat> jsonFormatAnnotation
protected final com.fasterxml.classmate.TypeResolver resolver
protected final springfox.documentation.spi.schema.AlternateTypeProvider alternateTypeProvider
public BaseModelProperty(java.lang.String name,
com.fasterxml.classmate.TypeResolver resolver,
springfox.documentation.spi.schema.AlternateTypeProvider alternateTypeProvider,
com.fasterxml.jackson.databind.introspect.BeanPropertyDefinition jacksonProperty)
protected abstract com.fasterxml.classmate.ResolvedType realType()
public com.fasterxml.classmate.ResolvedType getType()
getType in interface ModelPropertypublic java.lang.String getName()
getName in interface ModelPropertypublic java.lang.String qualifiedTypeName()
qualifiedTypeName in interface ModelPropertypublic springfox.documentation.service.AllowableValues allowableValues()
allowableValues in interface ModelPropertypublic boolean isRequired()
isRequired in interface ModelPropertypublic boolean isReadOnly()
isReadOnly in interface ModelPropertypublic java.lang.String propertyDescription()
propertyDescription in interface ModelPropertypublic int position()
position in interface ModelPropertypublic java.lang.String example()