public class Parameter extends Object implements org.springframework.core.Ordered
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
DEFAULT_PRECEDENCE |
| 构造器和说明 |
|---|
Parameter(String name,
String description,
String defaultValue,
boolean required,
boolean allowMultiple,
Boolean allowEmptyValue,
ModelReference modelRef,
com.google.common.base.Optional<com.fasterxml.classmate.ResolvedType> type,
AllowableValues allowableValues,
String paramType,
String paramAccess,
boolean hidden,
String pattern,
String collectionFormat,
int order,
Object scalarExample,
com.google.common.collect.Multimap<String,Example> examples,
List<VendorExtension> vendorExtensions) |
| 限定符和类型 | 方法和说明 |
|---|---|
AllowableValues |
getAllowableValues() |
String |
getCollectionFormat() |
String |
getDefaultValue() |
String |
getDescription() |
com.google.common.collect.Multimap<String,Example> |
getExamples() |
ModelReference |
getModelRef() |
String |
getName() |
int |
getOrder() |
String |
getParamAccess() |
String |
getParamType() |
String |
getPattern() |
Object |
getScalarExample() |
com.google.common.base.Optional<com.fasterxml.classmate.ResolvedType> |
getType() |
List<VendorExtension> |
getVendorExtentions() |
Boolean |
isAllowEmptyValue() |
Boolean |
isAllowMultiple() |
Boolean |
isHidden() |
Boolean |
isRequired() |
String |
toString() |
public static final int DEFAULT_PRECEDENCE
public Parameter(String name, String description, String defaultValue, boolean required, boolean allowMultiple, Boolean allowEmptyValue, ModelReference modelRef, com.google.common.base.Optional<com.fasterxml.classmate.ResolvedType> type, AllowableValues allowableValues, String paramType, String paramAccess, boolean hidden, String pattern, String collectionFormat, int order, Object scalarExample, com.google.common.collect.Multimap<String,Example> examples, List<VendorExtension> vendorExtensions)
public com.google.common.base.Optional<com.fasterxml.classmate.ResolvedType> getType()
public String getName()
public String getDescription()
public String getDefaultValue()
public Boolean isRequired()
public Boolean isAllowMultiple()
public AllowableValues getAllowableValues()
public String getParamType()
public String getParamAccess()
public ModelReference getModelRef()
public Boolean isHidden()
public String getPattern()
public List<VendorExtension> getVendorExtentions()
public String getCollectionFormat()
public Boolean isAllowEmptyValue()
public Object getScalarExample()
public int getOrder()
getOrder 在接口中 org.springframework.core.OrderedCopyright © 2023. All rights reserved.