public class DefaultEditableFeature extends DefaultFeature implements EditableFeature
data, referenceALL, FINISH_EDITING, UPDATE| Modifier | Constructor and Description |
|---|---|
protected |
DefaultEditableFeature(DefaultEditableFeature feature) |
protected |
DefaultEditableFeature(DefaultFeature feature) |
|
DefaultEditableFeature(DefaultFeatureStore store,
FeatureProvider data) |
| Modifier and Type | Method and Description |
|---|---|
void |
copyFrom(Feature source)
Copies the values of all attributes from the source feature to this feature
|
Feature |
getCopy()
Creates and returns a copy of this
|
EditableFeature |
getEditable()
Returns the editable instance of this Feature.
|
Feature |
getNotEditableCopy()
Returns a non editable copy of the Feature.
|
Feature |
getSource()
Returns the Feature from which this EditableFeature was created
|
void |
set(int index,
Object value)
Sets the value of an attribute given its index
|
void |
set(String name,
Object value)
Sets the value of an attribute given its name
|
void |
setArray(int index,
Object[] value)
Sets the value of an attribute of type array, given its index
|
void |
setArray(String name,
Object[] value)
Sets the value of an attribute of type array, given its name
|
void |
setBoolean(int index,
boolean value)
Sets the value of an attribute of type boolean, given its index
|
void |
setBoolean(String name,
boolean value)
Sets the value of an attribute of type boolean, given its name
|
void |
setByte(int index,
byte value)
Sets the value of an attribute of type byte, given its index
|
void |
setByte(String name,
byte value)
Sets the value of an attribute of type byte, given its name
|
void |
setDate(int index,
Date value)
Sets the value of an attribute of type date, given its index
|
void |
setDate(String name,
Date value)
Sets the value of an attribute of type date, given its name
|
void |
setDefaultGeometry(Geometry geometry)
Sets de value of the default geometry attribute.
|
void |
setDouble(int index,
double value)
Sets the value of an attribute of type double, given its index
|
void |
setDouble(String name,
double value)
Sets the value of an attribute of type double, given its name
|
void |
setFeature(int index,
Feature value)
Sets the value of an attribute of type feature, given its index
|
void |
setFeature(String name,
Feature value)
Sets the value of an attribute of type feature, given its name
|
void |
setFloat(int index,
float value)
Sets the value of an attribute of type float, given its index
|
void |
setFloat(String name,
float value)
Sets the value of an attribute of type float, given its name
|
void |
setGeometry(int index,
Geometry value)
Sets the value of an attribute of type geometry, given its index
|
void |
setGeometry(String name,
Geometry value)
Sets the value of an attribute of type geometry, given its name
|
void |
setInstant(int index,
Instant value)
Sets the value of an attribute of type instant, given its index
|
void |
setInstant(String name,
Instant value)
Sets the value of an attribute of type instant, given its name
|
void |
setInt(int index,
int value)
Sets the value of an attribute of type integer, given its index
|
void |
setInt(String name,
int value)
Sets the value of an attribute of type integer, given its name
|
void |
setInterval(int index,
Interval value)
Sets the value of an attribute of type interval, given its index
|
void |
setInterval(String name,
Interval value)
Sets the value of an attribute of type interval, given its name
|
void |
setLong(int index,
long value)
Sets the value of an attribute of type long, given its index
|
void |
setLong(String name,
long value)
Sets the value of an attribute of type long, given its name
|
void |
setString(int index,
String value)
Sets the value of an attribute of type string, given its index
|
void |
setString(String name,
String value)
Sets the value of an attribute of type string, given its name
|
clear, clone, get, get, getArray, getArray, getAsDynObject, getBoolean, getBoolean, getByte, getByte, getContextValue, getData, getDataNames, getDataTypesManager, getDataValue, getDataValues, getDate, getDate, getDefaultEnvelope, getDefaultGeometry, getDefaultSRS, getDouble, getDouble, getEvaluatorData, getFeature, getFeature, getFloat, getFloat, getGeometries, getGeometry, getGeometry, getInstant, getInstant, getInt, getInt, getInterval, getInterval, getLong, getLong, getReference, getSRSs, getStore, getString, getString, getType, hasContextValue, hasDataValue, initializeValues, initializeValues, isInserted, setData, setInserted, toString, validateequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitget, get, getArray, getArray, getAsDynObject, getBoolean, getBoolean, getByte, getByte, getDate, getDate, getDefaultEnvelope, getDefaultGeometry, getDefaultSRS, getDouble, getDouble, getEvaluatorData, getFeature, getFeature, getFloat, getFloat, getGeometries, getGeometry, getGeometry, getInstant, getInstant, getInt, getInt, getInterval, getInterval, getLong, getLong, getReference, getSRSs, getStore, getString, getString, getType, validateprotected DefaultEditableFeature(DefaultFeature feature)
protected DefaultEditableFeature(DefaultEditableFeature feature)
public DefaultEditableFeature(DefaultFeatureStore store, FeatureProvider data)
public Feature getSource()
EditableFeaturegetSource in interface EditableFeaturepublic EditableFeature getEditable()
FeaturegetEditable in interface FeaturegetEditable in class DefaultFeaturepublic Feature getCopy()
FeaturegetCopy in interface FeaturegetCopy in class DefaultFeaturepublic Feature getNotEditableCopy()
EditableFeaturegetNotEditableCopy in interface EditableFeaturepublic void setDefaultGeometry(Geometry geometry)
EditableFeaturesetDefaultGeometry in interface EditableFeaturegeometry - geometry to set.public void set(String name, Object value)
EditableFeatureset in interface EditableFeaturename - attribute's namevalue - value to setpublic void set(int index,
Object value)
EditableFeatureset in interface EditableFeatureindex - attribute's indexvalue - value to setpublic void setArray(String name, Object[] value)
EditableFeaturesetArray in interface EditableFeaturename - attribute's namevalue - value to setpublic void setArray(int index,
Object[] value)
EditableFeaturesetArray in interface EditableFeatureindex - attribute's indexvalue - value to setpublic void setBoolean(String name, boolean value)
EditableFeaturesetBoolean in interface EditableFeaturename - attribute's namevalue - value to setpublic void setBoolean(int index,
boolean value)
EditableFeaturesetBoolean in interface EditableFeatureindex - attribute's indexvalue - value to setpublic void setByte(String name, byte value)
EditableFeaturesetByte in interface EditableFeaturename - attribute's namevalue - value to setpublic void setByte(int index,
byte value)
EditableFeaturesetByte in interface EditableFeatureindex - attribute's indexvalue - value to setpublic void setDate(String name, Date value)
EditableFeaturesetDate in interface EditableFeaturename - attribute's namevalue - value to setpublic void setDate(int index,
Date value)
EditableFeaturesetDate in interface EditableFeatureindex - attribute's indexvalue - value to setpublic void setDouble(String name, double value)
EditableFeaturesetDouble in interface EditableFeaturename - attribute's namevalue - value to setpublic void setDouble(int index,
double value)
EditableFeaturesetDouble in interface EditableFeatureindex - attribute's indexvalue - value to setpublic void setFeature(String name, Feature value)
EditableFeaturesetFeature in interface EditableFeaturename - attribute's namevalue - value to setpublic void setFeature(int index,
Feature value)
EditableFeaturesetFeature in interface EditableFeatureindex - attribute's indexvalue - value to setpublic void setFloat(String name, float value)
EditableFeaturesetFloat in interface EditableFeaturename - attribute's namevalue - value to setpublic void setFloat(int index,
float value)
EditableFeaturesetFloat in interface EditableFeatureindex - attribute's indexvalue - value to setpublic void setGeometry(String name, Geometry value)
EditableFeaturesetGeometry in interface EditableFeaturename - attribute's namevalue - value to setpublic void setGeometry(int index,
Geometry value)
EditableFeaturesetGeometry in interface EditableFeatureindex - attribute's indexvalue - value to setpublic void setInt(String name, int value)
EditableFeaturesetInt in interface EditableFeaturename - attribute's namevalue - value to setpublic void setInt(int index,
int value)
EditableFeaturesetInt in interface EditableFeatureindex - attribute's indexvalue - value to setpublic void setLong(String name, long value)
EditableFeaturesetLong in interface EditableFeaturename - attribute's namevalue - value to setpublic void setLong(int index,
long value)
EditableFeaturesetLong in interface EditableFeatureindex - attribute's indexvalue - value to setpublic void setString(String name, String value)
EditableFeaturesetString in interface EditableFeaturename - attribute's namevalue - value to setpublic void setString(int index,
String value)
EditableFeaturesetString in interface EditableFeatureindex - attribute's indexvalue - value to setpublic void copyFrom(Feature source)
EditableFeaturecopyFrom in interface EditableFeaturesource - source feature from which the values will be copied.public void setInstant(String name, Instant value)
EditableFeaturesetInstant in interface EditableFeaturename - attribute's namevalue - value to setpublic void setInstant(int index,
Instant value)
EditableFeaturesetInstant in interface EditableFeatureindex - attribute's indexvalue - value to setpublic void setInterval(String name, Interval value)
EditableFeaturesetInterval in interface EditableFeaturename - attribute's namevalue - value to setpublic void setInterval(int index,
Interval value)
EditableFeaturesetInterval in interface EditableFeatureindex - attribute's indexvalue - value to set