src/main/java/org/edgegallery/appstore/interfaces/order/facade/dto/MecmHostDto.java
public static MecmHostDto fromMap(Map<String, Object> mecHostInfoMap) {
        return new MecmHostDto((String) mecHostInfoMap.get("mechostIp"), (String) mecHostInfoMap.get("mechostName"),
            (String) mecHostInfoMap.get("mechostCity"), (String) mecHostInfoMap.get("vim"),
            (String) mecHostInfoMap.get("affinity"));
    }
/**
     * convert from data map.
     *
     * @param mecHostInfoMap mec host data map
     * @return dto object
     */
convert from data map.
@param mecHostInfoMap mec host data map
@return dto object
convert from data map . @param mecHostInfoMap mec host data map @return dto object
public static MecmHostDto fromMap(Map<String, Object> mecHostInfoMap) {
        return new MecmHostDto((String) mecHostInfoMap.get("mechostIp"), (String) mecHostInfoMap.get("mechostName"),
            (String) mecHostInfoMap.get("mechostCity"), (String) mecHostInfoMap.get("vim"),
            (String) mecHostInfoMap.get("affinity"));
    }
public static MecmHostDto fromMap ( Map < String , Object > mecHostInfoMap ) { return new MecmHostDto ( ( String ) mecHostInfoMap . get ( "mechostIp" ) , ( String ) mecHostInfoMap . get ( "mechostName" ) , ( String ) mecHostInfoMap . get ( "mechostCity" ) , ( String ) mecHostInfoMap . get ( "vim" ) , ( String ) mecHostInfoMap . get ( "affinity" ) ) ; }
convert from data map.
convert from data map .