Author: michiel
Date: 2009-12-16 21:09:58 +0100 (Wed, 16 Dec 2009)
New Revision: 40267
Modified:
mmbase/trunk/core/src/main/java/org/mmbase/util/functions/BeanFunction.java
Log:
javadoc
Modified:
mmbase/trunk/core/src/main/java/org/mmbase/util/functions/BeanFunction.java
===================================================================
--- mmbase/trunk/core/src/main/java/org/mmbase/util/functions/BeanFunction.java
2009-12-16 19:28:28 UTC (rev 40266)
+++ mmbase/trunk/core/src/main/java/org/mmbase/util/functions/BeanFunction.java
2009-12-16 20:09:58 UTC (rev 40267)
@@ -19,16 +19,19 @@
import org.mmbase.util.logging.*;
/**
+ * <p>
* One or more functions based on a Java-bean. Every setter method of the bean
corresponds with one
* parameter. The default value of the parameter can be defined with the
getter method (which will
- * be called immediately after instantiation of such a Class).
- *
+ * be called immediately after instantiation of such a Class). So the
setters/getters define {...@link
+ * Parameter}s. More specific {...@link org.mmbase.datatypes.DataType}s can be
attributes to such
+ * parameters using the {...@link Type} annotation.
+ * </p><p>
* All other methods (with no arguments) of the class correspond to the
functions. So, you can
* implement more bean-functions in the same class, as long as they have the
same parameters.
- *
+ * </p><p>
* A BeanFunction can be aquired via {...@link
FunctionFactory#getFunction(Class, String)} (which
* delegates to a static method in this class).
- *
+ * </p>
* @author Michiel Meeuwissen
* @version $Id$
* @see org.mmbase.util.functions.MethodFunction
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs