01: /*
02: * $Id: ParamComboValueImpl.java,v 1.2 2007/03/12 10:46:14 agoubard Exp $
03: */
04: package com.mycompany.allinone.api;
05:
06: import com.mycompany.allinone.types.Salutation;
07:
08: /**
09: * Implementation of the <code>ParamComboValue</code> function.
10: *
11: * <p>Description: A function to test the param-combo based on a parameter value.
12: *
13: * @version $Revision: 1.2 $ $Date: 2007/03/12 10:46:14 $
14: * @author John Doe (<a href="mailto:john.doe@mycompany.com">john.doe@mycompany.com</a>)
15: */
16: public final class ParamComboValueImpl extends ParamComboValue {
17:
18: /**
19: * Constructs a new <code>ParamComboValueImpl</code> instance.
20: *
21: * @param api
22: * the API to which this function belongs, guaranteed to be not
23: * <code>null</code>.
24: */
25: public ParamComboValueImpl(APIImpl api) {
26: super (api);
27: }
28:
29: /**
30: * Calls this function. If the function fails, it may throw any kind of
31: * exception. All exceptions will be handled by the caller.
32: *
33: * @param request
34: * the request, never <code>null</code>.
35: *
36: * @return
37: * the result of the function call, should never be <code>null</code>.
38: *
39: * @throws Throwable
40: * if anything went wrong.
41: */
42: public Result call(Request request) throws Throwable {
43: SuccessfulResult result = new SuccessfulResult();
44: // TODO
45: return result;
46: }
47: }
|