com.perforce.p4java.impl.generic.core.file
Class FileSize

java.lang.Object
  extended by 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.

See Also:
IFileSize

Constructor Summary
FileSize(Map<String,Object> map)
           
FileSize(String depotFile, int revisionId, int fileSize, String path, int fileCount, int changeListId)
           
 
Method Summary
 int getChangelistId()
          Get the shelved changelist ID.
 String getDepotFile()
          Get the depot file.
 int getFileCount()
          Get the file count.
 int getFileSize()
          Get the file size.
 String getPath()
          Get the path.
 int getRevisionId()
          Get the file revision ID.
 void setChangelistId(int changeListId)
          Set the shelved changelist ID.
 void setDepotFile(String depotFile)
          Set the depot file.
 void setFileCount(int fileCount)
          Set the file count.
 void setFileSize(int fileSize)
          Set the file size.
 void setPath(String path)
          Set the path.
 void setRevisionId(int revisionId)
          Set the file revision ID.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileSize

public FileSize(String depotFile,
                int revisionId,
                int fileSize,
                String path,
                int fileCount,
                int changeListId)

FileSize

public FileSize(Map<String,Object> map)
Method Detail

getDepotFile

public String getDepotFile()
Description copied from interface: IFileSize
Get the depot file.

Specified by:
getDepotFile in interface IFileSize
See Also:
IFileSize.getDepotFile()

setDepotFile

public void setDepotFile(String depotFile)
Description copied from interface: IFileSize
Set the depot file.

Specified by:
setDepotFile in interface IFileSize
See Also:
IFileSize.setDepotFile(java.lang.String)

getRevisionId

public int getRevisionId()
Description copied from interface: IFileSize
Get the file revision ID.

Specified by:
getRevisionId in interface IFileSize
See Also:
IFileSize.getRevisionId()

setRevisionId

public void setRevisionId(int revisionId)
Description copied from interface: IFileSize
Set the file revision ID.

Specified by:
setRevisionId in interface IFileSize
See Also:
IFileSize.setRevisionId(int)

getFileSize

public int getFileSize()
Description copied from interface: IFileSize
Get the file size.

Specified by:
getFileSize in interface IFileSize
See Also:
IFileSize.getFileSize()

setFileSize

public void setFileSize(int fileSize)
Description copied from interface: IFileSize
Set the file size.

Specified by:
setFileSize in interface IFileSize
See Also:
IFileSize.setFileSize(int)

getPath

public String getPath()
Description copied from interface: IFileSize
Get the path.

Specified by:
getPath in interface IFileSize
See Also:
IFileSize.getPath()

setPath

public void setPath(String path)
Description copied from interface: IFileSize
Set the path.

Specified by:
setPath in interface IFileSize
See Also:
IFileSize.setPath(java.lang.String)

getFileCount

public int getFileCount()
Description copied from interface: IFileSize
Get the file count.

Specified by:
getFileCount in interface IFileSize
See Also:
IFileSize.getFileCount()

setFileCount

public void setFileCount(int fileCount)
Description copied from interface: IFileSize
Set the file count.

Specified by:
setFileCount in interface IFileSize
See Also:
IFileSize.setFileCount(int)

getChangelistId

public int getChangelistId()
Description copied from interface: IFileSize
Get the shelved changelist ID.

Specified by:
getChangelistId in interface IFileSize
See Also:
IFileSize.getChangelistId()

setChangelistId

public void setChangelistId(int changeListId)
Description copied from interface: IFileSize
Set the shelved changelist ID.

Specified by:
setChangelistId in interface IFileSize
See Also:
IFileSize.setChangelistId(int)


Copyright © 2015 Perforce Software. All Rights Reserved.