com.softwareag.centrasite.appl.framework.persistence.mapper.annotations.processors
Class DurationAnnotationProcessor

java.lang.Object
  extended by com.softwareag.centrasite.appl.framework.persistence.mapper.annotations.processors.DurationAnnotationProcessor
All Implemented Interfaces:
PropertyAnnotationProcessor

public class DurationAnnotationProcessor
extends java.lang.Object
implements PropertyAnnotationProcessor

PropertyAnnotationProcessor implementation handling the DurationAttribute annotation.


Constructor Summary
DurationAnnotationProcessor()
           
 
Method Summary
 Property getProperty(java.lang.annotation.Annotation mappingAnnotation, java.lang.reflect.Method getter, BeanType beanType)
          Creates a Property instance for the given annotaion.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DurationAnnotationProcessor

public DurationAnnotationProcessor()
Method Detail

getProperty

public Property getProperty(java.lang.annotation.Annotation mappingAnnotation,
                            java.lang.reflect.Method getter,
                            BeanType beanType)
Description copied from interface: PropertyAnnotationProcessor
Creates a Property instance for the given annotaion.

Specified by:
getProperty in interface PropertyAnnotationProcessor
Parameters:
mappingAnnotation - CSAF mapping annotation like Slot, Association etc.
getter - The method having the annnotation.
beanType - TODO
Returns:
Property instance