com.smartbear.swagger4j.impl
Class ParameterImpl

java.lang.Object
  extended by 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

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.smartbear.swagger4j.Parameter
Parameter.ParamType
 
Method Summary
 String getDataType()
           
 String getDescription()
           
 String getName()
           
 Parameter.ParamType getParamType()
           
 boolean isAllowMultiple()
           
 boolean isRequired()
           
 void setAllowMultiple(boolean multiple)
           
 void setDataType(String dataType)
           
 void setDescription(String description)
           
 void setName(String name)
           
 void setParamType(Parameter.ParamType paramType)
           
 void setRequired(boolean required)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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.