public class ApiParamDoc extends AbstractDoc implements Comparable<ApiParamDoc>
| Modifier and Type | Field and Description |
|---|---|
String |
jsondocId |
jsondocerrors, jsondochints, jsondocwarnings| Constructor and Description |
|---|
ApiParamDoc(String name,
String description,
JSONDocType jsondocType,
String required,
String[] allowedvalues,
String format,
String defaultvalue) |
| Modifier and Type | Method and Description |
|---|---|
static ApiParamDoc |
buildFromAnnotation(ApiPathParam annotation,
JSONDocType jsondocType,
ApiParamType paramType) |
static ApiParamDoc |
buildFromAnnotation(ApiQueryParam annotation,
JSONDocType jsondocType,
ApiParamType paramType) |
int |
compareTo(ApiParamDoc o) |
boolean |
equals(Object obj) |
String[] |
getAllowedvalues() |
String |
getDefaultvalue() |
String |
getDescription() |
String |
getFormat() |
JSONDocType |
getJsondocType() |
String |
getName() |
String |
getRequired() |
int |
hashCode() |
void |
setAllowedvalues(String[] allowedvalues) |
void |
setDefaultvalue(String defaultvalue) |
void |
setDescription(String description) |
void |
setFormat(String format) |
void |
setName(String name) |
void |
setRequired(String required) |
addJsondocerror, addJsondochint, addJsondocwarning, getJsondocerrors, getJsondochints, getJsondocwarnings, setJsondocerrors, setJsondochints, setJsondocwarningspublic final String jsondocId
public static ApiParamDoc buildFromAnnotation(ApiPathParam annotation, JSONDocType jsondocType, ApiParamType paramType)
public static ApiParamDoc buildFromAnnotation(ApiQueryParam annotation, JSONDocType jsondocType, ApiParamType paramType)
public JSONDocType getJsondocType()
public String getName()
public String getDescription()
public String getRequired()
public String[] getAllowedvalues()
public String getFormat()
public void setName(String name)
public void setDescription(String description)
public void setRequired(String required)
public void setAllowedvalues(String[] allowedvalues)
public void setFormat(String format)
public String getDefaultvalue()
public void setDefaultvalue(String defaultvalue)
public int compareTo(ApiParamDoc o)
compareTo in interface Comparable<ApiParamDoc>Copyright © 2015. All rights reserved.