1 16 package org.apache.wsdl.impl; 17 18 import org.apache.wsdl.WSDLBindingFault; 19 import org.apache.wsdl.WSDLBindingMessageReference; 20 import org.apache.wsdl.WSDLBindingOperation; 21 import org.apache.wsdl.WSDLOperation; 22 23 import javax.xml.namespace.QName ; 24 import java.util.LinkedList ; 25 import java.util.List ; 26 27 30 public class WSDLBindingOperationImpl extends ExtensibleComponentImpl 31 implements WSDLBindingOperation { 32 35 private QName name; 36 37 38 41 private List infaults = new LinkedList (); 42 43 46 private List outfaults = new LinkedList (); 47 48 51 private WSDLOperation operation; 52 53 56 private WSDLBindingMessageReference input; 57 58 61 private WSDLBindingMessageReference output; 62 63 68 public WSDLBindingMessageReference getInput() { 69 return input; 70 } 71 72 77 public void setInput(WSDLBindingMessageReference input) { 78 this.input = input; 79 } 80 81 86 public WSDLOperation getOperation() { 87 return operation; 88 } 89 90 95 public void setOperation(WSDLOperation operation) { 96 this.operation = operation; 97 } 98 99 104 public WSDLBindingMessageReference getOutput() { 105 return output; 106 } 107 108 113 public void setOutput(WSDLBindingMessageReference output) { 114 this.output = output; 115 } 116 117 122 public QName getName() { 123 return name; 124 } 125 126 131 public void setName(QName name) { 132 this.name = name; 133 } 134 135 139 public void addInFault(WSDLBindingFault inFault){ 140 this.infaults.add(inFault); 141 } 142 143 147 public void addOutFault(WSDLBindingFault outFault){ 148 this.outfaults.add(outFault); 149 } 150 151 152 public List getInfaults() { 153 return infaults; 154 } 155 public void setInfaults(List infaults) { 156 this.infaults = infaults; 157 } 158 public List getOutfaults() { 159 return outfaults; 160 } 161 public void setOutfaults(List outfaults) { 162 this.outfaults = outfaults; 163 } 164 } 165 | Popular Tags |