org.geotools.data.complex
Class TreeAttributeMapping

java.lang.Object
  extended by org.geotools.data.complex.AttributeMapping
      extended by org.geotools.data.complex.TreeAttributeMapping

public class TreeAttributeMapping
extends AttributeMapping

An attributeMapping implementation that is part of a tree hierachy, defined in a single mapping file.

Version:
$Id: TreeAttributeMapping.java 34061 2009-10-05 06:31:55Z bencaradocdavies $
Author:
Russell Petty, GSV

Constructor Summary
TreeAttributeMapping(org.opengis.filter.expression.Expression idExpression, org.opengis.filter.expression.Expression parentExpression, XPath.StepList targetXPath, org.opengis.feature.type.AttributeType expectedInstanceOf, boolean isMultiValued, java.util.Map<org.opengis.feature.type.Name,org.opengis.filter.expression.Expression> clientProperties, java.lang.String label, java.lang.String parentLabel, java.lang.String targetQueryString, java.lang.String instanceXpath)
          Sole constructor
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getInstanceXpath()
           
 java.lang.String getLabel()
           
 java.lang.String getParentLabel()
           
 java.lang.String getTargetQueryString()
           
 int hashCode()
           
 boolean isTreeAttribute()
          This is overridden by TreeAttributeMapping
 
Methods inherited from class org.geotools.data.complex.AttributeMapping
getClientProperties, getIdentifierExpression, getSourceExpression, getTargetNodeInstance, getTargetXPath, isMultiValued, isNestedAttribute, setIdentifierExpression, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TreeAttributeMapping

public TreeAttributeMapping(org.opengis.filter.expression.Expression idExpression,
                            org.opengis.filter.expression.Expression parentExpression,
                            XPath.StepList targetXPath,
                            org.opengis.feature.type.AttributeType expectedInstanceOf,
                            boolean isMultiValued,
                            java.util.Map<org.opengis.feature.type.Name,org.opengis.filter.expression.Expression> clientProperties,
                            java.lang.String label,
                            java.lang.String parentLabel,
                            java.lang.String targetQueryString,
                            java.lang.String instanceXpath)
Sole constructor

Parameters:
idExpression -
parentExpression -
targetXPath -
targetNodeInstance -
isMultiValued -
clientProperties -
sourceElement - parent feature element type
sourcePath - XPath link to nested feature
parentSource - parent feature source
Throws:
java.io.IOException
Method Detail

getLabel

public java.lang.String getLabel()

getParentLabel

public java.lang.String getParentLabel()

getTargetQueryString

public java.lang.String getTargetQueryString()

getInstanceXpath

public java.lang.String getInstanceXpath()

isTreeAttribute

public boolean isTreeAttribute()
Description copied from class: AttributeMapping
This is overridden by TreeAttributeMapping

Overrides:
isTreeAttribute in class AttributeMapping
Returns:
always return false

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class AttributeMapping

hashCode

public int hashCode()
Overrides:
hashCode in class AttributeMapping


Copyright © 1996-2010 Geotools. All Rights Reserved.