public class FieldModelProperty extends Object implements ModelProperty
| Constructor and Description |
|---|
FieldModelProperty(String name,
com.fasterxml.classmate.members.ResolvedField childField,
AlternateTypeProvider alternateTypeProvider) |
| Modifier and Type | Method and Description |
|---|---|
com.wordnik.swagger.model.AllowableValues |
allowableValues() |
String |
getName() |
com.fasterxml.classmate.ResolvedType |
getType() |
boolean |
isRequired() |
scala.Option<String> |
propertyDescription() |
String |
qualifiedTypeName() |
String |
typeName(ModelContext modelContext) |
public FieldModelProperty(String name, com.fasterxml.classmate.members.ResolvedField childField, AlternateTypeProvider alternateTypeProvider)
public String typeName(ModelContext modelContext)
typeName in interface ModelPropertypublic String qualifiedTypeName()
qualifiedTypeName in interface ModelPropertypublic com.wordnik.swagger.model.AllowableValues allowableValues()
allowableValues in interface ModelPropertypublic scala.Option<String> propertyDescription()
propertyDescription in interface ModelPropertypublic boolean isRequired()
isRequired in interface ModelPropertypublic String getName()
getName in interface ModelPropertypublic com.fasterxml.classmate.ResolvedType getType()
getType in interface ModelPropertyCopyright © May 2012-2014 The Mango Factory. All Rights Reserved.