/[cashew-s-editor]/cashews/src/nongnu/cashews/language/process/Connection.java
ViewVC logotype

Diff of /cashews/src/nongnu/cashews/language/process/Connection.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by gnu_andrew, Wed May 4 07:31:55 2005 UTC revision 1.2 by gnu_andrew, Thu May 5 23:47:59 2005 UTC
# Line 22  Line 22 
22  package nongnu.cashews.language.process;  package nongnu.cashews.language.process;
23    
24  import java.net.URI;  import java.net.URI;
25    import java.net.URISyntaxException;
26    
27  /**  /**
28   * Represents the connection between two performances, which provides   * Represents the connection between two performances, which provides
# Line 68  public class Connection Line 69  public class Connection
69     * @serial the index of the destination input.     * @serial the index of the destination input.
70     */     */
71    private int toIndex;    private int toIndex;
72      
73      /**
74       * Sets the name of the source performance to that specified.
75       *
76       * @param name the name of the source performance.
77       * @throws URISyntaxException if the supplied name is not a valid URI.
78       */
79      public void setFromPerformance(String name)
80        throws URISyntaxException
81      {
82        setFromPerformance(new URI(name));
83      }
84      
85      /**
86       * Sets the name of the source performance to that specified.
87       *
88       * @param name the name of the source performance.
89       */
90      public void setFromPerformance(URI name)
91      {
92        fromPerformance = name;
93      }
94      
95      /**
96       * Sets the name of the target performance to that specified.
97       *
98       * @param name the name of the target performance.
99       * @throws URISyntaxException if the supplied name is not a valid URI.
100       */
101      public void setToPerformance(String name)
102        throws URISyntaxException
103      {
104        setToPerformance(new URI(name));
105      }
106      
107      /**
108       * Sets the name of the target performance to that specified.
109       *
110       * @param name the name of the target performance.
111       */
112      public void setToPerformance(URI name)
113      {
114        toPerformance = name;
115      }
116    
117  }  }
   

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26