Package com.axemble.vdoc.sdk.components
Class MappingStructure
java.lang.Object
com.axemble.vdoc.sdk.components.MappingStructure
- All Implemented Interfaces:
IMappingStructure,IMappingValuesProvider
- Direct Known Subclasses:
ParameterizedMappingStructure
-
Constructor Summary
ConstructorsConstructorDescriptionMappingStructure(String name, String label, String description, String dataType, boolean isMandatory, boolean isVisible, int mappingType, List<IMappingStructure> childValues, List<IOptionList.IOption> options) -
Method Summary
Modifier and TypeMethodDescriptionRetrieves childs mappingStructure for a composite mappingStructure.Retrieves the data type of the mappingStructure.Retrieves the description of the mappingStructure.getLabel()Retrieves the label of the mappingStructure.Retrieves options displayed on the selection "value of list" in the mapping component.intRetrieves the mapping type of the mappingStructure.getName()Retrives the name of mappingStructure.Retrieves childs mappingStructure for a composite mappingStructure.booleanGet if the value of mappingStructure is mandatory.booleanGet if mappingStructure is default visible in the mapping componentvoidsetChildValues(List<IMappingStructure> childValues) Sets childs mappingStructure for a composite mappingStructure.voidsetDataType(String dataType) Sets the data type of the mappingStructure.voidsetDescription(String description) Sets a description to a mappingStructure.voidSets a label to a mappingStructure.voidsetListOptions(List<IOptionList.IOption> options) Sets options displayed on the selection "value of list" in the mapping component.voidsetMandatory(boolean isMandatory) Set if the value of mappingStructure is mandatoryvoidsetMappingType(int mappingType) Sets the mapping type of the mappingStructure.voidSets a name to the mappingStructure.voidsetVisible(boolean isVisible) Set if mappingStructure is visible
-
Constructor Details
-
MappingStructure
public MappingStructure(String name, String label, String description, String dataType, boolean isMandatory, boolean isVisible, int mappingType, List<IMappingStructure> childValues, List<IOptionList.IOption> options)
-
-
Method Details
-
getName
Description copied from interface:IMappingStructureRetrives the name of mappingStructure.- Specified by:
getNamein interfaceIMappingStructure- Returns:
- A java.lang.String value with mappingStructure name.
-
getLabel
Description copied from interface:IMappingStructureRetrieves the label of the mappingStructure.- Specified by:
getLabelin interfaceIMappingStructure- Returns:
- A java.lang.String value with object label.
-
getDescription
Description copied from interface:IMappingStructureRetrieves the description of the mappingStructure.- Specified by:
getDescriptionin interfaceIMappingStructure- Returns:
- A java.lang.String value with object description.
-
getDataType
Description copied from interface:IMappingStructureRetrieves the data type of the mappingStructure.- Specified by:
getDataTypein interfaceIMappingStructure- Returns:
- A
IMappingProvider.DataTypevalue with data type of the mappingStructure.
-
getChildValues
Description copied from interface:IMappingStructureRetrieves childs mappingStructure for a composite mappingStructure.- Specified by:
getChildValuesin interfaceIMappingStructure- Returns:
- A java.util.List of
IMappingStructureobject
-
isMandatory
public boolean isMandatory()Description copied from interface:IMappingStructureGet if the value of mappingStructure is mandatory.- Specified by:
isMandatoryin interfaceIMappingStructure- Returns:
- isMandatory
-
isVisible
public boolean isVisible()Description copied from interface:IMappingStructureGet if mappingStructure is default visible in the mapping component- Specified by:
isVisiblein interfaceIMappingStructure- Returns:
- isVisible
-
getMappingType
public int getMappingType()Description copied from interface:IMappingStructureRetrieves the mapping type of the mappingStructure.- Specified by:
getMappingTypein interfaceIMappingStructure- Returns:
- A
IMappingProvider.IMappingTypevalue with data type of the mappingStructure.
-
getValues
Description copied from interface:IMappingStructureRetrieves childs mappingStructure for a composite mappingStructure.- Specified by:
getValuesin interfaceIMappingStructure- Specified by:
getValuesin interfaceIMappingValuesProvider- Returns:
- A java.util.List of
IMappingStructureobject
-
getListOptions
Description copied from interface:IMappingStructureRetrieves options displayed on the selection "value of list" in the mapping component.- Specified by:
getListOptionsin interfaceIMappingStructure- Returns:
- A java.util.List of
IOptionList.IOptionobject
-
setName
Description copied from interface:IMappingStructureSets a name to the mappingStructure.- Specified by:
setNamein interfaceIMappingStructure- Parameters:
name- The name of the mappingStructure.
-
setLabel
Description copied from interface:IMappingStructureSets a label to a mappingStructure.- Specified by:
setLabelin interfaceIMappingStructure- Parameters:
label- The label of the mappingStructure.
-
setDescription
Description copied from interface:IMappingStructureSets a description to a mappingStructure.- Specified by:
setDescriptionin interfaceIMappingStructure- Parameters:
description- The description of the mappingStructure.
-
setDataType
Description copied from interface:IMappingStructureSets the data type of the mappingStructure.- Specified by:
setDataTypein interfaceIMappingStructure- Parameters:
dataType- A value of theIMappingProvider.DataType.
-
setMandatory
public void setMandatory(boolean isMandatory) Description copied from interface:IMappingStructureSet if the value of mappingStructure is mandatory- Specified by:
setMandatoryin interfaceIMappingStructure- Parameters:
isMandatory-
-
setVisible
public void setVisible(boolean isVisible) Description copied from interface:IMappingStructureSet if mappingStructure is visible- Specified by:
setVisiblein interfaceIMappingStructure- Parameters:
isVisible-
-
setMappingType
public void setMappingType(int mappingType) Description copied from interface:IMappingStructureSets the mapping type of the mappingStructure.- Specified by:
setMappingTypein interfaceIMappingStructure- Parameters:
mappingType- A value of theIMappingProvider.IMappingType.
-
setChildValues
Description copied from interface:IMappingStructureSets childs mappingStructure for a composite mappingStructure.- Specified by:
setChildValuesin interfaceIMappingStructure- Parameters:
childValues- A java.util.List ofIMappingStructureobject
-
setListOptions
Description copied from interface:IMappingStructureSets options displayed on the selection "value of list" in the mapping component.- Specified by:
setListOptionsin interfaceIMappingStructure- Parameters:
options- A java.util.List ofIOptionList.IOptionobject
-