|
deegree 2.2 (2008/12/22 11:33 build-3038-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.io.datastore.sql.transaction.delete.FeatureNode
class FeatureNode
A node of a FeatureGraph. Represents one Feature instance which must or must not
be deleted during a Delete operation.
FeatureGraph| Constructor Summary | |
|---|---|
FeatureNode(FeatureGraph graph,
FeatureId fid,
Map<MappedFeaturePropertyType,List<FeatureId>> subFeatureProperties,
Set<FeatureId> superFeatures)
Creates a new FeatureNode instance that represents the feature with the given
FeatureId. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
(package private) FeatureId |
getFid()
Returns the associated FeatureId. |
(package private) Set<FeatureId> |
getSubFeatureIds()
Returns the ids of all subfeatures of the represented feature. |
(package private) List<FeatureId> |
getSubFeatureIds(MappedFeaturePropertyType pt)
Returns the ids of all subfeatures stored in the specified property of the represented feature. |
(package private) List<FeatureNode> |
getSubFeatures()
Returns all subfeatures of the represented feature. |
(package private) Set<FeatureId> |
getSuperFeatureIds()
Returns the ids of all superfeatures of the represented feature (features that contain the represented feature as a subfeature). |
int |
hashCode()
|
(package private) boolean |
isDeletable()
Returns whether the represented feature may be deleted. |
(package private) void |
markAsUndeletable()
Marks this feature as undeletable. |
(package private) String |
toString(String indent,
Set<FeatureNode> printedNodes)
Generates an indented string representation of this FeatureNode and all it's
descendant subfeatures. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
FeatureNode(FeatureGraph graph,
FeatureId fid,
Map<MappedFeaturePropertyType,List<FeatureId>> subFeatureProperties,
Set<FeatureId> superFeatures)
FeatureNode instance that represents the feature with the given
FeatureId.
graph - FeatureGraph that the node belongs tofid - id of the represented featuresubFeatureProperties - complex property types of the feature and the ids of the subfeatures that they
containsuperFeatures - ids of all features that contain the represented feature as a subfeature| Method Detail |
|---|
FeatureId getFid()
FeatureId.
FeatureIdSet<FeatureId> getSubFeatureIds()
List<FeatureId> getSubFeatureIds(MappedFeaturePropertyType pt)
List<FeatureNode> getSubFeatures()
Set<FeatureId> getSuperFeatureIds()
boolean isDeletable()
void markAsUndeletable()
public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
String toString(String indent,
Set<FeatureNode> printedNodes)
FeatureNode and all it's
descendant subfeatures.
indent - current indentation (string consisting of spaces)printedNodes - FeatureNodes that have all ready been encountered (to avoid
endless recursion)
|
deegree 2.2 (2008/12/22 11:33 build-3038-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