Search in sources :

Example 6 with OEMDataVO

use of com.intel.mountwilson.datamodel.OEMDataVO in project OpenAttestation by OpenAttestation.

the class ConverterUtil method getListToOEMDataVO.

public static List<OEMDataVO> getListToOEMDataVO(List<OemData> oemList) {
    List<OEMDataVO> list = new ArrayList<OEMDataVO>();
    for (OemData data : oemList) {
        OEMDataVO osVo = new OEMDataVO();
        osVo.setOemName(data.getName());
        osVo.setOemDescription(data.getDescription());
        list.add(osVo);
    }
    return list;
}
Also used : OemData(com.intel.mtwilson.datatypes.OemData) ArrayList(java.util.ArrayList) OEMDataVO(com.intel.mountwilson.datamodel.OEMDataVO)

Aggregations

OEMDataVO (com.intel.mountwilson.datamodel.OEMDataVO)6 WLMPortalException (com.intel.mountwilson.common.WLMPortalException)4 JSONView (com.intel.mountwilson.util.JSONView)4 ArrayList (java.util.ArrayList)4 ModelAndView (org.springframework.web.servlet.ModelAndView)4 List (java.util.List)3 FileUploadException (org.apache.commons.fileupload.FileUploadException)2 OemData (com.intel.mtwilson.datatypes.OemData)1 HashMap (java.util.HashMap)1 HttpSession (javax.servlet.http.HttpSession)1