Package com.intel.mountwilson.datamodel

Examples of com.intel.mountwilson.datamodel.MleDetailsEntityVO


  public static List<MleDetailsEntityVO> getMleVOListWhereOEMNotNull(List<MleData> mleDataList) {
    List<MleDetailsEntityVO> detailsEntityVOs = new ArrayList<MleDetailsEntityVO>();
    for (MleData data : mleDataList) {
      if (data.getOemName() != null && !(data.getOemName().equals(""))) {
        MleDetailsEntityVO entityVO = new MleDetailsEntityVO();
        entityVO.setMleId(null);
        entityVO.setMleName(data.getName());
        entityVO.setMleVersion(data.getVersion());
        entityVO.setAttestationType(data.getAttestationType());
        entityVO.setMleType(data.getMleType());
        //entityVO.setManifestList(data.getManifestList().toString());
        entityVO.setOsName(data.getOsName());
        entityVO.setOsVersion(data.getOsVersion());
        entityVO.setOemName(data.getOemName());
        detailsEntityVOs.add(entityVO);
      }
    }
    return detailsEntityVOs;
  }
View Full Code Here


  public static List<MleDetailsEntityVO> getMleVOListWhereOEMIsNull(List<MleData> searchMLE) {
    List<MleDetailsEntityVO> detailsEntityVOs = new ArrayList<MleDetailsEntityVO>();
    for (MleData data : searchMLE) {
      if (data.getOemName() == null || data.getOemName().equals("")) {
        MleDetailsEntityVO entityVO = new MleDetailsEntityVO();
        entityVO.setMleId(null);
        entityVO.setMleName(data.getName());
        entityVO.setMleVersion(data.getVersion());
        entityVO.setAttestationType(data.getAttestationType());
        entityVO.setMleType(data.getMleType());
        //entityVO.setManifestList(data.getManifestList().toString());
        entityVO.setOsName(data.getOsName());
        entityVO.setOsVersion(data.getOsVersion());
        entityVO.setOemName(data.getOemName());
        detailsEntityVOs.add(entityVO);
      }
    }
    return detailsEntityVOs;
  }
View Full Code Here

TOP

Related Classes of com.intel.mountwilson.datamodel.MleDetailsEntityVO

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.