@Api(allMethods=true) public class FeatureTransaction extends Object implements Serializable
InternalFeature. This object can be sent to the client.| Constructor and Description |
|---|
FeatureTransaction()
Default constructor - does nothing.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getLayerId()
Get the identifier of the vector layer wherein this transaction should take place.
|
Feature[] |
getNewFeatures()
Return the list of features with the new values.
|
Feature[] |
getOldFeatures()
Returns the array of features with their original values.
|
void |
setLayerId(String layerId)
Set the identifier of the vector layer wherein this transaction should take place.
|
void |
setNewFeatures(Feature[] newFeatures)
Set the list of features with the new values.
|
void |
setOldFeatures(Feature[] oldFeatures)
Set the array of features with their original values.
|
String |
toString() |
public FeatureTransaction()
public String getLayerId()
public void setLayerId(String layerId)
layerId - The layer's identifier.public Feature[] getOldFeatures()
public void setOldFeatures(Feature[] oldFeatures)
oldFeatures - The original feature array.public Feature[] getNewFeatures()
public void setNewFeatures(Feature[] newFeatures)
newFeatures - the new values for each of the featuresCopyright © 2015 Geosparc. All Rights Reserved.