1
2
3
4
5
6
7
8
9
10
11
12
13 package com.eviware.soapui.impl.wsdl.support.wsrm;
14
15 import com.eviware.soapui.impl.wsdl.WsdlOperation;
16 import com.eviware.soapui.impl.wsdl.support.soap.SoapVersion;
17
18 public class WsrmSequence
19 {
20 private String identifier;
21 private long lastMsgNumber;
22 private String uuid;
23 private SoapVersion soapVersion;
24 private String wsrmNameSpace;
25 private WsdlOperation operation;
26
27 public WsrmSequence( String identifier, String uuid, SoapVersion soapVersion, String namespace,
28 WsdlOperation operation )
29 {
30 this.identifier = identifier;
31 this.lastMsgNumber = 0;
32 this.soapVersion = soapVersion;
33 this.uuid = uuid;
34 this.setWsrmNameSpace( namespace );
35 this.setOperation( operation );
36 }
37
38 public String getIdentifier()
39 {
40 return identifier;
41 }
42
43 public long getLastMsgNumber()
44 {
45 return lastMsgNumber;
46 }
47
48 public long incrementLastMsgNumber()
49 {
50 lastMsgNumber++ ;
51 return lastMsgNumber;
52 }
53
54 public void setUuid( String uuid )
55 {
56 this.uuid = uuid;
57 }
58
59 public String getUuid()
60 {
61 return uuid;
62 }
63
64 public void setSoapVersion( SoapVersion soapVersion )
65 {
66 this.soapVersion = soapVersion;
67 }
68
69 public SoapVersion getSoapVersion()
70 {
71 return soapVersion;
72 }
73
74 public void setWsrmNameSpace( String wsrmNameSpace )
75 {
76 this.wsrmNameSpace = wsrmNameSpace;
77 }
78
79 public String getWsrmNameSpace()
80 {
81 return wsrmNameSpace;
82 }
83
84 public void setOperation( WsdlOperation operation )
85 {
86 this.operation = operation;
87 }
88
89 public WsdlOperation getOperation()
90 {
91 return operation;
92 }
93
94 }