it.eng.qbe.bo
Class Formula

java.lang.Object
  extended by it.eng.qbe.bo.Formula

public class Formula
extends java.lang.Object

The Class Formula.

Author:
Andrea Gioia

Constructor Summary
Formula(java.io.InputStream in)
          Instantiates a new formula.
 
Method Summary
 CalculatedField getCalculatedField(java.lang.String entityName)
          Gets the calculated field.
 java.util.List getCalculatedFields(java.util.Iterator entityClasseIterator)
          Gets the calculated fields.
 java.util.List getManualCalculatedFieldsForEntity(java.lang.String entityName)
          Gets the manual calculated fields for entity.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Formula

public Formula(java.io.InputStream in)
        throws org.dom4j.DocumentException
Instantiates a new formula.

Parameters:
in - the in
Throws:
org.dom4j.DocumentException - the document exception
Method Detail

getCalculatedField

public CalculatedField getCalculatedField(java.lang.String entityName)
Gets the calculated field.

Parameters:
entityName - the entity name
Returns:
the calculated field

getCalculatedFields

public java.util.List getCalculatedFields(java.util.Iterator entityClasseIterator)
Gets the calculated fields.

Parameters:
entityClasseIterator - the entity classe iterator
Returns:
the calculated fields

getManualCalculatedFieldsForEntity

public java.util.List getManualCalculatedFieldsForEntity(java.lang.String entityName)
Gets the manual calculated fields for entity.

Parameters:
entityName - the entity name
Returns:
the manual calculated fields for entity