eu.planets_project.ifr.core.servreg.api
Class Response
java.lang.Object
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)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Response
public Response(java.lang.String message,
java.lang.Boolean success)
- Parameters:
message
- The response messagesuccess
- The status of the registry request
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.