Class FileSize
java.lang.Object
com.perforce.p4java.impl.generic.core.file.FileSize
- All Implemented Interfaces:
IFileSize
Default implementation for the IFileSize interface.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlonglonglonggetPath()longvoidsetChangelistId(long changeListId) Set the shelved changelist ID.voidsetDepotFile(String depotFile) Set the depot file.voidsetFileCount(long fileCount) Set the file count.voidsetFileSize(long fileSize) Set the file size.voidSet the path.voidsetRevisionId(long revisionId) Set the file revision ID.
-
Constructor Details
-
FileSize
-
FileSize
-
-
Method Details
-
setChangelistId
public void setChangelistId(long changeListId) Description copied from interface:IFileSizeSet the shelved changelist ID.- Specified by:
setChangelistIdin interfaceIFileSize- Parameters:
changeListId- changeListId
-
getDepotFile
- Specified by:
getDepotFilein interfaceIFileSize- Returns:
- the depot file.
-
setDepotFile
Description copied from interface:IFileSizeSet the depot file.- Specified by:
setDepotFilein interfaceIFileSize- Parameters:
depotFile- depotFile
-
getFileCount
public long getFileCount()- Specified by:
getFileCountin interfaceIFileSize- Returns:
- the file count.
-
setFileCount
public void setFileCount(long fileCount) Description copied from interface:IFileSizeSet the file count.- Specified by:
setFileCountin interfaceIFileSize- Parameters:
fileCount- fileCount
-
getFileSize
public long getFileSize()- Specified by:
getFileSizein interfaceIFileSize- Returns:
- the file size.
-
setFileSize
public void setFileSize(long fileSize) Description copied from interface:IFileSizeSet the file size.- Specified by:
setFileSizein interfaceIFileSize- Parameters:
fileSize- fileSize
-
getPath
-
setPath
Description copied from interface:IFileSizeSet the path. -
getRevisionId
public long getRevisionId()- Specified by:
getRevisionIdin interfaceIFileSize- Returns:
- the file revision ID.
-
setRevisionId
public void setRevisionId(long revisionId) Description copied from interface:IFileSizeSet the file revision ID.- Specified by:
setRevisionIdin interfaceIFileSize- Parameters:
revisionId- revisionId
-
getChangelistId
public long getChangelistId()- Specified by:
getChangelistIdin interfaceIFileSize- Returns:
- the shelved changelist ID.
-