View Javadoc

1   /***
2    * Created on Jan 26, 2006, Copyright UC Regents
3    */
4   package org.telscenter.pas.properties;
5   
6   import java.util.ArrayList;
7   import java.util.Collection;
8   
9   import org.telscenter.pas.hint.Hint;
10  
11  /***
12   * Property type for a set of Hints. Made as custom type so we can have a
13   * HintSetPropertyEditor.
14   * 
15   * @author turadg
16   * 
17   */
18  public class HintSet extends ArrayList<Hint> implements Collection<Hint>  {
19  
20  	private static final long serialVersionUID = 1L;
21  
22  	public String toString() {
23  		// TODO Auto-generated method stub
24  		return "There are " + this.size() + " Hints";
25  	}
26  
27  }