|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.moximedia.ows.Feature
The Feature class is used to store a record associated with a recordset.
| Constructor Summary | |
Feature()
Create a new Feature object |
|
| Method Summary | |
java.lang.Object |
clone()
Creates a clone of this object. |
Feature |
getCopy()
Creates a copy of this object. |
java.lang.String |
getFeatureId()
Returns the feature ID, if there is one. |
Geometry |
getFieldGeometry(java.lang.String fieldName)
Gets the value of the specified field. |
java.lang.String[] |
getFieldNames()
Returns an array of field names contained in the feature. |
java.util.ArrayList |
getFields()
Returns the array of field objects associated to this feature. |
java.lang.String |
getFieldValue(java.lang.String fieldName)
Gets the value of the specified field. |
Geometry |
getGeometry()
Gets the geometry of this feature. |
boolean |
hasField(java.lang.String fieldName)
Returns an indicator of whether the field exists. |
void |
initFieldGeometry(java.lang.String name,
Geometry geom)
Sets the value of the specified field. |
void |
initFieldValue(java.lang.String name,
Geometry geom)
Sets the value of the specified field. |
void |
initFieldValue(java.lang.String name,
java.lang.String value)
Sets the value of the specified field. |
void |
setFeatureId(java.lang.String fid)
Sets the feature ID. |
void |
setFieldGeometry(java.lang.String name,
Geometry geom)
Sets the value of the specified field. |
void |
setFieldNames(java.util.ArrayList fieldNames)
Sets the field names. |
void |
setFieldValue(java.lang.String name,
java.lang.String value)
Sets the value of the specified field. |
void |
setGeometry(Geometry geom)
Sets the feature geometry. |
void |
setXmlAttribute(java.lang.String element,
java.lang.String name,
java.lang.String value)
Sets one of the attributes of this object using a string value. |
int |
size()
Returns a count of the number of fields in the feature. |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Feature()
| Method Detail |
public java.lang.Object clone()
public Feature getCopy()
public Geometry getGeometry()
public void setGeometry(Geometry geom)
geom - The feature geometry.public int size()
public java.lang.String[] getFieldNames()
public void setFieldNames(java.util.ArrayList fieldNames)
fieldNames - An array of String objects containing the field names.public java.lang.String getFeatureId()
public void setFeatureId(java.lang.String fid)
fid - The feature id.public Geometry getFieldGeometry(java.lang.String fieldName)
fieldName - The field name to get.
public java.lang.String getFieldValue(java.lang.String fieldName)
fieldName - The field name to get.
public void setFieldValue(java.lang.String name,
java.lang.String value)
name - The name of the field.value - The field value.
public void setFieldGeometry(java.lang.String name,
Geometry geom)
name - The name of the field.geom - The field geometry.
public void initFieldValue(java.lang.String name,
java.lang.String value)
name - The name of the field.value - The field value.
public void initFieldValue(java.lang.String name,
Geometry geom)
name - The name of the field.geom - The field geometry.
public void initFieldGeometry(java.lang.String name,
Geometry geom)
name - The name of the field.geom - The field geometry.
public void setXmlAttribute(java.lang.String element,
java.lang.String name,
java.lang.String value)
element - The XML element tag containing this attribute.name - The XML attribute name.value - The XML attribute value.public java.util.ArrayList getFields()
public boolean hasField(java.lang.String fieldName)
fieldName - The field name to test.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||