org.deegree.sqldialect.filter
Class PropertyNameMapping

java.lang.Object
  extended by org.deegree.sqldialect.filter.PropertyNameMapping
Direct Known Subclasses:
ConstantPropertyNameMapping

public class PropertyNameMapping
extends Object

A ValueReference that's mapped to database column(s).

Version:
$Revision: 30994 $, $Date: 2011-05-31 17:20:05 +0200 (Di, 31. Mai 2011) $
Author:
Markus Schneider, last edited by: $Author: mschneider $
See Also:
AbstractWhereBuilder

Constructor Summary
PropertyNameMapping(ParticleConverter<?> converter, List<Join> joins, String column, String tableAlias)
          Creates a new PropertyNameMapping instance.
 
Method Summary
 String getColumn()
           
 ParticleConverter<?> getConverter()
          Returns the converter for transforming corresponding argument values to SQL argument values.
 List<Join> getJoins()
          Returns the joins that are required to connect the root table to the tables where the targeted SQL particles are stored.
 String getTableAlias()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PropertyNameMapping

public PropertyNameMapping(ParticleConverter<?> converter,
                           List<Join> joins,
                           String column,
                           String tableAlias)
Creates a new PropertyNameMapping instance.

Parameters:
converter - converter, must not be null
joins - joins that are required to connect the root table to the tables where the targeted SQL particles are, can also be emtpy or null
column - may be null
tableAlias - may be null
Method Detail

getJoins

public List<Join> getJoins()
Returns the joins that are required to connect the root table to the tables where the targeted SQL particles are stored.

Returns:
joins, can be emtpy, but never null

getConverter

public ParticleConverter<?> getConverter()
Returns the converter for transforming corresponding argument values to SQL argument values.

Returns:
converter, never null

getColumn

public String getColumn()

getTableAlias

public String getTableAlias()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011. All Rights Reserved.