sharpster.common
Class MissingAccessResponse

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

public class MissingAccessResponse
extends Response
implements java.io.Serializable

A response which specifies missing file accesses.

See Also:
Serialized Form

Constructor Summary
MissingAccessResponse()
           
 
Method Summary
 int getAccess()
          Returns an integer identifying the access which were denied (read, write or remove).
 sharpster.common.FileCollection getfiles()
          Returns the FileCollection with information about the files which has caused the error.
 int getType()
          Returns the type of this response.
 void setAccess(int access)
          Sets and integer identifying the access which were denied (read, write or remove).
 void setFiles(sharpster.common.FileCollection files)
          Sets the FileCollection containing information about the files which has caused the error.
 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

MissingAccessResponse

public MissingAccessResponse()
Method Detail

getType

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

Specified by:
getType in class Response

setAccess

public void setAccess(int access)
Sets and integer identifying the access which were denied (read, write or remove).


getAccess

public int getAccess()
Returns an integer identifying the access which were denied (read, write or remove).


getfiles

public sharpster.common.FileCollection getfiles()
Returns the FileCollection with information about the files which has caused the error.


setFiles

public void setFiles(sharpster.common.FileCollection files)
Sets the FileCollection containing information about the files which has caused the error.


toString

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