au.csiro.pidclient
Class AndsPidResponse
java.lang.Object
au.csiro.pidclient.AndsPidResponse
public class AndsPidResponse
- extends Object
Represents an ANDS Persistent Identifier service response.
Copyright 2010, CSIRO Australia All rights reserved.
- Version:
- $Revision: 7131 $ $Date: 2010-06-09 14:25:15 +1000 (Wed, 09 Jun 2010) $
- Author:
- Robert Bridle on 08/02/2010
Field Summary |
static String |
NO_HANDLE_FOUND
A constant that represents the case where no handle is returned. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NO_HANDLE_FOUND
public static final String NO_HANDLE_FOUND
- A constant that represents the case where no handle is returned.
- See Also:
- Constant Field Values
AndsPidResponse
public AndsPidResponse()
getXmlResponse
public String getXmlResponse()
- Returns:
- the xmlResponse
setXmlResponse
public void setXmlResponse(String xmlResponse)
- Parameters:
xmlResponse
- the xmlResponse to set
getMessage
public String getMessage()
- Returns:
- the web service response message
setMessage
public void setMessage(String message)
- Parameters:
message
- the web service response message to set
isSuccess
public boolean isSuccess()
- Returns:
- the success
setSuccess
public void setSuccess(boolean success)
- Parameters:
success
- the success to set
getHandle
public String getHandle()
- Returns:
- the handle which an ANDS PID service call mints or modifies, if no handle is found then
NO_HANDLE_FOUND
is returned.
getHandles
public List<String> getHandles()
- Returns:
- the handles
setHandles
public void setHandles(List<String> handles)
- Parameters:
handles
- the handles to set
getProperties
public List<AndsPidResponseProperty> getProperties()
- Returns:
- the properties
setProperties
public void setProperties(List<AndsPidResponseProperty> properties)
- Parameters:
properties
- the properties to set
Copyright © 2010. All Rights Reserved.