com.sun.jersey.api.model
Class Parameter
java.lang.Object
com.sun.jersey.api.model.Parameter
- All Implemented Interfaces:
- AnnotatedElement
public class Parameter
- extends Object
- implements AnnotatedElement
Abstraction for a method/constructor parameter
Constructor Summary |
Parameter(Annotation[] as,
Annotation a,
Parameter.Source source,
String sourceName,
Type type,
Class<?> clazz)
|
Parameter(Annotation[] as,
Annotation a,
Parameter.Source source,
String sourceName,
Type type,
Class<?> clazz,
boolean encoded)
|
Parameter(Annotation[] as,
Annotation a,
Parameter.Source source,
String sourceName,
Type type,
Class<?> clazz,
boolean encoded,
String defaultValue)
|
Parameter(Annotation[] as,
Annotation a,
Parameter.Source source,
String sourceName,
Type type,
Class<?> clazz,
String defaultValue)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Parameter
public Parameter(Annotation[] as,
Annotation a,
Parameter.Source source,
String sourceName,
Type type,
Class<?> clazz)
Parameter
public Parameter(Annotation[] as,
Annotation a,
Parameter.Source source,
String sourceName,
Type type,
Class<?> clazz,
boolean encoded)
Parameter
public Parameter(Annotation[] as,
Annotation a,
Parameter.Source source,
String sourceName,
Type type,
Class<?> clazz,
String defaultValue)
Parameter
public Parameter(Annotation[] as,
Annotation a,
Parameter.Source source,
String sourceName,
Type type,
Class<?> clazz,
boolean encoded,
String defaultValue)
getAnnotation
public Annotation getAnnotation()
getSource
public Parameter.Source getSource()
getSourceName
public String getSourceName()
isEncoded
public boolean isEncoded()
hasDefaultValue
public boolean hasDefaultValue()
getDefaultValue
public String getDefaultValue()
getParameterClass
public Class<?> getParameterClass()
getParameterType
public Type getParameterType()
isQualified
public boolean isQualified()
getAnnotation
public <T extends Annotation> T getAnnotation(Class<T> annotationType)
- Specified by:
getAnnotation
in interface AnnotatedElement
getAnnotations
public Annotation[] getAnnotations()
- Specified by:
getAnnotations
in interface AnnotatedElement
getDeclaredAnnotations
public Annotation[] getDeclaredAnnotations()
- Specified by:
getDeclaredAnnotations
in interface AnnotatedElement
isAnnotationPresent
public boolean isAnnotationPresent(Class<? extends Annotation> annotationType)
- Specified by:
isAnnotationPresent
in interface AnnotatedElement
Copyright © 2013 Oracle Corporation. All Rights Reserved.