Class FileSize

  • All Implemented Interfaces:
    IFileSize

    public class FileSize
    extends java.lang.Object
    implements IFileSize
    Default implementation for the IFileSize interface.
    • Constructor Summary

      Constructors 
      Constructor Description
      FileSize​(java.lang.String depotFile, long revisionId, long fileSize, java.lang.String path, long fileCount, long changeListId)  
      FileSize​(java.util.Map<java.lang.String,​java.lang.Object> map)  
    • Constructor Detail

      • FileSize

        public FileSize​(java.util.Map<java.lang.String,​java.lang.Object> map)
      • FileSize

        public FileSize​(java.lang.String depotFile,
                        long revisionId,
                        long fileSize,
                        java.lang.String path,
                        long fileCount,
                        long changeListId)
    • Method Detail

      • 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 java.lang.String getDepotFile()
        Specified by:
        getDepotFile in interface IFileSize
        Returns:
        the depot file.
      • setDepotFile

        public void setDepotFile​(java.lang.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 java.lang.String getPath()
        Specified by:
        getPath in interface IFileSize
        Returns:
        the path.
      • setPath

        public void setPath​(java.lang.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.