Package org.exoplatform.services.rest
Interface Parameter
- All Known Subinterfaces:
ConstructorParameter,FieldInjector,MethodParameter
- All Known Implementing Classes:
ConstructorParameterImpl,FieldInjectorImpl,MethodParameterImpl
public interface Parameter
Abstraction of method's, constructor's parameter or object field.
- Version:
- $Id: $
- Author:
- Andrey Parfonov
-
Method Summary
-
Method Details
-
getAnnotations
Annotation[] getAnnotations()- Returns:
- addition annotation
-
getAnnotation
Annotation getAnnotation()- Returns:
- main annotation. It mind this annotation describe which
value will be used for initialize parameter, e. g.
PathParam,QueryParam, etc.
-
isEncoded
boolean isEncoded()- Returns:
- true if parameter must not be decoded false otherwise
-
getDefaultValue
String getDefaultValue()- Returns:
- default value for parameter
-
getGenericType
Type getGenericType()- Returns:
- generic parameter type
- See Also:
-
getParameterClass
Class<?> getParameterClass()- Returns:
- parameter class.
- See Also:
-