Statistics
| Revision:

gvsig-vectorediting / org.gvsig.vectorediting / trunk / org.gvsig.vectorediting / org.gvsig.vectorediting.lib / org.gvsig.vectorediting.lib.api / src / main / java / org / gvsig / vectorediting / lib / api / EditingServiceParameter.java @ 73

History | View | Annotate | Download (1.01 KB)

1
/*
2
 * Copyright 2014 DiSiD Technologies S.L.L. All rights reserved.
3
 *
4
 * Project  : DiSiD org.gvsig.vectorediting.lib.api
5
 * SVN Id   : $Id$
6
 */
7
package org.gvsig.vectorediting.lib.api;
8

    
9
import java.util.List;
10

    
11
import org.gvsig.fmap.geom.Geometry;
12

    
13
/**
14
 * 
15
 * @author gvSIG team.
16
 *
17
 */
18
public interface EditingServiceParameter {
19

    
20
  public enum TYPE {
21
    POSITION, LIST_POSITIONS, OPTION, VALUE, SELECTION, GEOMETRY
22
  }
23

    
24
  /**
25
   * Gets a list of parameter {@link Geometry.TYPES}. 
26
   * 
27
   * @return A <code> List </code> of parameter types.
28
   */
29
  public List<TYPE> getTypes();
30

    
31
  /**
32
   * Gets a name of parameter.
33
   * 
34
   * @return Parameter name
35
   */
36
  public String getName();
37

    
38
  /**
39
   * Gets a description of parameter. Description is used to show a message on
40
   * console.
41
   * 
42
   * @return Description parameter.
43
   */
44
  public String getDescription();
45

    
46
  /**
47
   * Sets description. This method is called when a service has to change
48
   * console message.
49
   */
50
  public void setDescription(String newDescription);
51
}