org.codehaus.enunciate.contract.jaxrs
Class ExplicitResourceParameter

java.lang.Object
  extended by net.sf.jelly.apt.decorations.declaration.DecoratedDeclaration
      extended by org.codehaus.enunciate.contract.jaxrs.ResourceParameter
          extended by org.codehaus.enunciate.contract.jaxrs.ExplicitResourceParameter
All Implemented Interfaces:
com.sun.mirror.declaration.Declaration

public class ExplicitResourceParameter
extends ResourceParameter

A resource parameter with explicit values.

Author:
Ryan Heaton

Field Summary
 
Fields inherited from class org.codehaus.enunciate.contract.jaxrs.ResourceParameter
FORM_BEAN_ANNOTATIONS
 
Fields inherited from class net.sf.jelly.apt.decorations.declaration.DecoratedDeclaration
delegate, javaDoc
 
Constructor Summary
ExplicitResourceParameter(ResourceMethod method, java.lang.String docValue, java.lang.String paramName, ResourceParameterType type)
           
 
Method Summary
 java.lang.String getDefaultValue()
          The default value.
 java.lang.String getDocValue()
           
 java.lang.String getParameterName()
          The parameter name.
 java.lang.String getTypeName()
          The type of the parameter.
 boolean isCookieParam()
          Whether this is a cookie parameter.
 boolean isFormParam()
          Whether this is a form parameter.
 boolean isHeaderParam()
          Whether this is a header parameter.
 boolean isMatrixParam()
          Whether this is a matrix parameter.
 boolean isPathParam()
          Whether this is a path parameter.
 boolean isQueryParam()
          Whether this is a query parameter.
 
Methods inherited from class org.codehaus.enunciate.contract.jaxrs.ResourceParameter
getFormBeanParameters, getXmlType, isFormBeanParameter, isMultivalued, isResourceParameter, isSystemParameter
 
Methods inherited from class net.sf.jelly.apt.decorations.declaration.DecoratedDeclaration
accept, constructJavaDoc, equals, getAnnotation, getAnnotationMirrors, getAnnotations, getDelegate, getDocComment, getJavaDoc, getModifiers, getPosition, getSimpleName, isAbstract, isFinal, isNative, isPrivate, isProtected, isPublic, isStatic, isStrictfp, isSynchronized, isTransient, isVolatile, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExplicitResourceParameter

public ExplicitResourceParameter(ResourceMethod method,
                                 java.lang.String docValue,
                                 java.lang.String paramName,
                                 ResourceParameterType type)
Method Detail

getDocValue

public java.lang.String getDocValue()
Overrides:
getDocValue in class net.sf.jelly.apt.decorations.declaration.DecoratedDeclaration

getParameterName

public java.lang.String getParameterName()
Description copied from class: ResourceParameter
The parameter name.

Overrides:
getParameterName in class ResourceParameter
Returns:
The parameter name.

getDefaultValue

public java.lang.String getDefaultValue()
Description copied from class: ResourceParameter
The default value.

Overrides:
getDefaultValue in class ResourceParameter
Returns:
The default value.

isMatrixParam

public boolean isMatrixParam()
Description copied from class: ResourceParameter
Whether this is a matrix parameter.

Overrides:
isMatrixParam in class ResourceParameter
Returns:
Whether this is a matrix parameter.

isQueryParam

public boolean isQueryParam()
Description copied from class: ResourceParameter
Whether this is a query parameter.

Overrides:
isQueryParam in class ResourceParameter
Returns:
Whether this is a query parameter.

isPathParam

public boolean isPathParam()
Description copied from class: ResourceParameter
Whether this is a path parameter.

Overrides:
isPathParam in class ResourceParameter
Returns:
Whether this is a path parameter.

isCookieParam

public boolean isCookieParam()
Description copied from class: ResourceParameter
Whether this is a cookie parameter.

Overrides:
isCookieParam in class ResourceParameter
Returns:
Whether this is a cookie parameter.

isHeaderParam

public boolean isHeaderParam()
Description copied from class: ResourceParameter
Whether this is a header parameter.

Overrides:
isHeaderParam in class ResourceParameter
Returns:
Whether this is a header parameter.

isFormParam

public boolean isFormParam()
Description copied from class: ResourceParameter
Whether this is a form parameter.

Overrides:
isFormParam in class ResourceParameter
Returns:
Whether this is a form parameter.

getTypeName

public java.lang.String getTypeName()
Description copied from class: ResourceParameter
The type of the parameter.

Overrides:
getTypeName in class ResourceParameter
Returns:
The type of the parameter.