|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectes.prodevelop.gvsig.mobile.fmap.core.DefaultRow
es.prodevelop.gvsig.mobile.fmap.core.DefaultFeature
This class encapsulates a geometry and its attributes.
Constructor Summary | |
DefaultFeature(IGeometry geom,
com.hardcode.gdbms.engine.values.Value[] att)
Deprecated. Dont use it, please. Instead, use DefaultFeature(IGeometry, Value[], String ID). You shoud know the correct ID of a feature. |
|
DefaultFeature(IGeometry geom,
com.hardcode.gdbms.engine.values.Value[] att,
java.lang.String id)
Constructor. |
Method Summary | |
IRow |
cloneRow()
Cones the current object |
IGeometry |
getGeometry()
gets the geometry of this feature. |
void |
setGeometry(IGeometry g)
Sets the geometry of this feature- |
Methods inherited from class es.prodevelop.gvsig.mobile.fmap.core.DefaultRow |
getAttribute, getAttributes, getID, setAttributes, setID |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface es.prodevelop.gvsig.mobile.fmap.core.IRow |
getAttribute, getAttributes, getID, setAttributes, setID |
Constructor Detail |
public DefaultFeature(IGeometry geom, com.hardcode.gdbms.engine.values.Value[] att)
geom
- att
- public DefaultFeature(IGeometry geom, com.hardcode.gdbms.engine.values.Value[] att, java.lang.String id)
geom
- the geometry of the new featureatt
- the array of attributes of this featureid
- the ID of this featureMethod Detail |
public IGeometry getGeometry()
getGeometry
in interface IFeature
com.iver.cit.gvsig.fmap.core.IFeature#getGeometry()
public IRow cloneRow()
DefaultRow
cloneRow
in interface IRow
cloneRow
in class DefaultRow
public void setGeometry(IGeometry g)
setGeometry
in interface IFeature
g
- the new geometry of this feature
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |