| org.deegree.model.feature.Feature
All known Subclasses: org.deegree.model.feature.AbstractFeature, org.deegree.graphics.displayelements.ScaledFeature,
Feature | public interface Feature (Code) | | 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.
author: Andreas Poth author: Markus Schneider version: $Revision: 9343 $ $Date: 2007-12-27 05:30:32 -0800 (Thu, 27 Dec 2007) $ |
addProperty | void addProperty(FeatureProperty property)(Code) | | Adds the given property to the feature's properties. The position of the property is
determined by the feature type. If the feature already has a property with this name, it is
inserted behind it.
Parameters: property - property to insert |
getAttribute | String getAttribute(String name)(Code) | | Returns the attribute value of the attribute with the specified name.
Parameters: name - name of the attribute the attribute value |
getAttributes | Map<String, String> getAttributes()(Code) | | Returns all attributes of the feature.
all attributes, keys are names, values are attribute values |
getDefaultGeometryPropertyValue | Geometry getDefaultGeometryPropertyValue()(Code) | | Returns the value of the default geometry property of the feature. If the feature has no
geometry property, this is a Point at the coordinates (0,0).
default geometry or Point at (0,0) if feature has no geometry |
getDefaultProperty | FeatureProperty getDefaultProperty(QualifiedName name)(Code) | | Returns the first property of the feature with the given name.
Parameters: name - name of the property to look up the first property of the feature with the given name or null if the feature has nosuch property |
getDescription | String getDescription()(Code) | | Returns the description of the feature.
the description of the feature. |
getFeatureType | FeatureType getFeatureType()(Code) | | Returns the feature type of this feature.
the feature type of this feature |
getGeometryPropertyValues | Geometry[] getGeometryPropertyValues()(Code) | | Returns the values of all geometry properties of the feature.
the values of all geometry properties of the feature, or a zero-length array if thefeature has no geometry properties |
getId | String getId()(Code) | | Returns the id of the feature.
the id of the feature |
getName | QualifiedName getName()(Code) | | Returns the qualified name of the feature.
the qualified name of the feature |
getOwner | FeatureProperty getOwner()(Code) | | Returns the owner of the feature. This is the feature property that has this feature as value
or null if this feature is a root feature.
the owner of the feature, or null if the feature does not belong to a featureproperty |
getProperties | FeatureProperty[] getProperties()(Code) | | Returns all properties of the feature in their original order.
all properties of the feature |
getProperties | FeatureProperty[] getProperties(QualifiedName name)(Code) | | Returns the properties of the feature with the given name in their original order.
Parameters: name - name of the properties to look up the properties of the feature with the given name or null if the feature has noproperty with that name |
getProperties | FeatureProperty[] getProperties(int index)(Code) | | Returns the properties of the feature at the submitted index of the feature type definition.
Parameters: index - index of the properties to look up the properties of the feature at the submitted index |
removeProperty | void removeProperty(QualifiedName propertyName)(Code) | | Removes the properties with the given name.
Parameters: propertyName - name of the properties to remove |
replaceProperty | void replaceProperty(FeatureProperty oldProperty, FeatureProperty newProperty)(Code) | | Replaces the given property with a new one.
Parameters: oldProperty - property to be replaced Parameters: newProperty - new property |
setAttribute | void setAttribute(String name, String value)(Code) | | Sets the value of the attribute with the given name.
Parameters: name - name of the attribute Parameters: value - value to set |
setEnvelopesUpdated | public void setEnvelopesUpdated()(Code) | | Signals that the envelopes of the geometry properties have been updated.
|
setFeatureType | void setFeatureType(FeatureType ft)(Code) | | Sets the feature type of this feature.
Parameters: ft - feature type to set |
setId | void setId(String fid)(Code) | | Sets the id of the feature.
Parameters: fid - the id of the feature to be set |
setProperty | void setProperty(FeatureProperty property, int index)(Code) | | Sets the value for the given property. The index is needed to specify the occurences of the
property that is to be replaced. Set to 0 for properties that may only occur once.
Parameters: property - property name and the property's new value Parameters: index - position of the property that is to be replaced |
|
|