blob: c50e2c41b3abb7ffdf49a1208ceeb5e3f336fd95 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
|
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.6
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2012.09.14 at 05:06:42 PM MST
//
package org.eclipse.osee.framework.messaging.event.res.msgs;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import org.eclipse.osee.framework.core.data.BranchId;
import org.eclipse.osee.framework.jdk.core.util.Strings;
import org.eclipse.osee.framework.messaging.event.res.RemoteEvent;
/**
* <p>
* Java class for RemoteBranchEvent1 complex type.
* <p>
* The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="RemoteBranchEvent1">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="eventTypeGuid" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="branchGuid" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="destinationBranchGuid" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="networkSender" type="{}RemoteNetworkSender1"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "RemoteBranchEvent1", propOrder = {
"eventTypeGuid",
"branchGuid",
"destinationBranchGuid",
"networkSender"})
public class RemoteBranchEvent1 extends RemoteEvent {
@XmlElement(required = true)
protected String eventTypeGuid;
@XmlElement(required = true)
protected String branchGuid;
protected String destinationBranchGuid;
@XmlElement(required = true)
protected RemoteNetworkSender1 networkSender;
/**
* Gets the value of the eventTypeGuid property.
*
* @return possible object is {@link String }
*/
public String getEventTypeGuid() {
return eventTypeGuid;
}
/**
* Sets the value of the eventTypeGuid property.
*
* @param value allowed object is {@link String }
*/
public void setEventTypeGuid(String value) {
this.eventTypeGuid = value;
}
public String getBranchGuid() {
return branchGuid;
}
public BranchId getBranch() {
return BranchId.valueOf(branchGuid);
}
public void setBranch(BranchId banch) {
this.branchGuid = banch.getIdString();
}
public String getDestinationBranchGuid() {
return destinationBranchGuid;
}
public BranchId getDestinationBranch() {
return Strings.isNumeric(destinationBranchGuid) ? BranchId.valueOf(destinationBranchGuid) : null;
}
public void setDestinationBranch(BranchId branch) {
this.destinationBranchGuid = branch == null ? null : branch.getIdString();
}
/**
* Gets the value of the networkSender property.
*
* @return possible object is {@link RemoteNetworkSender1 }
*/
@Override
public RemoteNetworkSender1 getNetworkSender() {
return networkSender;
}
/**
* Sets the value of the networkSender property.
*
* @param value allowed object is {@link RemoteNetworkSender1 }
*/
public void setNetworkSender(RemoteNetworkSender1 value) {
this.networkSender = value;
}
}
|