public class Feature
extends java.lang.Object
implements java.io.Serializable
${services_components_commontypes_Feature_Title}
${services_components_commontypes_Feature_Description}
| Modifier and Type | Field and Description |
|---|---|
java.lang.String[] |
fieldNames
${services_components_commontypes_Feature_attribute_fieldNames_Title}
|
java.lang.String[] |
fieldValues
${services_components_commontypes_Feature_attribute_fieldValues_Title}
|
Geometry |
geometry
${services_components_commontypes_Feature_attribute_geometry_Title}
|
| Constructor and Description |
|---|
Feature()
The Constructor.
|
Feature(Feature feature)
Copy constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj)
Determine whether the specified object is equal to the current object
Feature. |
int |
getID()
Gets feature ID.
|
int |
hashCode()
the hash code of the feature object
|
void |
setID(int id)
Set the ID of the feature
|
public Geometry geometry
${services_components_commontypes_Feature_attribute_geometry_Title}
${services_components_commontypes_Feature_attribute_geometry_Description}
public java.lang.String[] fieldValues
${services_components_commontypes_Feature_attribute_fieldValues_Title}
${services_components_commontypes_Feature_attribute_fieldValues_Description}
public java.lang.String[] fieldNames
${services_components_commontypes_Feature_attribute_fieldNames_Title}
${services_components_commontypes_Feature_attribute_fieldNames_Description}
public Feature()
The Constructor.
public Feature(Feature feature)
Copy constructor.
feature - Feture object.public int getID()
Gets feature ID.
The ID of the feature is corresponding to the ID of Geometry, this is SMID in SuperMap SMID in SuperMap
public void setID(int id)
Set the ID of the feature
id - ID numberpublic int hashCode()
the hash code of the feature object
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
Determine whether the specified object is equal to the current object Feature.
equals in class java.lang.Objectobj - Object that compares with the current Feature object.