| 1 | |
package ca.uhn.hl7v2.conf.spec; |
| 2 | |
|
| 3 | |
|
| 4 | |
|
| 5 | |
|
| 6 | |
|
| 7 | |
public class ImpNote { |
| 8 | |
|
| 9 | |
|
| 10 | |
private String text; |
| 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 | 0 | public ImpNote() { |
| 20 | 0 | } |
| 21 | |
|
| 22 | |
|
| 23 | |
|
| 24 | |
|
| 25 | |
public void addPropertyChangeListener(java.beans.PropertyChangeListener l) { |
| 26 | 0 | propertyChangeSupport.addPropertyChangeListener(l); |
| 27 | 0 | } |
| 28 | |
|
| 29 | |
|
| 30 | |
|
| 31 | |
|
| 32 | |
public void removePropertyChangeListener(java.beans.PropertyChangeListener l) { |
| 33 | 0 | propertyChangeSupport.removePropertyChangeListener(l); |
| 34 | 0 | } |
| 35 | |
|
| 36 | |
|
| 37 | |
|
| 38 | |
|
| 39 | |
public void addVetoableChangeListener(java.beans.VetoableChangeListener l) { |
| 40 | 0 | vetoableChangeSupport.addVetoableChangeListener(l); |
| 41 | 0 | } |
| 42 | |
|
| 43 | |
|
| 44 | |
|
| 45 | |
|
| 46 | |
public void removeVetoableChangeListener(java.beans.VetoableChangeListener l) { |
| 47 | 0 | vetoableChangeSupport.removeVetoableChangeListener(l); |
| 48 | 0 | } |
| 49 | |
|
| 50 | |
|
| 51 | |
|
| 52 | |
|
| 53 | |
public String getText() { |
| 54 | 0 | return this.text; |
| 55 | |
} |
| 56 | |
|
| 57 | |
|
| 58 | |
|
| 59 | |
|
| 60 | |
|
| 61 | |
|
| 62 | |
public void setText(String text) throws java.beans.PropertyVetoException { |
| 63 | 0 | String oldText = this.text; |
| 64 | 0 | vetoableChangeSupport.fireVetoableChange("text", oldText, text); |
| 65 | 0 | this.text = text; |
| 66 | 0 | propertyChangeSupport.firePropertyChange("text", oldText, text); |
| 67 | 0 | } |
| 68 | |
|
| 69 | |
} |