org.tynamo.descriptor.annotation
Class InitialValueAnnotationHandler
java.lang.Object
org.tynamo.descriptor.annotation.AbstractAnnotationHandler
org.tynamo.descriptor.annotation.InitialValueAnnotationHandler
- All Implemented Interfaces:
- DescriptorAnnotationHandler<InitialValue,TynamoPropertyDescriptor>
public class InitialValueAnnotationHandler
- extends AbstractAnnotationHandler
- implements DescriptorAnnotationHandler<InitialValue,TynamoPropertyDescriptor>
Creates a InitialValueDescriptorExtension using the
information retrieved from a InitialValue annotation.
- Author:
- pruggia
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InitialValueAnnotationHandler
public InitialValueAnnotationHandler()
decorateFromAnnotation
public TynamoPropertyDescriptor decorateFromAnnotation(InitialValue annotation,
TynamoPropertyDescriptor descriptor)
- Creates a
InitialValueDescriptorExtension and adds it to
the property descriptor.
- Specified by:
decorateFromAnnotation in interface DescriptorAnnotationHandler<InitialValue,TynamoPropertyDescriptor>
- Parameters:
annotation - Annotation added to the property. It cannot be null.descriptor - The property descriptor. It cannot be null.
- Returns:
- The provided descriptor with the extension added.
Copyright © 2004-2009. All Rights Reserved.