|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree_impl.model.feature.Feature_Impl
Features are, according to the Abstract Specification, digital representations of real world entities. Feature Identity thus refers to mechanisms to identify such representations: not to identify the real world entities that are the subject of a representation. Thus two different representations of a real world entity (say the Mississippi River) will be two different features with distinct identities. Real world identification systems, such as title numbers, while possibly forming a sound basis for an implementation of a feature identity mechanism, are not of themselves such a mechanism.
-----------------------------------------------------------------------
Field Summary | |
protected GM_Envelope |
envelope
|
protected FeatureType |
featureType
|
protected java.util.ArrayList |
geoProps
|
protected java.lang.String |
id
|
protected java.util.HashMap |
properties
|
protected java.lang.Object[] |
propRef
|
Constructor Summary | |
protected |
Feature_Impl(java.lang.String id,
FeatureType featureType,
FeatureProperty[] properties)
initializes a feature with its id its FeatureType and an array of properties. |
(package private) |
Feature_Impl(java.lang.String id,
FeatureType featureType,
java.lang.Object[] properties)
initializes a feature with its id its FeatureType and an array of properties. |
Method Summary | |
GM_Object |
getDefaultGeometryProperty()
Returns the default geometry of the Feature. |
GM_Envelope |
getEnvelope()
returns the envelope / boundingbox of the feature |
FeatureType |
getFeatureType()
returns the FeatureType of this Feature |
GM_Object[] |
getGeometryProperties()
returns all geometry properties of the feature. |
java.lang.String |
getId()
returns the id of the Feature. the id has to be a name space that must be unique for each feature. use the adress of the datasource in addition to a number for example . |
java.lang.Object[] |
getProperties()
returns the properties of the feature as array of Objects |
java.lang.Object |
getProperty(int index)
returns the property of the feature that matches the submitted index |
java.lang.Object |
getProperty(java.lang.String name)
returns the property of the feature that matches the submitted name TODO --> throw ModelException |
void |
setProperty(FeatureProperty property)
the value for the submitted property. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected java.lang.String id
protected FeatureType featureType
protected java.util.ArrayList geoProps
protected java.util.HashMap properties
protected java.lang.Object[] propRef
protected GM_Envelope envelope
Constructor Detail |
Feature_Impl(java.lang.String id, FeatureType featureType, java.lang.Object[] properties)
protected Feature_Impl(java.lang.String id, FeatureType featureType, FeatureProperty[] properties)
Method Detail |
public java.lang.String getId()
getId
in interface Feature
public FeatureType getFeatureType()
getFeatureType
in interface Feature
public java.lang.Object[] getProperties()
getProperties
in interface Feature
public java.lang.Object getProperty(java.lang.String name)
getProperty
in interface Feature
public java.lang.Object getProperty(int index)
getProperty
in interface Feature
public GM_Object[] getGeometryProperties()
getGeometryProperties
in interface Feature
public GM_Object getDefaultGeometryProperty()
getDefaultGeometryProperty
in interface Feature
public void setProperty(FeatureProperty property)
setProperty
in interface Feature
public GM_Envelope getEnvelope()
getEnvelope
in interface Feature
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |