com.mangofactory.swagger.models
Class BeanModelProperty
java.lang.Object
com.mangofactory.swagger.models.BeanModelProperty
- All Implemented Interfaces:
- ModelProperty
public class BeanModelProperty
- extends Object
- implements ModelProperty
|
Constructor Summary |
BeanModelProperty(String propertyName,
com.fasterxml.classmate.members.ResolvedMethod method,
boolean isGetter,
com.fasterxml.classmate.TypeResolver typeResolver,
AlternateTypeProvider alternateTypeProvider)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BeanModelProperty
public BeanModelProperty(String propertyName,
com.fasterxml.classmate.members.ResolvedMethod method,
boolean isGetter,
com.fasterxml.classmate.TypeResolver typeResolver,
AlternateTypeProvider alternateTypeProvider)
getName
public String getName()
- Specified by:
getName in interface ModelProperty
setName
public void setName(String alias)
getType
public com.fasterxml.classmate.ResolvedType getType()
- Specified by:
getType in interface ModelProperty
typeName
public String typeName(ModelContext modelContext)
- Specified by:
typeName in interface ModelProperty
qualifiedTypeName
public String qualifiedTypeName()
- Specified by:
qualifiedTypeName in interface ModelProperty
allowableValues
public com.wordnik.swagger.model.AllowableValues allowableValues()
- Specified by:
allowableValues in interface ModelProperty
propertyDescription
public scala.Option<String> propertyDescription()
- Specified by:
propertyDescription in interface ModelProperty
isRequired
public boolean isRequired()
- Specified by:
isRequired in interface ModelProperty
accessorMemberIs
public static boolean accessorMemberIs(com.fasterxml.classmate.members.ResolvedMember method,
String methodName)
Copyright © May 2012-2014 The Mango Factory. All Rights Reserved.