1
2
3
4
5
6
7
8
9
10
11
12
13 package com.eviware.soapui.model.iface;
14
15 import com.eviware.soapui.impl.support.DefinitionContext;
16 import com.eviware.soapui.model.ModelItem;
17 import com.eviware.soapui.model.project.Project;
18
19 import java.util.List;
20
21 /***
22 * An Interface exposing operations
23 *
24 * @author Ole.Matzura
25 */
26
27 public interface Interface extends ModelItem
28 {
29 public final static String ENDPOINT_PROPERTY = Interface.class.getName() + "@endpoint";
30
31 public final static String DEFINITION_PROPERTY = Interface.class.getName() + "@definition";
32
33 public final static String UPDATING_PROPERTY = Interface.class.getName() + "@updating";
34
35 public String[] getEndpoints();
36
37 public Operation getOperationAt(int index);
38
39 public int getOperationCount();
40
41 public Operation getOperationByName(String name);
42
43 public Project getProject();
44
45 public void addInterfaceListener(InterfaceListener listener);
46
47 public void removeInterfaceListener(InterfaceListener listener);
48
49 public String getTechnicalId();
50
51 public List<Operation> getOperationList();
52
53 public String getInterfaceType();
54
55 public void addEndpoint(String endpoint);
56
57 public void removeEndpoint(String ep);
58
59 public void changeEndpoint(String endpoint, String string);
60
61 public DefinitionContext getDefinitionContext();
62 }