01: /*
02: * Definition.java
03: *
04: * Created on September 24, 2006, 5:54 PM
05: *
06: * To change this template, choose Tools | Template Manager
07: * and open the template in the editor.
08: */
09:
10: package org.netbeans.modules.e2e.api.wsdl;
11:
12: import java.util.Map;
13: import javax.xml.namespace.QName;
14: import org.netbeans.modules.e2e.api.schema.SchemaHolder;
15:
16: /**
17: *
18: * @author Michal Skvor
19: */
20: public interface Definition {
21:
22: public void setSchemaHolder(SchemaHolder schemaHolder);
23:
24: public SchemaHolder getSchemaHolder();
25:
26: public void addBinding(Binding binding);
27:
28: public Binding getBinding(String name);
29:
30: public Map<String, Binding> getBindings();
31:
32: public void addMessage(Message message);
33:
34: public Message getMessage(String name);
35:
36: public Map<String, Message> getMessages();
37:
38: public void addService(Service service);
39:
40: public Service getService(String name);
41:
42: public Map<String, Service> getServices();
43:
44: public void addPortType(PortType portType);
45:
46: public PortType getPortType(String name);
47:
48: public Map<String, PortType> getPortTypes();
49:
50: public void setDocumentation(String documentation);
51:
52: public String getDocumentation();
53:
54: public void setTargetNamespace(String targetNamespace);
55:
56: public String getTargetNamespace();
57: }
|