1 package org.lsst.ccs.command;
2
3 import java.io.Serializable;
4 import java.util.List;
5
6 /**
7 * Encapsulate the dictionary information about a single argument.
8 * If the parameter is an Enum, we capture the list of legal values (we
9 * do not want to require that the Enum class itself be available in a remote
10 * client).
11 * @author tonyj
12 */
13 public interface DictionaryArgument extends Serializable {
14
15 String getDescription();
16
17 String getName();
18
19 /**
20 * Get the simple type of this parameter
21 * @return The simple type (e.g. String)
22 */
23 String getSimpleType();
24
25 /**
26 * Get the type of this parameter
27 * @return The full canonical type (e.g. java.lang.String)
28 */
29 String getType();
30
31 List<String> getValues();
32
33 }