77 * @return null if no part is found |
79 * @return null if no part is found |
78 */ |
80 */ |
79 @Nullable WSDLPart getPart(@NotNull String partName, @NotNull Mode mode); |
81 @Nullable WSDLPart getPart(@NotNull String partName, @NotNull Mode mode); |
80 |
82 |
81 /** |
83 /** |
|
84 * Gets {@link ParameterBinding} for a given wsdl part in wsdl:input |
|
85 * |
|
86 * @param part Name of wsdl:part, must be non-null |
|
87 * @return null if the part is not found. |
|
88 */ |
|
89 public ParameterBinding getInputBinding(String part); |
|
90 |
|
91 /** |
|
92 * Gets {@link ParameterBinding} for a given wsdl part in wsdl:output |
|
93 * |
|
94 * @param part Name of wsdl:part, must be non-null |
|
95 * @return null if the part is not found. |
|
96 */ |
|
97 public ParameterBinding getOutputBinding(String part); |
|
98 |
|
99 /** |
|
100 * Gets {@link ParameterBinding} for a given wsdl part in wsdl:fault |
|
101 * |
|
102 * @param part Name of wsdl:part, must be non-null |
|
103 * @return null if the part is not found. |
|
104 */ |
|
105 public ParameterBinding getFaultBinding(String part); |
|
106 |
|
107 /** |
|
108 * Gets the MIME type for a given wsdl part in wsdl:input |
|
109 * |
|
110 * @param part Name of wsdl:part, must be non-null |
|
111 * @return null if the part is not found. |
|
112 */ |
|
113 public String getMimeTypeForInputPart(String part); |
|
114 |
|
115 /** |
|
116 * Gets the MIME type for a given wsdl part in wsdl:output |
|
117 * |
|
118 * @param part Name of wsdl:part, must be non-null |
|
119 * @return null if the part is not found. |
|
120 */ |
|
121 public String getMimeTypeForOutputPart(String part); |
|
122 |
|
123 /** |
|
124 * Gets the MIME type for a given wsdl part in wsdl:fault |
|
125 * |
|
126 * @param part Name of wsdl:part, must be non-null |
|
127 * @return null if the part is not found. |
|
128 */ |
|
129 public String getMimeTypeForFaultPart(String part); |
|
130 |
|
131 /** |
82 * Gets all inbound {@link WSDLPart} by its {@link WSDLPart#getName() name}. |
132 * Gets all inbound {@link WSDLPart} by its {@link WSDLPart#getName() name}. |
83 */ |
133 */ |
84 @NotNull Map<String,WSDLPart> getInParts(); |
134 @NotNull Map<String,? extends WSDLPart> getInParts(); |
85 |
135 |
86 /** |
136 /** |
87 * Gets all outbound {@link WSDLPart} by its {@link WSDLPart#getName() name}. |
137 * Gets all outbound {@link WSDLPart} by its {@link WSDLPart#getName() name}. |
88 */ |
138 */ |
89 @NotNull Map<String,WSDLPart> getOutParts(); |
139 @NotNull Map<String,? extends WSDLPart> getOutParts(); |
90 |
140 |
91 /** |
141 /** |
92 * Gets all the {@link WSDLFault} bound to this operation. |
142 * Gets all the {@link WSDLFault} bound to this operation. |
93 */ |
143 */ |
94 @NotNull Iterable<? extends WSDLBoundFault> getFaults(); |
144 @NotNull Iterable<? extends WSDLBoundFault> getFaults(); |
|
145 |
|
146 /** |
|
147 * Map of wsdl:input part name and the binding as {@link ParameterBinding} |
|
148 * |
|
149 * @return empty Map if there is no parts |
|
150 */ |
|
151 public Map<String, ParameterBinding> getInputParts(); |
|
152 |
|
153 /** |
|
154 * Map of wsdl:output part name and the binding as {@link ParameterBinding} |
|
155 * |
|
156 * @return empty Map if there is no parts |
|
157 */ |
|
158 public Map<String, ParameterBinding> getOutputParts(); |
|
159 |
|
160 /** |
|
161 * Map of wsdl:fault part name and the binding as {@link ParameterBinding} |
|
162 * |
|
163 * @return empty Map if there is no parts |
|
164 */ |
|
165 public Map<String, ParameterBinding> getFaultParts(); |
95 |
166 |
96 /** |
167 /** |
97 * Gets the payload QName of the request message. |
168 * Gets the payload QName of the request message. |
98 * |
169 * |
99 * <p> |
170 * <p> |
100 * It's possible for an operation to define no body part, in which case |
171 * It's possible for an operation to define no body part, in which case |
101 * this method returns null. |
172 * this method returns null. |
102 */ |
173 */ |
103 @Nullable QName getReqPayloadName(); |
174 @Nullable QName getRequestPayloadName(); |
104 |
175 |
105 /** |
176 /** |
106 * Gets the payload QName of the response message. |
177 * Gets the payload QName of the response message. |
107 * |
178 * |
108 * <p> |
179 * <p> |
109 * It's possible for an operation to define no body part, in which case |
180 * It's possible for an operation to define no body part, in which case |
110 * this method returns null. |
181 * this method returns null. |
111 */ |
182 */ |
112 @Nullable QName getResPayloadName(); |
183 @Nullable QName getResponsePayloadName(); |
113 |
184 |
114 /** |
185 /** |
115 * Gets the namespace of request payload. |
186 * Gets the namespace of request payload. |
116 */ |
187 */ |
117 String getRequestNamespace(); |
188 String getRequestNamespace(); |