Mercurial > repos > ganjoo > webservice_toolsuite
comparison WebServiceToolWorkflow/lib/SAWADLParser/src/javax/wadls/Method.java @ 0:e7482c82796e default tip
Migrated tool version 1.0.0 from old tool shed archive to new tool shed repository
| author | ganjoo |
|---|---|
| date | Tue, 07 Jun 2011 17:34:26 -0400 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:e7482c82796e |
|---|---|
| 1 /* | |
| 2 * (c) Copyright IBM Corp 2001, 2005 | |
| 3 */ | |
| 4 | |
| 5 package javax.wadls; | |
| 6 | |
| 7 import java.util.List; | |
| 8 import java.util.Map; | |
| 9 import org.w3c.dom.Element; | |
| 10 | |
| 11 | |
| 12 /** | |
| 13 * This interface represents a WSDL operation. | |
| 14 * It includes information on input, output and fault | |
| 15 * messages associated with usage of the operation. | |
| 16 * | |
| 17 * @author Zixin Wu (wuzixin@uga.edu) | |
| 18 * @author Paul Fremantle (pzf@us.ibm.com) | |
| 19 * @author Nirmal Mukhi (nmukhi@us.ibm.com) | |
| 20 * @author Matthew J. Duftler (duftler@us.ibm.com) | |
| 21 */ | |
| 22 public interface Method extends java.io.Serializable, ModelReferenceExtensible | |
| 23 { | |
| 24 | |
| 25 /** | |
| 26 * Set the precondition of this operation. | |
| 27 * | |
| 28 * @param preCondition the desired precondition | |
| 29 */ | |
| 30 public void setPreCondition(PreCondition preCondition); | |
| 31 | |
| 32 /** | |
| 33 * Get the precondition of this operation. | |
| 34 * | |
| 35 * @return the precondition | |
| 36 */ | |
| 37 public PreCondition getPreCondition(); | |
| 38 | |
| 39 /** | |
| 40 * Set the effect of this operation. | |
| 41 * | |
| 42 * @param effect the desired effect | |
| 43 */ | |
| 44 public void setEffect(Effect effect); | |
| 45 | |
| 46 /** | |
| 47 * Get the effect of this operation. | |
| 48 * | |
| 49 * @return The effect | |
| 50 */ | |
| 51 public Effect getEffect(); | |
| 52 | |
| 53 /** | |
| 54 * Set the name of this operation. | |
| 55 * | |
| 56 * @param name the desired name | |
| 57 */ | |
| 58 public void setName(String name); | |
| 59 | |
| 60 /** | |
| 61 * Get the name of this operation. | |
| 62 * | |
| 63 * @return the operation name | |
| 64 */ | |
| 65 public String getName(); | |
| 66 | |
| 67 /** | |
| 68 * Set the input message specification for this operation. | |
| 69 * | |
| 70 * @param input the new input message | |
| 71 */ | |
| 72 public void setRequest(Request request); | |
| 73 | |
| 74 /** | |
| 75 * Get the input message specification for this operation. | |
| 76 * | |
| 77 * @return the input message | |
| 78 */ | |
| 79 public Request getRequest(); | |
| 80 | |
| 81 /** | |
| 82 * Set the output message specification for this operation. | |
| 83 * | |
| 84 * @param output the new output message | |
| 85 */ | |
| 86 public void setResponse(Response response); | |
| 87 | |
| 88 /** | |
| 89 * Get the output message specification for this operation. | |
| 90 * | |
| 91 * @return the output message specification for the operation | |
| 92 */ | |
| 93 public Response getResponse(); | |
| 94 | |
| 95 | |
| 96 /** | |
| 97 * Set the style for this operation (request-response, | |
| 98 * one way, solicit-response or notification). | |
| 99 * | |
| 100 * @param style the new operation style | |
| 101 | |
| 102 /** | |
| 103 * Set the parameter ordering for a request-response, | |
| 104 * or solicit-response operation. | |
| 105 * | |
| 106 * @param parameterOrder a list of named parameters | |
| 107 * containing the part names to reflect the desired | |
| 108 * order of parameters for RPC-style operations | |
| 109 */ | |
| 110 public void setParameterOrdering(List parameterOrder); | |
| 111 | |
| 112 /** | |
| 113 * Get the parameter ordering for this operation. | |
| 114 * | |
| 115 * @return the parameter ordering, a list consisting | |
| 116 * of message part names | |
| 117 */ | |
| 118 public List getParameterOrdering(); | |
| 119 | |
| 120 /** | |
| 121 * Set the documentation element for this document. This dependency | |
| 122 * on org.w3c.dom.Element should eventually be removed when a more | |
| 123 * appropriate way of representing this information is employed. | |
| 124 * | |
| 125 * @param docEl the documentation element | |
| 126 */ | |
| 127 public void setDocumentationElement(Element docEl); | |
| 128 | |
| 129 /** | |
| 130 * Get the documentation element. This dependency on org.w3c.dom.Element | |
| 131 * should eventually be removed when a more appropriate way of | |
| 132 * representing this information is employed. | |
| 133 * | |
| 134 * @return the documentation element | |
| 135 */ | |
| 136 public Element getDocumentationElement(); | |
| 137 | |
| 138 public void setUndefined(boolean isUndefined); | |
| 139 | |
| 140 public boolean isUndefined(); | |
| 141 | |
| 142 } |
