org.usergrid.tools.apidoc.swagger
Class ApiParam

java.lang.Object
  extended by org.usergrid.tools.apidoc.swagger.ApiParam

public class ApiParam
extends Object


Constructor Summary
ApiParam()
           
 
Method Summary
 Element createWADLParam(Document doc, ApiOperation operation)
           
 String getAccess()
           
 ApiParamAllowableValues getAllowableValues()
           
 String getDataType()
           
 String getDefaultValue()
           
 String getDescription()
           
 String getName()
           
 String getParamType()
           
 Boolean isAllowMultiple()
           
 Boolean isRequired()
           
 void setAccess(String access)
           
 void setAllowableValues(ApiParamAllowableValues allowableValues)
           
 void setAllowMultiple(Boolean allowMultiple)
           
 void setDataType(String dataType)
           
 void setDefaultValue(String defaultValue)
           
 void setDescription(String description)
           
 void setName(String name)
           
 void setParamType(String paramType)
           
 void setRequired(Boolean required)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ApiParam

public ApiParam()
Method Detail

getName

public String getName()

setName

public void setName(String name)

getDataType

public String getDataType()

setDataType

public void setDataType(String dataType)

getDescription

public String getDescription()

setDescription

public void setDescription(String description)

getDefaultValue

public String getDefaultValue()

setDefaultValue

public void setDefaultValue(String defaultValue)

getAllowableValues

public ApiParamAllowableValues getAllowableValues()

setAllowableValues

public void setAllowableValues(ApiParamAllowableValues allowableValues)

isRequired

public Boolean isRequired()

setRequired

public void setRequired(Boolean required)

getAccess

public String getAccess()

setAccess

public void setAccess(String access)

isAllowMultiple

public Boolean isAllowMultiple()

setAllowMultiple

public void setAllowMultiple(Boolean allowMultiple)

getParamType

public String getParamType()

setParamType

public void setParamType(String paramType)

toString

public String toString()
Overrides:
toString in class Object

createWADLParam

public Element createWADLParam(Document doc,
                               ApiOperation operation)


Copyright © 2012. All Rights Reserved.