01: /*
02: * FaultImpl.java
03: *
04: * Created on September 24, 2006, 5:32 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.wsdl;
11:
12: import org.netbeans.modules.e2e.api.wsdl.Fault;
13: import org.netbeans.modules.e2e.api.wsdl.Message;
14:
15: /**
16: *
17: * @author Michal Skvor
18: */
19: public class FaultImpl implements Fault {
20:
21: private String name;
22: private Message message;
23:
24: /** Creates a new instance of FaultImpl */
25: public FaultImpl(String name, Message message) {
26: this .name = name;
27: this .message = message;
28: }
29:
30: public void setName(String name) {
31: this .name = name;
32: }
33:
34: public String getName() {
35: return name;
36: }
37:
38: public void setMessage(Message message) {
39: this .message = message;
40: }
41:
42: public Message getMessage() {
43: return message;
44: }
45:
46: }
|