java.lang.Object
com.perforce.p4java.impl.generic.core.file.FileSize
All Implemented Interfaces:
IFileSize

public class FileSize extends Object implements IFileSize
Default implementation for the IFileSize interface.
  • Constructor Details

    • FileSize

      public FileSize(Map<String,Object> map)
    • FileSize

      public FileSize(String depotFile, long revisionId, long fileSize, String path, long fileCount, long changeListId)
  • Method Details

    • setChangelistId

      public void setChangelistId(long changeListId)
      Description copied from interface: IFileSize
      Set the shelved changelist ID.
      Specified by:
      setChangelistId in interface IFileSize
      Parameters:
      changeListId - changeListId
    • getDepotFile

      public String getDepotFile()
      Specified by:
      getDepotFile in interface IFileSize
      Returns:
      the depot file.
    • setDepotFile

      public void setDepotFile(String depotFile)
      Description copied from interface: IFileSize
      Set the depot file.
      Specified by:
      setDepotFile in interface IFileSize
      Parameters:
      depotFile - depotFile
    • getFileCount

      public long getFileCount()
      Specified by:
      getFileCount in interface IFileSize
      Returns:
      the file count.
    • setFileCount

      public void setFileCount(long fileCount)
      Description copied from interface: IFileSize
      Set the file count.
      Specified by:
      setFileCount in interface IFileSize
      Parameters:
      fileCount - fileCount
    • getFileSize

      public long getFileSize()
      Specified by:
      getFileSize in interface IFileSize
      Returns:
      the file size.
    • setFileSize

      public void setFileSize(long fileSize)
      Description copied from interface: IFileSize
      Set the file size.
      Specified by:
      setFileSize in interface IFileSize
      Parameters:
      fileSize - fileSize
    • getPath

      public String getPath()
      Specified by:
      getPath in interface IFileSize
      Returns:
      the path.
    • setPath

      public void setPath(String path)
      Description copied from interface: IFileSize
      Set the path.
      Specified by:
      setPath in interface IFileSize
      Parameters:
      path - path
    • getRevisionId

      public long getRevisionId()
      Specified by:
      getRevisionId in interface IFileSize
      Returns:
      the file revision ID.
    • setRevisionId

      public void setRevisionId(long revisionId)
      Description copied from interface: IFileSize
      Set the file revision ID.
      Specified by:
      setRevisionId in interface IFileSize
      Parameters:
      revisionId - revisionId
    • getChangelistId

      public long getChangelistId()
      Specified by:
      getChangelistId in interface IFileSize
      Returns:
      the shelved changelist ID.