| 
deegree 2.1 (2007/11/08 09:57 build-328-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Feature
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.
| Method Summary | |
|---|---|
 void | 
addProperty(FeatureProperty property)
Adds the given property to the feature's properties.  | 
 String | 
getAttribute(String name)
Returns the attribute value of the attribute with the specified name.  | 
 Map<String,String> | 
getAttributes()
Returns all attributes of the feature.  | 
 Envelope | 
getBoundedBy()
Returns the envelope / bounding box of the feature.  | 
 Geometry | 
getDefaultGeometryPropertyValue()
Returns the value of the default geometry property of the feature.  | 
 FeatureProperty | 
getDefaultProperty(PropertyPath path)
Returns the property of the feature identified by the given PropertyPath. | 
 FeatureProperty | 
getDefaultProperty(QualifiedName name)
Returns the first property of the feature with the given name.  | 
 String | 
getDescription()
Returns the description of the feature.  | 
 FeatureType | 
getFeatureType()
Returns the feature type of this feature.  | 
 Geometry[] | 
getGeometryPropertyValues()
Returns the values of all geometry properties of the feature.  | 
 String | 
getId()
Returns the id of the feature.  | 
 QualifiedName | 
getName()
Returns the qualified name of the feature.  | 
 FeatureProperty | 
getOwner()
Returns the owner of the feature.  | 
 FeatureProperty[] | 
getProperties()
Returns all properties of the feature in their original order.  | 
 FeatureProperty[] | 
getProperties(int index)
Deprecated.  | 
 FeatureProperty[] | 
getProperties(QualifiedName name)
Returns the properties of the feature with the given name in their original order.  | 
 void | 
removeProperty(QualifiedName propertyName)
Removes the properties with the given name.  | 
 void | 
replaceProperty(FeatureProperty oldProperty,
                               FeatureProperty newProperty)
Replaces the given property with a new one.  | 
 void | 
setAttribute(String name,
                         String value)
Sets the value of the attribute with the given name.  | 
 void | 
setEnvelopesUpdated()
Signals that the envelopes of the geometry properties have been updated.  | 
 void | 
setFeatureType(FeatureType ft)
Sets the feature type of this feature.  | 
 void | 
setId(String fid)
Sets the id of the feature.  | 
 void | 
setProperty(FeatureProperty property,
                       int index)
Sets the value for the given property.  | 
| Method Detail | 
|---|
QualifiedName getName()
String getDescription()
String getId()
void setId(String fid)
fid - the id of the feature to be setFeatureType getFeatureType()
void setFeatureType(FeatureType ft)
ft - feature type to setFeatureProperty[] getProperties()
FeatureProperty getDefaultProperty(QualifiedName name)
name - name of the property to look up
FeatureProperty getDefaultProperty(PropertyPath path)
                                   throws PropertyPathResolvingException
PropertyPath.
 
 NOTE: Current implementation does not handle multiple properties (on the path) or index
 addressing in the path.
path - the path of the property to look up
PropertyPathResolvingExceptionPropertyPathFeatureProperty[] getProperties(QualifiedName name)
name - name of the properties to look up
@Deprecated FeatureProperty[] getProperties(int index)
index - index of the properties to look up
Geometry[] getGeometryPropertyValues()
Geometry getDefaultGeometryPropertyValue()
void setProperty(FeatureProperty property,
                 int index)
property - property name and the property's new valueindex - position of the property that is to be replacedvoid addProperty(FeatureProperty property)
property - property to insertvoid removeProperty(QualifiedName propertyName)
propertyName - name of the properties to remove
void replaceProperty(FeatureProperty oldProperty,
                     FeatureProperty newProperty)
oldProperty - property to be replacednewProperty - new property
Envelope getBoundedBy()
                      throws GeometryException
GeometryExceptionFeatureProperty getOwner()
String getAttribute(String name)
name - name of the attribute
Map<String,String> getAttributes()
void setAttribute(String name,
                  String value)
name - name of the attributevalue - value to setvoid setEnvelopesUpdated()
  | 
deegree 2.1 (2007/11/08 09:57 build-328-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
an open source project founded by lat/lon, Bonn, Germany.
					For more information visit: http://deegree.sourceforge.net