Search in sources :

Example 1 with StrainData

use of org.jbei.ice.lib.dto.entry.StrainData in project ice by JBEI.

the class Strain method toDataTransferObject.

@Override
public PartData toDataTransferObject() {
    PartData data = super.toDataTransferObject();
    StrainData strainData = new StrainData();
    strainData.setGenotypePhenotype(genotypePhenotype);
    strainData.setHost(host);
    data.setStrainData(strainData);
    return data;
}
Also used : StrainData(org.jbei.ice.lib.dto.entry.StrainData) PartData(org.jbei.ice.lib.dto.entry.PartData)

Aggregations

PartData (org.jbei.ice.lib.dto.entry.PartData)1 StrainData (org.jbei.ice.lib.dto.entry.StrainData)1