org.apache.ws.scout.registry
Class JAXRResponseImpl

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

public class JAXRResponseImpl
extends Object
implements 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
 String getRequestId()
           
 int getStatus()
           
 boolean isAvailable()
           
 void setAvailable(boolean b)
           
 void setRequestId(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 String getRequestId()
                    throws JAXRException
Specified by:
getRequestId in interface JAXRResponse
Throws:
JAXRException

setRequestId

public void setRequestId(String s)

getStatus

public int getStatus()
              throws JAXRException
Specified by:
getStatus in interface JAXRResponse
Throws:
JAXRException

setStatus

public void setStatus(int s)

setAvailable

public void setAvailable(boolean b)

isAvailable

public boolean isAvailable()
                    throws JAXRException
Specified by:
isAvailable in interface JAXRResponse
Throws:
JAXRException


Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.