com.adobe.icc.dbforms.obj
Class DataModule

java.lang.Object
  extended by com.adobe.icc.dbforms.obj.Asset
      extended by com.adobe.icc.dbforms.obj.DataModule
All Implemented Interfaces:
ILocalizable, ILocalizationResourceContainer, java.io.Serializable
Direct Known Subclasses:
ConditionalDataModule, ContentDataModule, ImageModule, ListDataModule, TextModule

public abstract class DataModule
extends Asset
implements java.io.Serializable

POJO representation for a Data Module, encapsulating the common attributes such as the associated Data Dictionary references and list of variables.

The specific module types such as Text, Image, List, etc. are concrete extensions of this abstract class.

See Also:
ListDataModule, ConditionalDataModule, ImageModule, TextModule, ContentDataModule, Serialized Form

Field Summary
static java.lang.String ASSOCIATION_CUTPOINT
           
static java.lang.String DM_CLASS
           
static java.lang.String FIRST_LEVEL_CUTPOINT
           
static java.lang.String HIERARCHY_CUTPOINT
           
 
Fields inherited from class com.adobe.icc.dbforms.obj.Asset
ASSET_CLASS, FIRST_LEVEL_WITH_CAT_NAMES_CUTPOINT
 
Constructor Summary
DataModule()
          Default Constructor
 
Method Summary
 boolean addVariable(Variable variable)
          Add a variable to the set of variables in this data module.
 java.lang.String getDataDictionaryRef()
          This method retrieves the first data dictionary reference from the list of DataDictionaryRef's
 java.util.List getDataDictionaryRefs()
          Get the DataDictionary references (names) of the Data Module.
 java.util.Set getVariableList()
          Get the Variable objects in this Data Module.
 boolean removeVariable(Variable variable)
          Remove a variable from the set of variables in this data module.
 void setDataDictionaryRef(java.lang.String dataDictionary)
          This method sets the data dictionary reference at the first index in DataDictionaryRef list
 void setDataDictionaryRefs(java.util.List dataDictionaryRefs)
          Sets the DataDictionary references (names) of the Data Module.
 void setVariableList(java.util.Set variableList)
          Sets the Variable objects in this Data Module.
 
Methods inherited from class com.adobe.icc.dbforms.obj.Asset
getActiveEndDate, getActiveStartDate, getComment, getCrxVersion, getDesc, getExtendedProperties, getId, getLastChangeBy, getLastPublishDate, getLastUpdateDate, getLcat, getLocalizationPrefix, getLocalizationResourceInfoList, getName, getState, getUcat, getUpdatedBy, getVersion, setActiveEndDate, setActiveStartDate, setComment, setCrxVersion, setDesc, setExtendedProperties, setId, setLastChangeBy, setLastPublishDate, setLastUpdateDate, setLcat, setLocalizationPrefix, setLocalizationResourceInfoList, setName, setState, setUcat, setUpdatedBy, setVersion
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DM_CLASS

public static final java.lang.String DM_CLASS

ASSOCIATION_CUTPOINT

public static final java.lang.String ASSOCIATION_CUTPOINT

HIERARCHY_CUTPOINT

public static final java.lang.String HIERARCHY_CUTPOINT

FIRST_LEVEL_CUTPOINT

public static final java.lang.String FIRST_LEVEL_CUTPOINT
Constructor Detail

DataModule

public DataModule()
Default Constructor

Method Detail

getDataDictionaryRef

public java.lang.String getDataDictionaryRef()
This method retrieves the first data dictionary reference from the list of DataDictionaryRef's

Returns:
the dataDictionaryRef

setDataDictionaryRef

public void setDataDictionaryRef(java.lang.String dataDictionary)
This method sets the data dictionary reference at the first index in DataDictionaryRef list

Parameters:
dataDictionary - the dataDictionary to set

getVariableList

public java.util.Set getVariableList()
Get the Variable objects in this Data Module.

Returns:
The Variable objects in this Data Module.

setVariableList

public void setVariableList(java.util.Set variableList)
Sets the Variable objects in this Data Module.

Parameters:
variableList - The Variable objects in this Data Module.

addVariable

public boolean addVariable(Variable variable)
Add a variable to the set of variables in this data module.

Parameters:
variable - Variable to be added
Returns:
true, if a new variable was added. If this set already contains the specified element, the call leaves this set unchanged and returns false.

removeVariable

public boolean removeVariable(Variable variable)
Remove a variable from the set of variables in this data module.

Parameters:
variable - Variable to be removed
Returns:
true, if the variable was removed. false, if the variable did not exist in the set of variables.

getDataDictionaryRefs

public java.util.List getDataDictionaryRefs()
Get the DataDictionary references (names) of the Data Module.

Returns:
The DataDictionary references (names) of the Data Module.

setDataDictionaryRefs

public void setDataDictionaryRefs(java.util.List dataDictionaryRefs)
Sets the DataDictionary references (names) of the Data Module.

Parameters:
dataDictionaryRefs - The DataDictionary references (names) of the Data Module.


[an error occurred while processing this directive] [an error occurred while processing this directive]