org.glite.authz.common.model
Class Request

java.lang.Object
  extended by org.glite.authz.common.model.Request
All Implemented Interfaces:
java.io.Serializable

public final class Request
extends java.lang.Object
implements java.io.Serializable

An authorization request.

See Also:
Serialized Form

Constructor Summary
Request()
          Constructor.
 
Method Summary
 boolean equals(java.lang.Object obj)
          
 Action getAction()
          Gets the action about which the request is being made.
 Environment getEnvironment()
          Gets the environment about which the request is being made.
 java.util.Set<Resource> getResources()
          Gets the resources about which the request is being made.
 java.util.Set<Subject> getSubjects()
          Gets the subject about which the request is being made.
 int hashCode()
          
 void setAction(Action newAction)
          Sets the action about which the request is being made.
 void setEnvironment(Environment newEnvironment)
          Sets the environment about which the request is being made.
 java.lang.String toString()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Request

public Request()
Constructor.

Method Detail

getSubjects

public java.util.Set<Subject> getSubjects()
Gets the subject about which the request is being made.

Returns:
subject about which the request is being made

getResources

public java.util.Set<Resource> getResources()
Gets the resources about which the request is being made.

Returns:
resources about which the request is being made

getAction

public Action getAction()
Gets the action about which the request is being made.

Returns:
action about which the request is being made

setAction

public void setAction(Action newAction)
Sets the action about which the request is being made.

Parameters:
newAction - action about which the request is being made

getEnvironment

public Environment getEnvironment()
Gets the environment about which the request is being made.

Returns:
environment about which the request is being made

setEnvironment

public void setEnvironment(Environment newEnvironment)
Sets the environment about which the request is being made.

Parameters:
newEnvironment - environment about which the request is being made

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Object

hashCode

public int hashCode()

Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)

Overrides:
equals in class java.lang.Object


Copyright © 2008-2012 EMI - European Middleware Initiative. All Rights Reserved.