org.deegree_impl.services.wcas.protocol
Class CASInsertResult_Impl
java.lang.Object
org.deegree_impl.services.wcas.protocol.CASInsertResult_Impl
- All Implemented Interfaces:
- CASInsertResult
- final class CASInsertResult_Impl
- extends java.lang.Object
- implements CASInsertResult
The element is used to delimit one or more
feature identifiers of newly created features. The insert results
are reported in the order in which the operations were
specified in the request. Additionally, they can
be correlated using the handle attribute.
--------------------------------------------------------
- Version:
- $Revision: 1.5 $ $Date: 2004/03/29 10:39:04 $
- Author:
- Andreas Poth
Field Summary |
private java.util.ArrayList |
featureIds
|
private java.lang.String |
handle
|
Constructor Summary |
(package private) |
CASInsertResult_Impl(java.lang.String handle,
java.lang.String[] featureIds)
Creates a new CASInsertResult_Impl object. |
Method Summary |
void |
addFeatureId(java.lang.String featureId)
|
java.lang.String[] |
getFeatureIds()
Returns the ids of the inserted features |
java.lang.String |
getHandle()
The handle attribute is included to allow a server to associate
any text to the response. |
void |
setFeatureIds(java.lang.String[] featureIds)
|
void |
setHandle(java.lang.String handle)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
featureIds
private java.util.ArrayList featureIds
handle
private java.lang.String handle
CASInsertResult_Impl
CASInsertResult_Impl(java.lang.String handle,
java.lang.String[] featureIds)
- Creates a new CASInsertResult_Impl object.
- Parameters:
handle
- featureIds
-
getHandle
public java.lang.String getHandle()
- The handle attribute is included to allow a server to associate
any text to the response. The purpose of the handle attribute
is to provide an error handling mechanism for locating
a statement that might fail. Or to identify an InsertResult.
- Specified by:
getHandle
in interface CASInsertResult
setHandle
public void setHandle(java.lang.String handle)
- See Also:
getHandle()
getFeatureIds
public java.lang.String[] getFeatureIds()
- Returns the ids of the inserted features
- Specified by:
getFeatureIds
in interface CASInsertResult
addFeatureId
public void addFeatureId(java.lang.String featureId)
- See Also:
getFeatureIds()
setFeatureIds
public void setFeatureIds(java.lang.String[] featureIds)
- See Also:
getFeatureIds()