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

Diff of /cashews/src/nongnu/cashews/language/process/Performance.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  import java.util.List;  import java.util.List;
27    
28  /**  /**
# Line 72  public class Performance Line 73  public class Performance
73     */     */
74    private List<ValueCollector> valueCollectors;    private List<ValueCollector> valueCollectors;
75    
76      /**
77       * Constructs a new <code>Performance</code> with the
78       * specified name.
79       *
80       * @param name the performance name.
81       */
82      public Performance(String name)
83      {
84          
85      }
86    
87      /**
88       * Constructs a new <code>Performance</code> with the specified name.
89       *
90       * @param name the name of the process.
91       */
92      public Performance(URI name)
93      {
94        setName(name);
95      }
96    
97      /**
98       * Sets the name of this performance to that specified.
99       *
100       * @param name the name of the performance.
101       * @throws URISyntaxException if the supplied name is not a valid URI.
102       */
103      public void setName(String name)
104        throws URISyntaxException
105      {
106        setName(new URI(name));
107      }
108    
109      /**
110       * Sets the name of this performance to that specified.
111       *
112       * @param name the name of the performance.
113       */
114      public void setName(URI name)
115      {
116        this.name = name;
117      }
118    
119      /**
120       * Retrieves the name of this performance.
121       *
122       * @return the name of the performance.
123       */
124      public URI getName()
125      {
126       return name;  
127      }
128      
129      /**
130       * Retrieves the value datas of this performance
131       */
132      public List<ValueData> getValueData()
133      {
134          return valueDatas;
135      }
136      
137      /**
138       * Retrieves the value collectors of this performance
139       */
140      public List<ValueCollector> getValueCollectors()
141      {
142          return valueCollectors;
143      }
144  }  }

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