@@ -0,0 +1,2521 @@
+/*%0A * %3C!--%0A *   ~ Copyright 2015-2017 OpenCB%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 *   --%3E%0A *%0A */%0A%0Apackage org.opencb.biodata.models.commons;%0A%0Aimport java.util.List;%0Aimport java.util.Map;%0A%0Apublic class Disorder extends OntologyTerm %7B%0A%0A    private String description;%0A    private List%3CPhenotype%3E evidences;%0A%0A    public Disorder() %7B%0A    %7D%0A%0A    public Disorder(String id, String name, String source, String description, List%3CPhenotype%3E evidences, Map%3CString, String%3E attributes) %7B%0A        super(id, name, source, attributes);%0A        this.description = description;%0A        this.evidences = evidences;%0A    %7D%0A%0A    @Override%0A    public String toString() %7B%0A        final StringBuilder sb = new StringBuilder(%22Disorder%7B%22);%0A        sb.append(%22id='%22).append(id).append('%5C'');%0A        sb.append(%22, name='%22).append(name).append('%5C'');%0A        sb.append(%22, source='%22).append(source).append('%5C'');%0A        sb.append(%22, description='%22).append(description).append('%5C'');%0A        sb.append(%22, evidences=%22).append(evidences);%0A        sb.append('%7D');%0A        return sb.toString();%0A    %7D%0A%0A    public String getDescription() %7B%0A        return description;%0A    %7D%0A%0A    public Disorder setDescription(String description) %7B%0A        this.description = description;%0A        return this;%0A    %7D%0A%0A    public List%3CPhenotype%3E getEvidences() %7B%0A        return evidences;%0A    %7D%0A%0A    public Disorder setEvidences(List%3CPhenotype%3E evidences) %7B%0A        this.evidences = evidences;%0A        return this;%0A    %7D%0A%0A    @Override%0A    public Disorder setId(String id) %7B%0A        this.id = id;%0A        return this;%0A    %7D%0A%0A    @Override%0A    public Disorder setName(String name) %7B%0A        this.name = name;%0A        return this;%0A    %7D%0A%0A    @Override%0A    public Disorder setSource(String source) %7B%0A        this.source = source;%0A        return this;%0A    %7D%0A%0A    @Override%0A    public Disorder setAttributes(Map%3CString, String%3E attributes) %7B%0A        this.attributes = attributes;%0A        return this;%0A    %7D%0A%7D%0A

move Disorder data model from OpenCGA to biodata-models