com.smartbear.swagger4j.impl
Class ParameterImpl
java.lang.Object
com.smartbear.swagger4j.impl.ParameterImpl
- All Implemented Interfaces:
- Parameter
public class ParameterImpl
- extends Object
- implements Parameter
Default implementation of the Parameter interface
- See Also:
Parameter
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getParamType
public Parameter.ParamType getParamType()
- Specified by:
getParamType
in interface Parameter
setParamType
public void setParamType(Parameter.ParamType paramType)
- Specified by:
setParamType
in interface Parameter
getName
public String getName()
- Specified by:
getName
in interface Parameter
setName
public void setName(String name)
- Specified by:
setName
in interface Parameter
getDescription
public String getDescription()
- Specified by:
getDescription
in interface Parameter
setDescription
public void setDescription(String description)
- Specified by:
setDescription
in interface Parameter
isRequired
public boolean isRequired()
- Specified by:
isRequired
in interface Parameter
setRequired
public void setRequired(boolean required)
- Specified by:
setRequired
in interface Parameter
getDataType
public String getDataType()
- Specified by:
getDataType
in interface Parameter
setDataType
public void setDataType(String dataType)
- Specified by:
setDataType
in interface Parameter
isAllowMultiple
public boolean isAllowMultiple()
- Specified by:
isAllowMultiple
in interface Parameter
setAllowMultiple
public void setAllowMultiple(boolean multiple)
- Specified by:
setAllowMultiple
in interface Parameter
Copyright © 2013. All Rights Reserved.