org.opencb.biodata.models.clinical.Disorder Maven / Gradle / Ivy
The newest version!
/*
*
*
*/
package org.opencb.biodata.models.clinical;
import org.opencb.biodata.models.core.OntologyTermAnnotation;
import java.util.List;
import java.util.Map;
public class Disorder extends OntologyTermAnnotation {
private List evidences;
public Disorder() {
}
@Deprecated
public Disorder(String id, String name, String source, String description, List evidences, Map attributes) {
this(id, name, description, source, "", attributes, evidences);
}
public Disorder(String id, String name, String source, Map attributes, String description, List evidences) {
this(id, name, description, source, "", attributes, evidences);
}
public Disorder(String id, String name, String description, String source, String url, Map attributes,
List evidences) {
super(id, name, description, source, url, attributes);
this.evidences = evidences;
}
@Override
public String toString() {
final StringBuilder sb = new StringBuilder("Disorder{");
sb.append("evidences=").append(evidences);
sb.append(", id='").append(id).append('\'');
sb.append(", name='").append(name).append('\'');
sb.append(", description='").append(description).append('\'');
sb.append(", source='").append(source).append('\'');
sb.append(", url='").append(url).append('\'');
sb.append(", attributes=").append(attributes);
sb.append('}');
return sb.toString();
}
@Override
public Disorder setId(String id) {
this.id = id;
return this;
}
@Override
public Disorder setName(String name) {
this.name = name;
return this;
}
@Override
public Disorder setSource(String source) {
this.source = source;
return this;
}
@Override
public Disorder setAttributes(Map attributes) {
this.attributes = attributes;
return this;
}
public String getDescription() {
return description;
}
public Disorder setDescription(String description) {
this.description = description;
return this;
}
public List getEvidences() {
return evidences;
}
public Disorder setEvidences(List evidences) {
this.evidences = evidences;
return this;
}
}