it.eng.spagobi.behaviouralmodel.lov.bo
Class LovDetailFactory
java.lang.Object
it.eng.spagobi.behaviouralmodel.lov.bo.LovDetailFactory
public class LovDetailFactory
- extends java.lang.Object
Defines methods to create implementation of the ILovDetail interface
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 |
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
LovDetailFactory
public LovDetailFactory()
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