Skip navigation links


com.essbase.eas.essbase.ui.outline.members.formula.template
Class CFormulaTemplate

java.lang.Object
  extended by com.essbase.eas.essbase.ui.outline.members.formula.template.CFormulaTemplate


public class CFormulaTemplate
extends java.lang.Object

Formula template definition

Author:
Karthik K

Constructor Summary
CFormulaTemplate()
           

 

Method Summary
 void addVariable(CVariableDefinition variable)
           
 java.lang.String applyFormulaTransformation(java.util.Hashtable variableValues, java.lang.String applicationName, java.lang.String databaseName)
          Replaces all variables in the formula templates with their values Variables in the template will be replaced with their values as defined the Hashtable Also replace predefined variables - $$APP$$ and $$DB$$ with application and database name respectively.
 java.lang.String getCategoryId()
           
 java.lang.String getDescription()
           
 java.lang.String getName()
           
 java.lang.String getTemplate()
           
 java.util.Hashtable getTypeDefinitions()
           
 CTypeDefinition getTypeForVariable(java.lang.String var)
          Returns the type corresponding to a variable
 CUIDefinition getUiDefinition()
           
 java.util.Hashtable getVariables()
           
 void setCategoryId(java.lang.String categoryId)
           
 void setDescription(java.lang.String description)
           
 void setName(java.lang.String name)
           
 void setTemplate(java.lang.String template)
           
 void setTypeDefinitions(java.util.Hashtable typeDefinitions)
           
 void setUiDefinition(CUIDefinition uiDefinition)
           
 java.lang.String toString()
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Constructor Detail

CFormulaTemplate

public CFormulaTemplate()

Method Detail

getTypeDefinitions

public java.util.Hashtable getTypeDefinitions()

setTypeDefinitions

public void setTypeDefinitions(java.util.Hashtable typeDefinitions)

getUiDefinition

public CUIDefinition getUiDefinition()

setUiDefinition

public void setUiDefinition(CUIDefinition uiDefinition)

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getDescription

public java.lang.String getDescription()

setDescription

public void setDescription(java.lang.String description)

getTemplate

public java.lang.String getTemplate()

setTemplate

public void setTemplate(java.lang.String template)

getVariables

public java.util.Hashtable getVariables()

addVariable

public void addVariable(CVariableDefinition variable)

applyFormulaTransformation

public java.lang.String applyFormulaTransformation(java.util.Hashtable variableValues,
                                                   java.lang.String applicationName,
                                                   java.lang.String databaseName)
Replaces all variables in the formula templates with their values Variables in the template will be replaced with their values as defined the Hashtable Also replace predefined variables - $$APP$$ and $$DB$$ with application and database name respectively.
Parameters:
variableValues - Variable names and values as key value pair
Returns:

getTypeForVariable

public CTypeDefinition getTypeForVariable(java.lang.String var)
Returns the type corresponding to a variable
Parameters:
var - Variable name
Returns:
Variable type definition

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getCategoryId

public java.lang.String getCategoryId()

setCategoryId

public void setCategoryId(java.lang.String categoryId)

Skip navigation links


Copyright © 2001, 2012, Oracle. All rights reserved.