org.glite.authz.common.model
Class StatusCode

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

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

The code for a Status.

See Also:
Serialized Form

Constructor Summary
StatusCode()
          Constructor.
 
Method Summary
 boolean equals(java.lang.Object obj)
          
 java.lang.String getCode()
          Gets the code for this status.
 StatusCode getSubCode()
          Gets the subcode for this status.
 int hashCode()
          
 void setCode(java.lang.String newCode)
          Sets the code for this status.
 void setSubCode(StatusCode newSubCode)
          Sets the subcode for this status.
 java.lang.String toString()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StatusCode

public StatusCode()
Constructor.

Method Detail

getCode

public java.lang.String getCode()
Gets the code for this status.

Returns:
code for this status

setCode

public void setCode(java.lang.String newCode)
Sets the code for this status.

Parameters:
newCode - code for this status

getSubCode

public StatusCode getSubCode()
Gets the subcode for this status.

Returns:
subcode for this status

setSubCode

public void setSubCode(StatusCode newSubCode)
Sets the subcode for this status.

Parameters:
newSubCode - subcode 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.