public class BasicFeature extends AbstractBasicFeature implements java.io.Serializable
| Constructor and Description | 
|---|
BasicFeature(FeatureSchema featureSchema)
Constructs a BasicFeature with the given FeatureSchema specifying the
 attribute names and types. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
java.lang.Object | 
getAttribute(int i)
Returns the specified attribute. 
 | 
java.lang.Object[] | 
getAttributes()
A low-level accessor that is not normally used. 
 | 
boolean | 
isModified()  | 
void | 
setAttribute(int attributeIndex,
            java.lang.Object newAttribute)
Sets the specified attribute. 
 | 
void | 
setAttributes(java.lang.Object[] attributes)
A low-level accessor that is not normally used. 
 | 
void | 
setModified(boolean modified)  | 
clone, clone, clone, clone, compare, compareTo, getAttribute, getDouble, getGeometry, getID, getInteger, getSchema, getString, getString, getUserData, removeAllUserData, removeUserData, setAttribute, setGeometry, setSchema, setUserDatapublic BasicFeature(FeatureSchema featureSchema)
public void setAttributes(java.lang.Object[] attributes)
setAttributes in interface Featureattributes - may have a different
 length than the current attributes.public void setAttribute(int attributeIndex,
                java.lang.Object newAttribute)
setAttribute in interface FeatureattributeIndex - the array index at which to put the new attributenewAttribute - the new attributepublic java.lang.Object getAttribute(int i)
getAttribute in interface Featurei - the index of the attribute to getpublic java.lang.Object[] getAttributes()
getAttributes in interface Featurepublic boolean isModified()
public void setModified(boolean modified)
modified - - allows the modified flag to be set or reset