|
g-Eclipse Release 1.0.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecteu.geclipse.core.filesystem.TransferInformation
public class TransferInformation
Simple bean class representing transfer operation between two file stores.
| Constructor Summary | |
|---|---|
TransferInformation(java.lang.Integer id,
IFileStore source,
IFileStore destination,
java.lang.String data,
long size)
Basic constructor which sets up all required fields. |
|
| Method Summary | |
|---|---|
java.lang.String |
getData()
Transfer-specific information which should be stored and used for transfer resuming. |
IFileStore |
getDestination()
Return EFS for the destination of transfer |
java.lang.Integer |
getId()
Getter of the internal transfer number |
long |
getSize()
Getter of the size of the transfer |
IFileStore |
getSource()
Returns EFS for the source of transfer |
boolean |
isMove()
Specifies if the transfer was move or copy operation. |
void |
setData(java.lang.String data)
Setter for the transfer-specific data. |
void |
setDestination(IFileStore destination)
Setter of the destination file store of this transfer. |
void |
setId(java.lang.Integer id)
Setter of the transfer ID. |
void |
setMove(boolean move)
|
void |
setSize(long size)
Setter of the size of this transfer |
void |
setSource(IFileStore source)
Setter of the source file store of this transfer. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TransferInformation(java.lang.Integer id,
IFileStore source,
IFileStore destination,
java.lang.String data,
long size)
id - transfer idsource - file store from transfer should occurdestination - target file storedata - transfer-specific datasize - size of the transfered file info associated with the file store| Method Detail |
|---|
public boolean isMove()
ITransferInformation
isMove in interface ITransferInformationpublic void setMove(boolean move)
move - move status of the transfer operationpublic java.lang.Integer getId()
ITransferInformation
getId in interface ITransferInformationpublic java.lang.String getData()
ITransferInformation
getData in interface ITransferInformationpublic IFileStore getDestination()
ITransferInformation
getDestination in interface ITransferInformationpublic IFileStore getSource()
ITransferInformation
getSource in interface ITransferInformationpublic void setId(java.lang.Integer id)
id - identification number to be setpublic void setData(java.lang.String data)
setData in interface ITransferInformationdata - public void setDestination(IFileStore destination)
destination - public void setSource(IFileStore source)
source - public long getSize()
ITransferInformation
getSize in interface ITransferInformationpublic void setSize(long size)
size - of the transferred file, or 0 if transfer object is a folder.
|
g-Eclipse Release 1.0.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||