public interface PQueryHeader
To be implemented both by IQuerySpecifications intended for end users,
and the internal query representation PQuery
.
Modifier and Type | Method and Description |
---|---|
java.util.List<PAnnotation> |
getAllAnnotations()
Returns the list of annotations specified for this query
|
java.util.List<PAnnotation> |
getAnnotationsByName(java.lang.String annotationName)
Returns the list of annotations with a specified name
|
java.util.Optional<PAnnotation> |
getFirstAnnotationByName(java.lang.String annotationName)
Returns the first annotation with a specified name
|
java.lang.String |
getFullyQualifiedName()
Identifies the pattern for which matchers can be instantiated.
|
default java.util.Optional<PParameter> |
getParameter(java.lang.String parameterName)
Returns a parameter by name if exists
|
java.util.List<java.lang.String> |
getParameterNames()
Return the list of parameter names
|
java.util.List<PParameter> |
getParameters()
Returns a list of parameter descriptions
|
java.lang.Integer |
getPositionOfParameter(java.lang.String parameterName)
Returns the index of a named parameter
|
default java.lang.String |
getSimpleName()
Returns the non-qualified name of the query.
|
PVisibility |
getVisibility()
Returns the visibility information about the query.
|
java.lang.String getFullyQualifiedName()
java.util.List<java.lang.String> getParameterNames()
java.util.List<PParameter> getParameters()
java.lang.Integer getPositionOfParameter(java.lang.String parameterName)
parameterName
- default java.util.Optional<PParameter> getParameter(java.lang.String parameterName)
java.util.List<PAnnotation> getAllAnnotations()
java.util.List<PAnnotation> getAnnotationsByName(java.lang.String annotationName)
annotationName
- java.util.Optional<PAnnotation> getFirstAnnotationByName(java.lang.String annotationName)
PVisibility getVisibility()
default java.lang.String getSimpleName()