org.geotools.data.wfs
Class TransactionResult

java.lang.Object
  extended byorg.geotools.data.wfs.TransactionResult

public class TransactionResult
extends java.lang.Object

DOCUMENT ME!

Author:
dzwiers

Field Summary
static int FAILED
          failed
static int NO_STATUS
          no status
static int PARTIAL
          partial
static int SUCCESS
          success
 
Constructor Summary
TransactionResult(int status, FidFilter insertResult, org.xml.sax.SAXException error)
           
TransactionResult(int status, FidFilter insertResult, java.lang.String locator, java.lang.String message)
           
 
Method Summary
 org.xml.sax.SAXException getError()
          DOCUMENT ME!
 FidFilter getInsertResult()
          DOCUMENT ME!
 int getStatus()
          DOCUMENT ME!
static int parseStatus(java.lang.String s)
           
static java.lang.String printStatus(int i)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NO_STATUS

public static final int NO_STATUS
no status

See Also:
Constant Field Values

SUCCESS

public static final int SUCCESS
success

See Also:
Constant Field Values

FAILED

public static final int FAILED
failed

See Also:
Constant Field Values

PARTIAL

public static final int PARTIAL
partial

See Also:
Constant Field Values
Constructor Detail

TransactionResult

public TransactionResult(int status,
                         FidFilter insertResult,
                         org.xml.sax.SAXException error)
Parameters:
status -
insertResult -
error -

TransactionResult

public TransactionResult(int status,
                         FidFilter insertResult,
                         java.lang.String locator,
                         java.lang.String message)
Parameters:
status -
insertResult -
locator - nullable
message -
Method Detail

parseStatus

public static int parseStatus(java.lang.String s)
Parameters:
s -
Returns:
one of the constant status'

printStatus

public static java.lang.String printStatus(int i)
Parameters:
i -
Returns:
String representation of the constant value in i

getError

public org.xml.sax.SAXException getError()
DOCUMENT ME!

Returns:
Returns the error.

getInsertResult

public FidFilter getInsertResult()
DOCUMENT ME!

Returns:
Returns the insertResult.

getStatus

public int getStatus()
DOCUMENT ME!

Returns:
Returns the status.


Copyright © GeoTools. All Rights Reserved.