org.objectweb.fractal.fraclet.annotation.generator.template
Class AttributeTemplate

java.lang.Object
  extended by org.objectweb.fractal.fraclet.annotation.generator.template.AttributeTemplate
All Implemented Interfaces:
spoon.template.Template

public class AttributeTemplate
extends Object
implements spoon.template.Template

A template code to manage the Attribute annotation. This template generate the actual interface for the Fractal component and use a subclass to introduce getter/setter.

Author:
Nicolas Pessemier

Field Summary
static String ATTRIBUTESUFFIX
           
 
Constructor Summary
AttributeTemplate(spoon.reflect.Factory spoonFactory, spoon.reflect.declaration.CtField<?> field)
          Constructor for AttributeTemplate This constructor is called from the Requires Processor
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ATTRIBUTESUFFIX

public static String ATTRIBUTESUFFIX
Constructor Detail

AttributeTemplate

public AttributeTemplate(spoon.reflect.Factory spoonFactory,
                         spoon.reflect.declaration.CtField<?> field)
Constructor for AttributeTemplate This constructor is called from the Requires Processor

Parameters:
spoonFactory - the spoon factory
field - the target field