1 19 20 package org.netbeans.modules.xml.wsdl.model; 21 22 import java.util.Collection ; 23 import javax.xml.namespace.QName ; 24 import org.netbeans.modules.xml.xam.Nameable; 25 26 31 public interface Definitions extends Nameable<WSDLComponent>, WSDLComponent { 32 public static String IMPORT_PROPERTY = "import"; 33 public static String BINDING_PROPERTY = "binding"; 34 public static String TYPES_PROPERTY = "types"; 35 public static String MESSAGE_PROPERTY = "message"; 36 public static String PORT_TYPE_PROPERTY = "portType"; 37 public static String SERVICE_PROPERTY = "service"; 38 public static String TARGET_NAMESPACE_PROPERTY = "targetNamespace"; 39 40 void addImport(Import importDefinition); 41 void removeImport(Import importDefinition); 42 Collection <Import> getImports(); 43 44 void setTypes(Types types); 45 Types getTypes(); 46 47 void addMessage(Message message); 48 void removeMessage(Message message); 49 Collection <Message> getMessages(); 50 51 void addPortType(PortType portType); 52 void removePortType(PortType portType); 53 Collection <PortType> getPortTypes(); 54 55 void addBinding(Binding binding); 56 void removeBinding(Binding binding); 57 Collection <Binding> getBindings(); 58 59 void addService(Service service); 60 void removeService(Service service); 61 Collection <Service> getServices(); 62 63 String getTargetNamespace(); 64 void setTargetNamespace(String uri); 65 66 72 String getAnyAttribute(QName attr); 73 74 80 void setAnyAttribute(QName attr, String value); 81 } 82 | Popular Tags |