KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > mmbase > util > functions > FunctionSet


1 /*
2
3 This software is OSI Certified Open Source Software.
4 OSI Certified is a certification mark of the Open Source Initiative.
5
6 The license (Mozilla version 1.0) can be read at the MMBase site.
7 See http://www.MMBase.org/license
8
9 */

10 package org.mmbase.util.functions;
11
12 import java.util.*;
13
14 /**
15  * The implementation of one set ('namespace') of functions. This is actually just a named FunctionProvider.
16  *
17  * @see FunctionSets
18  * @author Daniel Ockeloen
19  * @author Michiel Meeuwissen
20  * @version $Id: FunctionSet.java,v 1.8 2005/12/10 11:47:41 michiel Exp $
21  * @since MMBase-1.8
22  */

23 public class FunctionSet extends FunctionProvider {
24
25     private String JavaDoc name;
26     private String JavaDoc description;
27
28     public FunctionSet(String JavaDoc name, String JavaDoc description) {
29         this.name = name;
30         this.description = description;
31     }
32
33     public String JavaDoc getName() {
34         return name;
35     }
36
37     public String JavaDoc getDescription() {
38         return description;
39     }
40
41     public void setDescription(String JavaDoc description) {
42         this.description = description;
43     }
44
45 }
46
Popular Tags