org.n52.security.decision
Class PDPRequest

java.lang.Object
  extended by org.n52.security.decision.PDPRequest
All Implemented Interfaces:
java.io.Serializable

public class PDPRequest
extends java.lang.Object
implements java.io.Serializable

This class represents a decision requests to a DecisionService.

Version:
$Revision: 1748 $
Author:
Bastian Schaeffer, Marko Reiprecht
See Also:
Serialized Form

Field Summary
protected  Attributes m_environment
          Environment attributes element of the request.
protected  Target m_target
          Target element of the request.
 
Constructor Summary
PDPRequest(Target target)
          Constructor creates a new instance.
PDPRequest(Target target, Attributes environment)
          Constructor creates a new instance.
 
Method Summary
 boolean equals(java.lang.Object o)
          Method equals.
 Attributes getEnvironment()
          Method gets the environment.
 Target getTarget()
          Method gets the target.
 int hashCode()
          Method hashCode.
 java.lang.String toString()
          Method toString.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

m_target

protected Target m_target
Target element of the request.


m_environment

protected Attributes m_environment
Environment attributes element of the request.

Constructor Detail

PDPRequest

public PDPRequest(Target target)
Constructor creates a new instance. With empty environment.

Parameters:
target - the target.

PDPRequest

public PDPRequest(Target target,
                  Attributes environment)
Constructor creates a new instance.

Parameters:
target - the target.
environment - the environment.
Method Detail

getEnvironment

public Attributes getEnvironment()
Method gets the environment.

Returns:
Environment.

getTarget

public Target getTarget()
Method gets the target.

Returns:
Target.

equals

public boolean equals(java.lang.Object o)
Method equals.

Overrides:
equals in class java.lang.Object
Parameters:
o - the o.
Returns:
boolean.

hashCode

public int hashCode()
Method hashCode.

Overrides:
hashCode in class java.lang.Object
Returns:
int.

toString

public java.lang.String toString()
Method toString.

Overrides:
toString in class java.lang.Object
Returns:
String.


Copyright © 2004-2009 52north.org. All Rights Reserved.