org.metastopheles.annotation
Class AnnotationBasedMetaDataDecorator<T extends MetaDataObject,A extends Annotation>
java.lang.Object
org.metastopheles.annotation.AnnotationBasedMetaDataDecorator<T,A>
- All Implemented Interfaces:
- MetaDataDecorator<T>
public abstract class AnnotationBasedMetaDataDecorator<T extends MetaDataObject,A extends Annotation>
- extends Object
- implements MetaDataDecorator<T>
An annotation-based metadata decorator. Subclasses merely need to override the #{decorate} method.
- Since:
- 1.0
- Author:
- James Carman
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnnotationBasedMetaDataDecorator
public AnnotationBasedMetaDataDecorator(Class<A> annotationType)
decorate
protected abstract void decorate(T metaData,
Annotation annotation)
decorate
public void decorate(T metaData)
- Specified by:
decorate
in interface MetaDataDecorator<T extends MetaDataObject>
Copyright © 2011. All Rights Reserved.