| 1 | |
package ca.uhn.hl7v2.conf.spec.message; |
| 2 | |
|
| 3 | |
import ca.uhn.hl7v2.conf.ProfileException; |
| 4 | |
|
| 5 | |
|
| 6 | |
|
| 7 | |
|
| 8 | |
|
| 9 | |
public class DataValue { |
| 10 | |
|
| 11 | |
|
| 12 | |
private String exValue; |
| 13 | |
|
| 14 | |
|
| 15 | 2910 | private java.beans.PropertyChangeSupport propertyChangeSupport = new java.beans.PropertyChangeSupport(this); |
| 16 | |
|
| 17 | |
|
| 18 | 2910 | private java.beans.VetoableChangeSupport vetoableChangeSupport = new java.beans.VetoableChangeSupport(this); |
| 19 | |
|
| 20 | |
|
| 21 | 2910 | public DataValue() { |
| 22 | 2910 | } |
| 23 | |
|
| 24 | |
|
| 25 | |
|
| 26 | |
|
| 27 | |
public void addPropertyChangeListener(java.beans.PropertyChangeListener l) { |
| 28 | 0 | propertyChangeSupport.addPropertyChangeListener(l); |
| 29 | 0 | } |
| 30 | |
|
| 31 | |
|
| 32 | |
|
| 33 | |
|
| 34 | |
public void removePropertyChangeListener(java.beans.PropertyChangeListener l) { |
| 35 | 0 | propertyChangeSupport.removePropertyChangeListener(l); |
| 36 | 0 | } |
| 37 | |
|
| 38 | |
|
| 39 | |
|
| 40 | |
|
| 41 | |
public void addVetoableChangeListener(java.beans.VetoableChangeListener l) { |
| 42 | 0 | vetoableChangeSupport.addVetoableChangeListener(l); |
| 43 | 0 | } |
| 44 | |
|
| 45 | |
|
| 46 | |
|
| 47 | |
|
| 48 | |
public void removeVetoableChangeListener(java.beans.VetoableChangeListener l) { |
| 49 | 0 | vetoableChangeSupport.removeVetoableChangeListener(l); |
| 50 | 0 | } |
| 51 | |
|
| 52 | |
|
| 53 | |
|
| 54 | |
|
| 55 | |
public String getExValue() { |
| 56 | 0 | return this.exValue; |
| 57 | |
} |
| 58 | |
|
| 59 | |
|
| 60 | |
|
| 61 | |
|
| 62 | |
|
| 63 | |
|
| 64 | |
public void setExValue(String exValue) throws ProfileException { |
| 65 | 2910 | String oldExValue = this.exValue; |
| 66 | |
try { |
| 67 | 2910 | vetoableChangeSupport.fireVetoableChange("exValue", oldExValue, exValue); |
| 68 | 0 | } catch (Exception e) { |
| 69 | 0 | throw new ProfileException(null, e); |
| 70 | 2910 | } |
| 71 | 2910 | this.exValue = exValue; |
| 72 | 2910 | propertyChangeSupport.firePropertyChange("exValue", oldExValue, exValue); |
| 73 | 2910 | } |
| 74 | |
|
| 75 | |
} |