public class TransferResource extends Object
FileTransferStatus
.Constructor and Description |
---|
TransferResource()
Default constructor required by JAXB.
|
TransferResource(Product product,
Metadata metadata,
FileTransferStatus status)
Constructor that sets the
FileTransferStatus for the resource. |
Modifier and Type | Method and Description |
---|---|
long |
getBytesTransferred()
Gets the bytes transferred status of the file transfer.
|
String |
getDataStoreReference()
Gets the data store reference for the reference.
|
long |
getFileSize()
Gets the file size for the reference.
|
Metadata |
getMetadata()
Gets the metadata.
|
String |
getMimeTypeName()
Gets the name of the MIME type for the reference.
|
String |
getOrigReference()
Gets the original reference for the reference.
|
double |
getPercentComplete()
Gets the percentage complete status of the file transfer.
|
Product |
getProduct()
Gets the product.
|
String |
getProductId()
Gets the ID of the product.
|
String |
getProductName()
Gets the name of the product.
|
String |
getProductReceivedTime()
Gets the metadata value of the product received time.
|
String |
getProductTypeName()
Gets the product type name for the product.
|
long |
getTotalBytes()
Gets the total bytes of the file being transferred.
|
public TransferResource()
public TransferResource(Product product, Metadata metadata, FileTransferStatus status)
FileTransferStatus
for the resource.product
- the product being transferredmetadata
- the metadata for the product being transferredstatus
- the file transfer status for productpublic Product getProduct()
public Metadata getMetadata()
public String getProductId()
public String getProductName()
public String getProductTypeName()
public String getDataStoreReference()
public String getOrigReference()
public String getMimeTypeName()
public long getFileSize()
public long getTotalBytes()
public long getBytesTransferred()
public double getPercentComplete()
public String getProductReceivedTime()
Copyright © 1999–2017 Apache OODT. All rights reserved.