View Javadoc

1   /*--------------------------------------------------------------------------
2    *  Copyright 2007 utgenome.org
3    *
4    *  Licensed under the Apache License, Version 2.0 (the "License");
5    *  you may not use this file except in compliance with the License.
6    *  You may obtain a copy of the License at
7    *
8    *     http://www.apache.org/licenses/LICENSE-2.0
9    *
10   *  Unless required by applicable law or agreed to in writing, software
11   *  distributed under the License is distributed on an "AS IS" BASIS,
12   *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   *  See the License for the specific language governing permissions and
14   *  limitations under the License.
15   *--------------------------------------------------------------------------*/
16  //--------------------------------------
17  // utgb-core Project
18  //
19  // TrackDescription.java
20  // Since: Oct 19, 2007
21  //
22  // $URL$ 
23  // $Author$
24  //--------------------------------------
25  package org.utgenome.gwt.utgb.client.bean.track;
26  
27  import java.util.ArrayList;
28  import java.util.List;
29  
30  import com.google.gwt.user.client.rpc.IsSerializable;
31  
32  /**
33   * Track descriptor
34   * 
35   * @author leo
36   * 
37   */
38  public class TrackDescription implements IsSerializable {
39  	String revision = "1.0";
40  
41  	String group = "";
42  	String name = "Track";
43  	String version = "1.0";
44  
45  	String description = "";
46  	String website = "";
47  
48  	/**
49  	 * 
50  	 */
51  	ArrayList<String> authorList = new ArrayList<String>();
52  
53  	Content content;
54  
55  	public TrackDescription() {
56  	}
57  
58  	public void addAuthor(String author) {
59  		authorList.add(author);
60  	}
61  
62  	public List<String> getAuthorList() {
63  		return authorList;
64  	}
65  
66  	public void setContent(Content content) {
67  		this.content = content;
68  	}
69  
70  	public String getGroup() {
71  		return group;
72  	}
73  
74  	public void setGroup(String group) {
75  		this.group = group;
76  	}
77  
78  	public String getName() {
79  		return name;
80  	}
81  
82  	public void setName(String name) {
83  		this.name = name;
84  	}
85  
86  	public String getVersion() {
87  		return version;
88  	}
89  
90  	public void setVersion(String version) {
91  		this.version = version;
92  	}
93  
94  	public String getDescription() {
95  		return description;
96  	}
97  
98  	public void setDescription(String description) {
99  		this.description = description;
100 	}
101 
102 	public String getWebsite() {
103 		return website;
104 	}
105 
106 	public void setWebsite(String website) {
107 		this.website = website;
108 	}
109 
110 	public Content getContent() {
111 		return content;
112 	}
113 
114 	public String getRevision() {
115 		return revision;
116 	}
117 
118 	public void setRevision(String revision) {
119 		this.revision = revision;
120 	}
121 
122 }