org.hpccsystems.ws.client.wrappers.wsworkunits.QueryFileWrapper Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of wsclient Show documentation
Show all versions of wsclient Show documentation
This project allows a user to interact with ESP services in a controlled manner. The API calls available under org.hpccsystems.ws.client.platform allow for a user to target ESP's across multiple environments running a range of hpccsystems-platform versions. There is no guarantee that if a user utilizes org.hpccsystems.ws.client.gen generated stub code from wsdl, that the calls will be backwards compatible with older hpccsystems-platform versions.
package org.hpccsystems.ws.client.wrappers.wsworkunits;
import org.hpccsystems.ws.client.gen.axis2.wsworkunits.latest.FileUsedByQuery;
@Deprecated
public class QueryFileWrapper
{
private String fileName;
private Long fileSize;
private long numberOfParts;
/**
* Instantiates a new query file wrapper.
*
* @param raw
* the raw
*/
public QueryFileWrapper(FileUsedByQuery raw)
{
fileName=raw.getFileName();
fileSize=raw.getFileSize();
numberOfParts=raw.getNumberOfParts().longValue();
}
/**
* Gets the file name.
*
* @return the file name
*/
public String getFileName()
{
return fileName;
}
/**
* Sets the file name.
*
* @param fileName
* the new file name
*/
public void setFileName(String fileName)
{
this.fileName = fileName;
}
/**
* Gets the file size.
*
* @return the file size
*/
public Long getFileSize()
{
return fileSize;
}
/**
* Sets the file size.
*
* @param fileSize
* the new file size
*/
public void setFileSize(Long fileSize)
{
this.fileSize = fileSize;
}
/**
* Gets the number of parts.
*
* @return the number of parts
*/
public long getNumberOfParts()
{
return numberOfParts;
}
/**
* Sets the number of parts.
*
* @param numberOfParts
* the new number of parts
*/
public void setNumberOfParts(long numberOfParts)
{
this.numberOfParts = numberOfParts;
}
}