sharpster.common
Class MissingFilesResponse

java.lang.Object
  |
  +--sharpster.common.Response
        |
        +--sharpster.common.MissingFilesResponse
All Implemented Interfaces:
java.io.Serializable

public class MissingFilesResponse
extends Response
implements java.io.Serializable

A response which specifies missing files.

See Also:
Serialized Form

Constructor Summary
MissingFilesResponse()
           
 
Method Summary
 sharpster.common.FileCollection getfiles()
          Returns the FileCollection containing information about the missing files.
 int getLocation()
          Returns the location of the missing file.
 int getType()
          Returns the type of this response.
 boolean hasMissingFiles()
           
 void setFiles(sharpster.common.FileCollection files)
          Sets the FileCollection containing information about the missing files.
 void setLocation(int location)
          Sets the location of a missing file.
 java.lang.String toString()
           
 
Methods inherited from class sharpster.common.Response
getOrigin, getUser, isError, setError, setOrigin, setUser
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MissingFilesResponse

public MissingFilesResponse()
Method Detail

getType

public int getType()
Returns the type of this response.

Specified by:
getType in class Response

setLocation

public void setLocation(int location)
Sets the location of a missing file.


getLocation

public int getLocation()
Returns the location of the missing file.


getfiles

public sharpster.common.FileCollection getfiles()
Returns the FileCollection containing information about the missing files.


hasMissingFiles

public boolean hasMissingFiles()

setFiles

public void setFiles(sharpster.common.FileCollection files)
Sets the FileCollection containing information about the missing files.


toString

public java.lang.String toString()
Overrides:
toString in class Response