public class ParamMetadata extends Object
| Constructor and Description |
|---|
ParamMetadata() |
ParamMetadata(OptionsCapable context,
Type paramType,
String name,
Annotation[] annotations) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getDefaultValue() |
String |
getHelp() |
String |
getName() |
Type |
getType() |
protected String |
getTypeString() |
void |
setDefaultValue(Object defaultValue) |
void |
setHelp(String help) |
void |
setName(String name) |
void |
setType(Type type) |
org.codehaus.jettison.json.JSONObject |
toJson() |
String |
toString() |
public ParamMetadata()
public ParamMetadata(OptionsCapable context, Type paramType, String name, Annotation[] annotations)
public String getName()
public void setName(String name)
public Type getType()
public void setType(Type type)
public String getHelp()
public void setHelp(String help)
public Object getDefaultValue()
public void setDefaultValue(Object defaultValue)
public org.codehaus.jettison.json.JSONObject toJson()
throws org.codehaus.jettison.json.JSONException
org.codehaus.jettison.json.JSONExceptionprotected String getTypeString()
Copyright © 2017. All rights reserved.