public class JsonSchemaClassMeta extends ClassMetaExtended
@JsonSchema
annotation on
the class.Constructor and Description |
---|
JsonSchemaClassMeta(ClassMeta<?> cm)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected JsonSchema |
getAnnotation()
Returns the
@JsonSchema annotation defined on the class. |
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. |
getClassMeta, getInnerClass
public JsonSchemaClassMeta(ClassMeta<?> cm)
cm
- The class that this annotation is defined on.protected JsonSchema getAnnotation()
@JsonSchema
annotation defined on the class.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.