@@ -0,0 +1,1441 @@
+/**%0A * Copyright %C2%A9 2011-2012 EMBL - European Bioinformatics Institute%0A * %0A * Licensed under the Apache License, Version 2.0 (the %22License%22); %0A * you may not use this file except in compliance with the License.  %0A * You may obtain a copy of the License at%0A *%0A *     http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A */%0Apackage uk.ac.ebi.phenotype.bean;%0A%0A/**%0A * %0A * This is a list container for jstl.%0A * %0A * @author Gautier Koscielny (EMBL-EBI) %3Ckoscieln@ebi.ac.uk%3E%0A *  @since February 2012%0A */%0A%0Aimport java.util.List;%0A%0Aimport javax.xml.bind.annotation.XmlElement;%0Aimport javax.xml.bind.annotation.XmlRootElement;%0A%0A@XmlRootElement(name=%22listContainer%22)%0Apublic class ListContainer%3CX%3E %7B%0A%0A%09private int count;%0A%09private List%3CX%3E results;%0A%0A%09public ListContainer() %7B%7D%0A%09%0A%09public ListContainer(List%3CX%3E results) %7B%0A%09%09this.results = results;%0A%09%09this.count = results.size();%0A%09%7D%0A%0A%09public int getCount() %7B%0A%09%09return count;%0A%09%7D%0A%09public void setCount(int count) %7B%0A%09%09this.count = count;%0A%09%7D%0A%09%0A%09@XmlElement(name=%22results%22)%0A%09public List%3CX%3E getResults() %7B%0A%09%09return results;%0A%09%7D%0A%09public void setResults(List%3CX%3E results) %7B%0A%09%09this.results = results;%0A%09%7D%0A%7D%0A

Move PhenotypeArchive to trunk Refactored to use generics. Use generics. lightweight object representation for HTML / JSON / XML export. List container. It is used for HTML rendering with jstl.