|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.moximedia.aims.AimsFeature
The AimsFeature class is used to store a record associated with a recordset.
| Constructor Summary | |
AimsFeature()
Creates a new instance of AimsFeature. |
|
AimsFeature(java.lang.String id,
boolean isNew)
Creates a new instance of AimsFeature. |
|
| Method Summary | |
void |
addFieldValue(java.lang.String name,
java.lang.String value)
Creates a new field and sets its value. |
AimsEnvelope |
getExtent()
Gets the extent of the feature's geometry. |
java.lang.String[] |
getFieldNames()
Gets the names of the fields in this feature. |
java.lang.String |
getFieldValue(java.lang.String fieldName)
Gets the value of the specified field. |
java.lang.String |
getId()
Gets the ID of the feature. |
AimsShapeObject |
getShape()
Gets the geometry of the feature. |
boolean |
isNew()
Returns an indicator of wheter the feature is new, used in editing. |
void |
setExtent(AimsEnvelope ext)
Sets the extent of the feature. |
void |
setFieldValue(java.lang.String name,
java.lang.String value)
Sets a field value, creating a new field if necessary. |
void |
setId(java.lang.String id)
Sets the feature ID. |
void |
setShape(AimsShapeObject shape)
Sets the shape geometry for this feature. |
java.lang.String |
toGmlString()
Returns a GML string representing this feature's fields and geometry. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AimsFeature()
public AimsFeature(java.lang.String id,
boolean isNew)
id - The feature ID.isNew - An indicator of wheter the feature is new, used in editing.| Method Detail |
public boolean isNew()
public java.lang.String[] getFieldNames()
public void setFieldValue(java.lang.String name,
java.lang.String value)
name - The name of the field.value - The value of the field.
public void addFieldValue(java.lang.String name,
java.lang.String value)
name - The name of the field.value - The value of the field.public AimsEnvelope getExtent()
public java.lang.String getFieldValue(java.lang.String fieldName)
fieldName - The name of the field.
public java.lang.String getId()
public AimsShapeObject getShape()
public void setId(java.lang.String id)
id - The feature ID.public void setExtent(AimsEnvelope ext)
ext - The extent.public void setShape(AimsShapeObject shape)
shape - The shape geometry.public java.lang.String toGmlString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||