001 package org.tynamo.descriptor.annotation;
002
003 import org.tynamo.descriptor.TynamoClassDescriptor;
004
005 public class ClassDescriptorAnnotationHandler extends AbstractAnnotationHandler implements DescriptorAnnotationHandler<ClassDescriptor, TynamoClassDescriptor>
006 {
007
008 public ClassDescriptorAnnotationHandler()
009 {
010 super();
011 // TODO Auto-generated constructor stub
012 }
013
014 public TynamoClassDescriptor decorateFromAnnotation(ClassDescriptor annotation, TynamoClassDescriptor descriptor)
015 {
016 /**
017 * !! This is how we get our properties migrated from our
018 * annotation to our property descriptor !!
019 */
020 setPropertiesFromAnnotation(annotation, descriptor);
021 return descriptor;
022 }
023
024
025 }