01: package org.gomba;
02:
03: /**
04: * Reprensents a domain containing named parameters.
05: *
06: * @author Flavio Tordini
07: * @version $Id: ParameterDomain.java,v 1.2 2004/06/22 12:29:38 flaviotordini Exp $
08: */
09: public interface ParameterDomain {
10:
11: /**
12: * Get a parameter value.
13: *
14: * @return The value or <code>null</code> if no matching parameter is
15: * found.
16: */
17: public Object getParameterValue(ParameterResolver context,
18: ParameterDefinition parameter) throws Exception;
19:
20: /**
21: * @return The domain name.
22: */
23: public String getName();
24:
25: }
|