org.glite.authz.common.model
Class Status

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

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

Status of an authorization request.

See Also:
Serialized Form

Constructor Summary
Status()
          Constructor.
 
Method Summary
 boolean equals(java.lang.Object obj)
          
 StatusCode getCode()
          Gets the code for this status.
 java.lang.String getMessage()
          Gets the message associated with this status.
 int hashCode()
          
 void setCode(StatusCode code)
          Sets the code for this status.
 void setMessage(java.lang.String newMessage)
          Sets the message associated with this status.
 java.lang.String toString()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Status

public Status()
Constructor.

Method Detail

getMessage

public java.lang.String getMessage()
Gets the message associated with this status.

Returns:
message associated with this status

setMessage

public void setMessage(java.lang.String newMessage)
Sets the message associated with this status.

Parameters:
newMessage - message associated with this status

getCode

public StatusCode getCode()
Gets the code for this status.

Returns:
code for this status

setCode

public void setCode(StatusCode code)
Sets the code for this status.

Parameters:
code - code for this status

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.