public class OrderByAnnotationReader
extends java.lang.Object
OrderBy
annotations from a class.Constructor and Description |
---|
OrderByAnnotationReader(java.lang.Class<?>... sources)
Constructs for classes that may contain the annotation.
|
Modifier and Type | Method and Description |
---|---|
OrderBy |
getAnnotation(java.lang.String name)
Gets annotation for a specific name.
|
public OrderByAnnotationReader(java.lang.Class<?>... sources)
sources
- classes that contain OrderBy
annotationpublic OrderBy getAnnotation(java.lang.String name)
name
- look for annotation where name equals OrderBy.name()