01: /*
02: * PartImpl.java
03: *
04: * Created on September 24, 2006, 5:38 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 javax.xml.namespace.QName;
13: import org.netbeans.modules.e2e.api.wsdl.Part;
14:
15: /**
16: *
17: * @author Michal Skvor
18: */
19: public class PartImpl implements Part {
20:
21: private String name;
22: private QName typeName;
23: private QName elementName;
24:
25: /** Creates a new instance of PartImpl */
26: public PartImpl(String name, QName typeName, QName elementName) {
27: this .name = name;
28: this .typeName = typeName;
29: this .elementName = elementName;
30: }
31:
32: public void setName(String name) {
33: this .name = name;
34: }
35:
36: public String getName() {
37: return name;
38: }
39:
40: public void setTypeName(QName typeName) {
41: this .typeName = typeName;
42: }
43:
44: public QName getTypeName() {
45: return typeName;
46: }
47:
48: public void setElementName(QName elementName) {
49: this .elementName = elementName;
50: }
51:
52: public QName getElementName() {
53: return elementName;
54: }
55:
56: }
|