|
3.1.1: 2012-03-29 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.basedb.core.snapshot.AnnotationTypeFilter
public class AnnotationTypeFilter
Filter implementation that finds all annotation snapshots for a given annotation type.
| Field Summary | |
|---|---|
private int |
annotationTypeId
|
| Constructor Summary | |
|---|---|
AnnotationTypeFilter()
Create a filter that matches all annotation types. |
|
AnnotationTypeFilter(AnnotationType at)
Create a filter that matches a specfic annotation type. |
|
| Method Summary | |
|---|---|
boolean |
evaluate(AnnotationSnapshot snapshot)
Evaluate if the given object should pass the filter or not. |
void |
setAnnotationType(AnnotationType at)
Set the annotation type this filter should match. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private int annotationTypeId
| Constructor Detail |
|---|
public AnnotationTypeFilter()
public AnnotationTypeFilter(AnnotationType at)
| Method Detail |
|---|
public boolean evaluate(AnnotationSnapshot snapshot)
Filter
evaluate in interface Filter<AnnotationSnapshot>snapshot - The object to evaluate
public void setAnnotationType(AnnotationType at)
at - A specific annotation type, or null to match any annotation type
|
3.1.1: 2012-03-29 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||