| 1 | |
package ca.uhn.hl7v2.conf.spec.usecase; |
| 2 | |
|
| 3 | |
|
| 4 | |
|
| 5 | |
|
| 6 | |
|
| 7 | |
public class UseCase { |
| 8 | |
|
| 9 | |
|
| 10 | |
private Actor actor; |
| 11 | |
|
| 12 | |
|
| 13 | 0 | private java.beans.PropertyChangeSupport propertyChangeSupport = new java.beans.PropertyChangeSupport(this); |
| 14 | |
|
| 15 | |
|
| 16 | 0 | private java.beans.VetoableChangeSupport vetoableChangeSupport = new java.beans.VetoableChangeSupport(this); |
| 17 | |
|
| 18 | |
|
| 19 | |
private PreCondition preCondition; |
| 20 | |
|
| 21 | |
|
| 22 | |
private PostCondition postCondition; |
| 23 | |
|
| 24 | |
|
| 25 | |
private EventFlow eventFlow; |
| 26 | |
|
| 27 | |
|
| 28 | |
private DerivativeEvent derivativeEvent; |
| 29 | |
|
| 30 | |
|
| 31 | 0 | public UseCase() { |
| 32 | 0 | } |
| 33 | |
|
| 34 | |
|
| 35 | |
|
| 36 | |
|
| 37 | |
public void addPropertyChangeListener(java.beans.PropertyChangeListener l) { |
| 38 | 0 | propertyChangeSupport.addPropertyChangeListener(l); |
| 39 | 0 | } |
| 40 | |
|
| 41 | |
|
| 42 | |
|
| 43 | |
|
| 44 | |
public void removePropertyChangeListener(java.beans.PropertyChangeListener l) { |
| 45 | 0 | propertyChangeSupport.removePropertyChangeListener(l); |
| 46 | 0 | } |
| 47 | |
|
| 48 | |
|
| 49 | |
|
| 50 | |
|
| 51 | |
public void addVetoableChangeListener(java.beans.VetoableChangeListener l) { |
| 52 | 0 | vetoableChangeSupport.addVetoableChangeListener(l); |
| 53 | 0 | } |
| 54 | |
|
| 55 | |
|
| 56 | |
|
| 57 | |
|
| 58 | |
public void removeVetoableChangeListener(java.beans.VetoableChangeListener l) { |
| 59 | 0 | vetoableChangeSupport.removeVetoableChangeListener(l); |
| 60 | 0 | } |
| 61 | |
|
| 62 | |
|
| 63 | |
|
| 64 | |
|
| 65 | |
public Actor getActor() { |
| 66 | 0 | return this.actor; |
| 67 | |
} |
| 68 | |
|
| 69 | |
|
| 70 | |
|
| 71 | |
|
| 72 | |
|
| 73 | |
|
| 74 | |
public void setActor(Actor actor) throws java.beans.PropertyVetoException { |
| 75 | 0 | Actor oldActor = this.actor; |
| 76 | 0 | vetoableChangeSupport.fireVetoableChange("actor", oldActor, actor); |
| 77 | 0 | this.actor = actor; |
| 78 | 0 | propertyChangeSupport.firePropertyChange("actor", oldActor, actor); |
| 79 | 0 | } |
| 80 | |
|
| 81 | |
|
| 82 | |
|
| 83 | |
|
| 84 | |
public PreCondition getPreCondition() { |
| 85 | 0 | return this.preCondition; |
| 86 | |
} |
| 87 | |
|
| 88 | |
|
| 89 | |
|
| 90 | |
|
| 91 | |
|
| 92 | |
|
| 93 | |
public void setPreCondition(PreCondition preCondition) throws java.beans.PropertyVetoException { |
| 94 | 0 | PreCondition oldPreCondition = this.preCondition; |
| 95 | 0 | vetoableChangeSupport.fireVetoableChange("preCondition", oldPreCondition, preCondition); |
| 96 | 0 | this.preCondition = preCondition; |
| 97 | 0 | propertyChangeSupport.firePropertyChange("preCondition", oldPreCondition, preCondition); |
| 98 | 0 | } |
| 99 | |
|
| 100 | |
|
| 101 | |
|
| 102 | |
|
| 103 | |
public PostCondition getPostCondition() { |
| 104 | 0 | return this.postCondition; |
| 105 | |
} |
| 106 | |
|
| 107 | |
|
| 108 | |
|
| 109 | |
|
| 110 | |
|
| 111 | |
|
| 112 | |
public void setPostCondition(PostCondition postCondition) throws java.beans.PropertyVetoException { |
| 113 | 0 | PostCondition oldPostCondition = this.postCondition; |
| 114 | 0 | vetoableChangeSupport.fireVetoableChange("postCondition", oldPostCondition, postCondition); |
| 115 | 0 | this.postCondition = postCondition; |
| 116 | 0 | propertyChangeSupport.firePropertyChange("postCondition", oldPostCondition, postCondition); |
| 117 | 0 | } |
| 118 | |
|
| 119 | |
|
| 120 | |
|
| 121 | |
|
| 122 | |
public EventFlow getEventFlow() { |
| 123 | 0 | return this.eventFlow; |
| 124 | |
} |
| 125 | |
|
| 126 | |
|
| 127 | |
|
| 128 | |
|
| 129 | |
|
| 130 | |
|
| 131 | |
public void setEventFlow(EventFlow eventFlow) throws java.beans.PropertyVetoException { |
| 132 | 0 | EventFlow oldEventFlow = this.eventFlow; |
| 133 | 0 | vetoableChangeSupport.fireVetoableChange("eventFlow", oldEventFlow, eventFlow); |
| 134 | 0 | this.eventFlow = eventFlow; |
| 135 | 0 | propertyChangeSupport.firePropertyChange("eventFlow", oldEventFlow, eventFlow); |
| 136 | 0 | } |
| 137 | |
|
| 138 | |
|
| 139 | |
|
| 140 | |
|
| 141 | |
public DerivativeEvent getDerivativeEvent() { |
| 142 | 0 | return this.derivativeEvent; |
| 143 | |
} |
| 144 | |
|
| 145 | |
|
| 146 | |
|
| 147 | |
|
| 148 | |
|
| 149 | |
|
| 150 | |
public void setDerivativeEvent(DerivativeEvent derivativeEvent) throws java.beans.PropertyVetoException { |
| 151 | 0 | DerivativeEvent oldDerivativeEvent = this.derivativeEvent; |
| 152 | 0 | vetoableChangeSupport.fireVetoableChange("derivativeEvent", oldDerivativeEvent, derivativeEvent); |
| 153 | 0 | this.derivativeEvent = derivativeEvent; |
| 154 | 0 | propertyChangeSupport.firePropertyChange("derivativeEvent", oldDerivativeEvent, derivativeEvent); |
| 155 | 0 | } |
| 156 | |
|
| 157 | |
} |