i-net Clear Reports

com.inet.report
Interface CascadingSource

All Known Implementing Classes:
CascadingValueProvider, FieldValueProvider, QueryValueProvider

public interface CascadingSource

An implementation of this interface can be used as a parent source for a cascading prompt (see CascadingValueProvider). A cascading prompt needs a parent prompt field, but also needs to know the referencing name to use in the SQL query generated to request the default values. Implementations of this interface, e.g. FieldValueProvider and QueryValueProvider provide this, thereby linking the given value of the parent prompt field to a reference name for the SQL Query.

Since:
7.7

Method Summary
 java.lang.String getFieldRefName()
          Returns the name to be used as the SQL reference name in the WHERE part of the query used by a cascading prompt referencing this as its parent.
 

Method Detail

getFieldRefName

java.lang.String getFieldRefName()
Returns the name to be used as the SQL reference name in the WHERE part of the query used by a cascading prompt referencing this as its parent. The WHERE part of the SQL query will resemble something like "WHERE (reference name = prompt value)".

Returns:
Reference name of the parent source for a cascading prompt
Since:
7.7
See Also:
CascadingValueProvider, SQLValueProvider

i-net Clear Reports

Copyright © 1999-2015 by i-net software GmbH