|
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.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,
java.util.Map<MappedFeaturePropertyType,java.util.List<FeatureId>> subFeatureProperties,
java.util.Set<FeatureId> superFeatures)
Creates a new FeatureNode instance that represents the feature with the given FeatureId . |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
(package private) FeatureId |
getFid()
Returns the associated FeatureId . |
(package private) java.util.Set<FeatureId> |
getSubFeatureIds()
Returns the ids of all subfeatures of the represented feature. |
(package private) java.util.List<FeatureId> |
getSubFeatureIds(MappedFeaturePropertyType pt)
Returns the ids of all subfeatures stored in the specified property of the represented feature. |
(package private) java.util.List<FeatureNode> |
getSubFeatures()
Returns all subfeatures of the represented feature. |
(package private) java.util.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) java.lang.String |
toString(java.lang.String indent,
java.util.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, java.util.Map<MappedFeaturePropertyType,java.util.List<FeatureId>> subFeatureProperties, java.util.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 subfeatureMethod Detail |
---|
FeatureId getFid()
FeatureId
.
FeatureId
java.util.Set<FeatureId> getSubFeatureIds()
java.util.List<FeatureId> getSubFeatureIds(MappedFeaturePropertyType pt)
pt
- property type
java.util.List<FeatureNode> getSubFeatures()
java.util.Set<FeatureId> getSuperFeatureIds()
boolean isDeletable()
void markAsUndeletable()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
java.lang.String toString(java.lang.String indent, java.util.Set<FeatureNode> printedNodes)
FeatureNode
and all it's descendant subfeatures.
indent
- current indentation (string consisting of spaces)printedNodes
- FeatureNode
s that have all ready been encountered (to avoid endless recursion)
|
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