org.apache.tapestry.enhance
Interface IEnhancedClass

All Known Implementing Classes:
BaseEnhancedClass, EnhancedClass

public interface IEnhancedClass

This interface represents a class to be enhanced. An implementation is generated by IEnhancedClassFactory and is specific to the selected system of enhancement.

Since:
3.0
Author:
Mindbridge

Method Summary
 void addEnhancer(IEnhancer enhancer)
          Adds an arbitrary enhancer.
 void createAutoParameter(String propertyName, String parameterName, String typeClassName, String readMethodName)
           
 Class createEnhancedSubclass()
           
 void createProperty(String propertyName, String propertyType)
          Adds an enhancer for creating the specified property.
 void createProperty(String propertyName, String propertyType, String readMethodName, boolean persistent)
           
 String getClassName()
           
 boolean hasModifications()
           
 

Method Detail

getClassName

String getClassName()

createProperty

void createProperty(String propertyName,
                    String propertyType)
Adds an enhancer for creating the specified property.


createProperty

void createProperty(String propertyName,
                    String propertyType,
                    String readMethodName,
                    boolean persistent)

createAutoParameter

void createAutoParameter(String propertyName,
                         String parameterName,
                         String typeClassName,
                         String readMethodName)

hasModifications

boolean hasModifications()

createEnhancedSubclass

Class createEnhancedSubclass()

addEnhancer

void addEnhancer(IEnhancer enhancer)
Adds an arbitrary enhancer.