org.apache.ws.scout.registry
Class JAXRResponseImpl

java.lang.Object
  extended by org.apache.ws.scout.registry.JAXRResponseImpl
All Implemented Interfaces:
javax.xml.registry.JAXRResponse
Direct Known Subclasses:
BulkResponseImpl

public class JAXRResponseImpl
extends java.lang.Object
implements javax.xml.registry.JAXRResponse

Implementation of JAXRResponse

Author:
Geir Magnusson Jr.

Field Summary
static int STATUS_FAILURE
           
static int STATUS_SUCCESS
           
static int STATUS_UNAVAILABLE
           
static int STATUS_WARNING
           
 
Constructor Summary
JAXRResponseImpl()
           
 
Method Summary
 java.lang.String getRequestId()
           
 int getStatus()
           
 boolean isAvailable()
           
 void setAvailable(boolean b)
           
 void setRequestId(java.lang.String s)
           
 void setStatus(int s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STATUS_SUCCESS

public static final int STATUS_SUCCESS
See Also:
Constant Field Values

STATUS_FAILURE

public static final int STATUS_FAILURE
See Also:
Constant Field Values

STATUS_UNAVAILABLE

public static final int STATUS_UNAVAILABLE
See Also:
Constant Field Values

STATUS_WARNING

public static final int STATUS_WARNING
See Also:
Constant Field Values
Constructor Detail

JAXRResponseImpl

public JAXRResponseImpl()
Method Detail

getRequestId

public java.lang.String getRequestId()
                              throws javax.xml.registry.JAXRException
Specified by:
getRequestId in interface javax.xml.registry.JAXRResponse
Throws:
javax.xml.registry.JAXRException

setRequestId

public void setRequestId(java.lang.String s)

getStatus

public int getStatus()
              throws javax.xml.registry.JAXRException
Specified by:
getStatus in interface javax.xml.registry.JAXRResponse
Throws:
javax.xml.registry.JAXRException

setStatus

public void setStatus(int s)

setAvailable

public void setAvailable(boolean b)

isAvailable

public boolean isAvailable()
                    throws javax.xml.registry.JAXRException
Specified by:
isAvailable in interface javax.xml.registry.JAXRResponse
Throws:
javax.xml.registry.JAXRException


Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.