eu.planets_project.ifr.core.servreg.api
Class Response

java.lang.Object
  extended by eu.planets_project.ifr.core.servreg.api.Response

public final class Response
extends java.lang.Object

Service registry response type.


Constructor Summary
Response(java.lang.String message, java.lang.Boolean success)
           
 
Method Summary
 java.lang.String getMessage()
           
 java.lang.Boolean success()
           
 java.lang.String toString()
          
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Response

public Response(java.lang.String message,
                java.lang.Boolean success)
Parameters:
message - The response message
success - The status of the registry request
Method Detail

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Object
See Also:
Object.toString()

getMessage

public java.lang.String getMessage()
Returns:
the message

success

public java.lang.Boolean success()
Returns:
the success


Copyright © 2007-2010 The Planets Consortium. All Rights Reserved.