org.sormula.annotation
Class WhereAnnotationReader

java.lang.Object
  extended by org.sormula.annotation.WhereAnnotationReader

public class WhereAnnotationReader
extends java.lang.Object

Reads Where annotations from a class.

Since:
1.3
Author:
Jeff Miller

Constructor Summary
WhereAnnotationReader(java.lang.Class<?>... sources)
          Constructs for classes that may contain the annotation.
WhereAnnotationReader(java.lang.Class<?> source)
          Deprecated. 
 
Method Summary
 Where getAnnotation(java.lang.String name)
          Gets annotation for a specific name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WhereAnnotationReader

public WhereAnnotationReader(java.lang.Class<?>... sources)
Constructs for classes that may contain the annotation.

Parameters:
sources - classes that contain Where or Wheres annotations
Since:
1.6 and 2.0

WhereAnnotationReader

@Deprecated
public WhereAnnotationReader(java.lang.Class<?> source)
Deprecated. 

Constructs for a class.

Parameters:
source - class that contains Where or Wheres annotations
Method Detail

getAnnotation

public Where getAnnotation(java.lang.String name)
Gets annotation for a specific name.

Parameters:
name - look for annotation where name equals Where.name()
Returns:
Where annotation or null if none found