PageRenderTime 13ms CodeModel.GetById 9ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/ws-tester-xor/ws-tester-xor-wsdl/src/main/java/com/googlecode/ws/tester/xor/wsdl/model/Part.java

http://ws-tester.googlecode.com/
Java | 49 lines | 34 code | 9 blank | 6 comment | 0 complexity | 902c1d061923d9face3b4174fa27abc3 MD5 | raw file
 1package com.googlecode.ws.tester.xor.wsdl.model;
 2
 3/**
 4 * Created by IntelliJ IDEA.
 5 * User: pablo
 6 * Date: 2009-06-09
 7 * Time: 20:03:46
 8 */
 9public class Part {
10
11    private Documentation documentation;
12    private String name;
13    private String element;
14
15    public Documentation getDocumentation() {
16        return documentation;
17    }
18
19    public void setDocumentation(Documentation documentation) {
20        this.documentation = documentation;
21    }
22
23    public String getName() {
24        return name;
25    }
26
27    public void setName(String name) {
28        this.name = name;
29    }
30
31    public String getElement() {
32        return element;
33    }
34
35    public void setElement(String element) {
36        this.element = element;
37    }
38
39    @Override
40    public String toString() {
41        final StringBuilder sb = new StringBuilder();
42        sb.append("Part");
43        sb.append("{documentation=").append(documentation);
44        sb.append(", name='").append(name).append('\'');
45        sb.append(", element='").append(element).append('\'');
46        sb.append('}');
47        return sb.toString();
48    }
49}