Coverage Report - ca.uhn.hl7v2.conf.spec.usecase.UseCase
 
Classes in this File Line Coverage Branch Coverage Complexity
UseCase
0%
0/42
N/A
1
 
 1  
 package ca.uhn.hl7v2.conf.spec.usecase;
 2  
 
 3  
 /**
 4  
  * The use case portion of a conformance specification.  
 5  
  * @author Bryan Tripp
 6  
  */
 7  
 public class UseCase {
 8  
     
 9  
     /** Holds value of property actor. */
 10  
     private Actor actor;
 11  
     
 12  
     /** Utility field used by bound properties. */
 13  0
     private java.beans.PropertyChangeSupport propertyChangeSupport =  new java.beans.PropertyChangeSupport(this);
 14  
     
 15  
     /** Utility field used by constrained properties. */
 16  0
     private java.beans.VetoableChangeSupport vetoableChangeSupport =  new java.beans.VetoableChangeSupport(this);
 17  
     
 18  
     /** Holds value of property preCondition. */
 19  
     private PreCondition preCondition;
 20  
     
 21  
     /** Holds value of property postCondition. */
 22  
     private PostCondition postCondition;
 23  
     
 24  
     /** Holds value of property eventFlow. */
 25  
     private EventFlow eventFlow;
 26  
     
 27  
     /** Holds value of property derivativeEvent. */
 28  
     private DerivativeEvent derivativeEvent;
 29  
     
 30  
     /** Creates a new instance of UseCase */
 31  0
     public UseCase() {
 32  0
     }
 33  
     
 34  
     /** Adds a PropertyChangeListener to the listener list.
 35  
      * @param l The listener to add.
 36  
      */
 37  
     public void addPropertyChangeListener(java.beans.PropertyChangeListener l) {
 38  0
         propertyChangeSupport.addPropertyChangeListener(l);
 39  0
     }
 40  
     
 41  
     /** Removes a PropertyChangeListener from the listener list.
 42  
      * @param l The listener to remove.
 43  
      */
 44  
     public void removePropertyChangeListener(java.beans.PropertyChangeListener l) {
 45  0
         propertyChangeSupport.removePropertyChangeListener(l);
 46  0
     }
 47  
     
 48  
     /** Adds a VetoableChangeListener to the listener list.
 49  
      * @param l The listener to add.
 50  
      */
 51  
     public void addVetoableChangeListener(java.beans.VetoableChangeListener l) {
 52  0
         vetoableChangeSupport.addVetoableChangeListener(l);
 53  0
     }
 54  
     
 55  
     /** Removes a VetoableChangeListener from the listener list.
 56  
      * @param l The listener to remove.
 57  
      */
 58  
     public void removeVetoableChangeListener(java.beans.VetoableChangeListener l) {
 59  0
         vetoableChangeSupport.removeVetoableChangeListener(l);
 60  0
     }
 61  
     
 62  
     /** Getter for property actor.
 63  
      * @return Value of property actor.
 64  
      */
 65  
     public Actor getActor() {
 66  0
         return this.actor;
 67  
     }
 68  
     
 69  
     /** Setter for property actor.
 70  
      * @param actor New value of property actor.
 71  
      *
 72  
      * @throws PropertyVetoException
 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  
     /** Getter for property preCondition.
 82  
      * @return Value of property preCondition.
 83  
      */
 84  
     public PreCondition getPreCondition() {
 85  0
         return this.preCondition;
 86  
     }
 87  
     
 88  
     /** Setter for property preCondition.
 89  
      * @param preCondition New value of property preCondition.
 90  
      *
 91  
      * @throws PropertyVetoException
 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  
     /** Getter for property postCondition.
 101  
      * @return Value of property postCondition.
 102  
      */
 103  
     public PostCondition getPostCondition() {
 104  0
         return this.postCondition;
 105  
     }
 106  
     
 107  
     /** Setter for property postCondition.
 108  
      * @param postCondition New value of property postCondition.
 109  
      *
 110  
      * @throws PropertyVetoException
 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  
     /** Getter for property eventFlow.
 120  
      * @return Value of property eventFlow.
 121  
      */
 122  
     public EventFlow getEventFlow() {
 123  0
         return this.eventFlow;
 124  
     }
 125  
     
 126  
     /** Setter for property eventFlow.
 127  
      * @param eventFlow New value of property eventFlow.
 128  
      *
 129  
      * @throws PropertyVetoException
 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  
     /** Getter for property derivativeEvent.
 139  
      * @return Value of property derivativeEvent.
 140  
      */
 141  
     public DerivativeEvent getDerivativeEvent() {
 142  0
         return this.derivativeEvent;
 143  
     }
 144  
     
 145  
     /** Setter for property derivativeEvent.
 146  
      * @param derivativeEvent New value of property derivativeEvent.
 147  
      *
 148  
      * @throws PropertyVetoException
 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  
 }