|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FacetFactory
| Method Summary | |
|---|---|
NakedObjectFeatureType[] |
getFeatureTypes()
The feature types that this facet factory can create Facets for. |
boolean |
process(java.lang.Class<?> cls,
MethodRemover methodRemover,
FacetHolder holder)
Process the class, and return the correctly setup annotation if present. |
boolean |
process(java.lang.reflect.Method method,
MethodRemover methodRemover,
FacetHolder holder)
Process the method, and return the correctly setup annotation if present. |
boolean |
processParams(java.lang.reflect.Method method,
int paramNum,
FacetHolder holder)
Process the parameters of the method, and return the correctly setup annotation if present. |
| Method Detail |
|---|
NakedObjectFeatureType[] getFeatureTypes()
feature types that this facet factory can create Facets for.
Used by the Java5 Reflector's ProgrammingModel to reduce the number of factorys that are
queried when building up the meta-model.
boolean process(java.lang.Class<?> cls,
MethodRemover methodRemover,
FacetHolder holder)
cls - - class being processedmethodRemover - - allow any methods of the class to be removedholder - - to attach the facets to
boolean process(java.lang.reflect.Method method,
MethodRemover methodRemover,
FacetHolder holder)
method - - method representing the feature being processed (getter for property or collection, or
action)methodRemover - - allow any methods of the class to be removedholder - - to attach the facets to
boolean processParams(java.lang.reflect.Method method,
int paramNum,
FacetHolder holder)
method - - method representing the feature being processed (getter for property or collection, or
action)paramNum - - 0-based index to the parameter to be processed.holder - - to attach the facets to
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||