deegree 2.5 (2011/06/29 09:44 build-8-official)

org.deegree.io.datastore.sql.wherebuilder
Class FeaturePropertyNode

java.lang.Object
  extended by org.deegree.io.datastore.sql.wherebuilder.AbstractPropertyNode
      extended by org.deegree.io.datastore.sql.wherebuilder.FeaturePropertyNode
All Implemented Interfaces:
PropertyNode

 class FeaturePropertyNode
extends AbstractPropertyNode

Represents a MappedFeaturePropertyType as a node in a QueryTableTree.

Version:
$Revision: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Do, 18 Jun 2009) $
Author:
Markus Schneider , last edited by: $Author: mschneider $

Constructor Summary
FeaturePropertyNode(MappedFeaturePropertyType property, FeatureTypeNode parent, java.lang.String[] tableAliases)
          Creates a new FeaturePropertyNode instance from the given parameters.
 
Method Summary
 void addFeatureTypeNode(FeatureTypeNode newFeatureTypeNode)
          Adds a new child to this FeaturePropertyNode.
 FeatureTypeNode[] getFeatureTypeNodes()
          Returns the children of this FeaturePropertyNode.
 java.lang.String toString(java.lang.String indent)
          Returns an indented string representation of the object.
 
Methods inherited from class org.deegree.io.datastore.sql.wherebuilder.AbstractPropertyNode
getParent, getPathFromParent, getProperty, getTableAliases
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FeaturePropertyNode

FeaturePropertyNode(MappedFeaturePropertyType property,
                    FeatureTypeNode parent,
                    java.lang.String[] tableAliases)
Creates a new FeaturePropertyNode instance from the given parameters.

Parameters:
property - the PropertyType that this FeaturePropertyNode represents
parent -
tableAliases - the aliases for the tables that lead from the parent feature type node's table to the table where the property's value is stored
Method Detail

getFeatureTypeNodes

public FeatureTypeNode[] getFeatureTypeNodes()
Returns the children of this FeaturePropertyNode.

Returns:
the children of this FeaturePropertyNode.

addFeatureTypeNode

public void addFeatureTypeNode(FeatureTypeNode newFeatureTypeNode)
Adds a new child to this FeaturePropertyNode.

Parameters:
newFeatureTypeNode - child node to add

toString

public java.lang.String toString(java.lang.String indent)
Description copied from class: AbstractPropertyNode
Returns an indented string representation of the object.

Specified by:
toString in interface PropertyNode
Specified by:
toString in class AbstractPropertyNode
Parameters:
indent - current indentation (contains spaces to be prepended)
Returns:
an indented string representation of the object

deegree 2.5 (2011/06/29 09:44 build-8-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org