|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.model.feature.AbstractFeature
abstract class AbstractFeature
Field Summary | |
---|---|
protected java.lang.String |
description
|
protected Envelope |
envelope
|
protected boolean |
envelopeCalculated
|
protected FeatureType |
featureType
|
protected FeatureProperty |
owner
|
Constructor Summary | |
---|---|
AbstractFeature(java.lang.String id,
FeatureType featureType)
|
|
AbstractFeature(java.lang.String id,
FeatureType featureType,
FeatureProperty owner)
|
Method Summary | |
---|---|
java.lang.Object |
clone()
|
java.lang.String |
getAttribute(java.lang.String name)
Returns the attribute value of the attribute with the specified name. |
java.util.Map<java.lang.String,java.lang.String> |
getAttributes()
Returns all attributes of the feature. |
Envelope |
getBoundedBy()
Returns the envelope / boundingbox of the feature. |
java.lang.String |
getDescription()
Returns the description of the feature. |
FeatureType |
getFeatureType()
returns the FeatureType of this 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 . |
QualifiedName |
getName()
Returns the qualified name of the feature. |
FeatureProperty |
getOwner()
Returns the owner of the feature. |
protected void |
resetBounds()
resets the envelope of the feature so the next call of getBounds() will force a re-calculation |
void |
setAttribute(java.lang.String name,
java.lang.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(java.lang.String fid)
Sets the id of the feature. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.deegree.model.feature.Feature |
---|
addProperty, cloneDeep, getDefaultGeometryPropertyValue, getDefaultProperty, getDefaultProperty, getGeometryPropertyValues, getProperties, getProperties, getProperties, removeProperty, replaceProperty, setProperty |
Field Detail |
---|
protected FeatureType featureType
protected Envelope envelope
protected boolean envelopeCalculated
protected java.lang.String description
protected FeatureProperty owner
Constructor Detail |
---|
AbstractFeature(java.lang.String id, FeatureType featureType)
id
- featureType
- AbstractFeature(java.lang.String id, FeatureType featureType, FeatureProperty owner)
id
- featureType
- Method Detail |
---|
public java.lang.String getDescription()
Feature
getDescription
in interface Feature
public QualifiedName getName()
Feature
getName
in interface Feature
public Envelope getBoundedBy() throws GeometryException
null
will be returned.
getBoundedBy
in interface Feature
GeometryException
public void setEnvelopesUpdated()
setEnvelopesUpdated
in interface Feature
public FeatureProperty getOwner()
Feature
getOwner
in interface Feature
public java.lang.String getId()
getId
in interface Feature
public void setId(java.lang.String fid)
Feature
setId
in interface Feature
fid
- the id of the feature to be setpublic FeatureType getFeatureType()
getFeatureType
in interface Feature
public void setFeatureType(FeatureType ft)
setFeatureType
in interface Feature
ft
- feature type to setprotected void resetBounds()
public java.lang.String getAttribute(java.lang.String name)
getAttribute
in interface Feature
name
- name of the attribute
public java.util.Map<java.lang.String,java.lang.String> getAttributes()
getAttributes
in interface Feature
public void setAttribute(java.lang.String name, java.lang.String value)
setAttribute
in interface Feature
name
- name of the attributevalue
- value to setpublic java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in interface Feature
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
|
deegree 2.5 (2011/06/29 09:44 build-8-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://www.deegree.org