All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.hpccsystems.ws.client.platform.DFUFilePartInfo Maven / Gradle / Ivy

package org.hpccsystems.ws.client.platform;

import org.hpccsystems.ws.client.gen.wsdfu.v1_51.DFUPart;

/**
 * @author John Holt
 *
 */
public class DFUFilePartInfo extends DFUPart
{

    /**
     * @param raw
     *            the DFUPart object from the web service
     */
    public DFUFilePartInfo(DFUPart raw)
    {
        //super(raw.getId(), raw.getCopy(), raw.getActualSize(), raw.getIp(), raw.getPartsize());
//        super(raw.getId(), raw.getCopy(), raw.getActualSize(), raw.getIp(), raw.getPartsize(), raw.getPartSizeInt64());
        super(raw.getId(),raw.getCopy(), raw.getIp(), raw.getPartsize(), raw.getPartSizeInt64());
    }

    /**
     * @param id
     *            the part number
     * @param copy
     *            is this a copy part
     * @param actualSize
     * @param ip
     *            the IP address of the node holding this part
     * @param partsize
     *            the size of the file part
     */
    public DFUFilePartInfo(Integer id, Integer copy, String actualSize, String ip, String partsize, Long partsize64)
    {
        //super(id, copy, actualSize, ip, partsize);
        //super(id, copy, actualSize, ip, partsize,partsize64);
        super(id, copy, ip, partsize,partsize64);
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy