org.loom.annotation.processor
Class ColumnAnnotationProcessor

java.lang.Object
  extended by org.loom.annotation.processor.AbstractAnnotationProcessor
      extended by org.loom.annotation.processor.AbstractPropertyAnnotationProcessor<javax.persistence.Column,javax.persistence.Column>
          extended by org.loom.annotation.processor.ColumnAnnotationProcessor
All Implemented Interfaces:
java.lang.Comparable<AnnotationProcessor>, AnnotationProcessor

public class ColumnAnnotationProcessor
extends AbstractPropertyAnnotationProcessor<javax.persistence.Column,javax.persistence.Column>

Processes JPA annotations. This processor will look inside any class that has been annotated with NestedAnnotations and add validators corresponding to the metadata that is used to generate the database. Basic and Column are supported.


Constructor Summary
ColumnAnnotationProcessor()
           
 
Method Summary
protected  void process(Event event, javax.persistence.Column column, java.lang.String propertyPath)
          Process a single annotation.
 
Methods inherited from class org.loom.annotation.processor.AbstractPropertyAnnotationProcessor
process, setPropertyWrapperFactory
 
Methods inherited from class org.loom.annotation.processor.AbstractAnnotationProcessor
compareTo, getOrder
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColumnAnnotationProcessor

public ColumnAnnotationProcessor()
Method Detail

process

protected void process(Event event,
                       javax.persistence.Column column,
                       java.lang.String propertyPath)
Description copied from class: AbstractPropertyAnnotationProcessor
Process a single annotation. This method gets invoked once per annotated property or for eaxch value inside a multiple annotation

Specified by:
process in class AbstractPropertyAnnotationProcessor<javax.persistence.Column,javax.persistence.Column>
Parameters:
event - the Event that is being processed
column - the annotation that should be processed
propertyPath - the property that is annotated with a single or multiple annotation