public interface OperationParameter
Modifier and Type | Method and Description |
---|---|
<T extends Annotation> |
getAnnotation(Class<T> annotation)
Returns this element's annotation for the specified type if such an annotation is
present, else null.
|
String |
getName()
Returns the parameter name.
|
Class<?> |
getType()
Returns the parameter type.
|
boolean |
isMandatory()
Return if the parameter is mandatory (does not accept null values).
|
String getName()
Class<?> getType()
boolean isMandatory()
<T extends Annotation> T getAnnotation(Class<T> annotation)
T
- type of the annotationannotation
- class of the annotation