org.tynamo.descriptor.annotation
Class AnnotationDecorator

java.lang.Object
  extended by org.tynamo.descriptor.annotation.AnnotationDecorator
All Implemented Interfaces:
DescriptorDecorator

public class AnnotationDecorator
extends Object
implements DescriptorDecorator

This class uses the annotations on a given class or property to modify its descriptor

Author:
Chris Nelson

Constructor Summary
AnnotationDecorator()
           
 
Method Summary
 TynamoClassDescriptor decorate(TynamoClassDescriptor descriptor)
           
protected  IMethodDescriptor decorateMethodDescriptor(IMethodDescriptor methodDescriptor)
           
protected  TynamoPropertyDescriptor decoratePropertyDescriptor(TynamoPropertyDescriptor propertyDescriptor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotationDecorator

public AnnotationDecorator()
Method Detail

decorate

public TynamoClassDescriptor decorate(TynamoClassDescriptor descriptor)
Specified by:
decorate in interface DescriptorDecorator

decoratePropertyDescriptor

protected TynamoPropertyDescriptor decoratePropertyDescriptor(TynamoPropertyDescriptor propertyDescriptor)

decorateMethodDescriptor

protected IMethodDescriptor decorateMethodDescriptor(IMethodDescriptor methodDescriptor)


Copyright © 2004-2009. All Rights Reserved.