it.eng.spagobi.bo
Class LovDetailList

java.lang.Object
  extended byit.eng.spagobi.bo.LovDetailList

public class LovDetailList
extends java.lang.Object

Gives us all methods to handle the list of all values for the Fix Lov Selection Wizard.

Author:
sulis

Constructor Summary
LovDetailList()
           
 
Method Summary
 void add(java.lang.String name, java.lang.String description)
          Adds a lov to the lov Detail List
static LovDetailList fromXML(java.lang.String dataDefinition)
          Splits an XML string by using some SourceBean object methods in order to obtain the source LovDetail objects whom XML has been built.
 java.util.List getLovs()
           
 void remove(java.lang.String name, java.lang.String description)
          Deletes a lov from the lov Detail List
 void setLovs(java.util.List lovs)
           
 java.lang.String toXML()
          Loads the XML string defined by a LovDetail object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LovDetailList

public LovDetailList()
Method Detail

toXML

public java.lang.String toXML()
                       throws it.eng.spago.base.SourceBeanException
Loads the XML string defined by a LovDetail object. The object gives us all XML field values. Once obtained, the XML represents the data definition for a Fixed Lov Type Value LOV object.

Returns:
The XML output String
Throws:
it.eng.spago.base.SourceBeanException

fromXML

public static LovDetailList fromXML(java.lang.String dataDefinition)
                             throws it.eng.spago.base.SourceBeanException
Splits an XML string by using some SourceBean object methods in order to obtain the source LovDetail objects whom XML has been built.

Parameters:
dataDefinition - The XML input String
Returns:
The corrispondent LovDetailList object
Throws:
it.eng.spago.base.SourceBeanException - If a SourceBean Exception occurred

add

public void add(java.lang.String name,
                java.lang.String description)
Adds a lov to the lov Detail List

Parameters:
name - The added lov name
description - The added lov description

remove

public void remove(java.lang.String name,
                   java.lang.String description)
Deletes a lov from the lov Detail List

Parameters:
name - The deleted lov name
description - The deleted lov description

getLovs

public java.util.List getLovs()
Returns:
lovs

setLovs

public void setLovs(java.util.List lovs)
Parameters:
lovs - the lovs to set