Style Intelligence v12.0

inetsoft.uql
Interface XFormulaRepository

All Known Implementing Classes:
BeanSheet, CompositeSheet, MetaStyleSheet, MetaTabularSheet, ParameterSheet, ReportSheet, StyleSheet, TabularSheet

public interface XFormulaRepository

XFormulaRepository contains formula infos.


Method Summary
 void addFormula(inetsoft.report.internal.binding.FormulaInfo info)
          Add a formula from the repository.
 boolean containsFormula(inetsoft.report.internal.binding.FormulaInfo info)
          Check if an attribute or expression is already defined in the selection.
 inetsoft.report.internal.binding.FormulaInfo getFormula(String source, String name)
          Get a formula matches a formula name.
 inetsoft.report.internal.binding.FormulaInfo[] getFormulas()
          Get all the formulas.
 inetsoft.report.internal.binding.FormulaInfo[] getFormulas(String source, int type)
          Get a formula matches a source name.
 void removeFormula(inetsoft.report.internal.binding.FormulaInfo info)
          Remove a formula from the repository.
 

Method Detail

removeFormula

void removeFormula(inetsoft.report.internal.binding.FormulaInfo info)
Remove a formula from the repository.


addFormula

void addFormula(inetsoft.report.internal.binding.FormulaInfo info)
Add a formula from the repository.


getFormulas

inetsoft.report.internal.binding.FormulaInfo[] getFormulas()
Get all the formulas.

Returns:
all the formulas.

getFormula

inetsoft.report.internal.binding.FormulaInfo getFormula(String source,
                                                        String name)
Get a formula matches a formula name.

Parameters:
name - the specified formula name.
Returns:
formula matches the specified formula name.

getFormulas

inetsoft.report.internal.binding.FormulaInfo[] getFormulas(String source,
                                                           int type)
Get a formula matches a source name.

Parameters:
name - the specified formula name.
Returns:
formula matches the specified formula name.

containsFormula

boolean containsFormula(inetsoft.report.internal.binding.FormulaInfo info)
Check if an attribute or expression is already defined in the selection.


Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved.