it.eng.spagobi.behaviouralmodel.lov.bo
Class LovDetailFactory

java.lang.Object
  extended by it.eng.spagobi.behaviouralmodel.lov.bo.LovDetailFactory

public class LovDetailFactory
extends java.lang.Object

Defines methods to create implementation of the ILovDetail interface


Field Summary
static java.lang.String FIXEDLISTLOV
           
static java.lang.String JAVACLASSLOV
           
static java.lang.String QUERYLOV
           
static java.lang.String SCRIPTLOV
           
 
Constructor Summary
LovDetailFactory()
           
 
Method Summary
static ILovDetail getLovFromXML(java.lang.String dataDefinition)
          Creates an instace of a lov class (which implements ILovDetail interface) starting from the xml definition of the lov.
static java.lang.String getLovTypeCode(java.lang.String lovprovider)
          Gets the code of the lov type based on the input lovprovider string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JAVACLASSLOV

public static final java.lang.String JAVACLASSLOV
See Also:
Constant Field Values

SCRIPTLOV

public static final java.lang.String SCRIPTLOV
See Also:
Constant Field Values

QUERYLOV

public static final java.lang.String QUERYLOV
See Also:
Constant Field Values

FIXEDLISTLOV

public static final java.lang.String FIXEDLISTLOV
See Also:
Constant Field Values
Constructor Detail

LovDetailFactory

public LovDetailFactory()
Method Detail

getLovFromXML

public static ILovDetail getLovFromXML(java.lang.String dataDefinition)
                                throws it.eng.spago.base.SourceBeanException
Creates an instace of a lov class (which implements ILovDetail interface) starting from the xml definition of the lov.

Parameters:
dataDefinition - the xml definition of the lov
Returns:
The instance of the class which implements the ILovDetail interface
Throws:
it.eng.spago.base.SourceBeanException - the source bean exception

getLovTypeCode

public static java.lang.String getLovTypeCode(java.lang.String lovprovider)
                                       throws it.eng.spago.base.SourceBeanException
Gets the code of the lov type based on the input lovprovider string.

Parameters:
lovprovider - the lovprovider string of the lov
Returns:
the string code of the love type
Throws:
it.eng.spago.base.SourceBeanException - the source bean exception