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
ConstructorDescriptionMappingStructure
(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.int
Retrieves the mapping type of the mappingStructure.getName()
Retrives the name of mappingStructure.Retrieves childs mappingStructure for a composite mappingStructure.boolean
Get if the value of mappingStructure is mandatory.boolean
Get if mappingStructure is default visible in the mapping componentvoid
setChildValues
(List<IMappingStructure> childValues) Sets childs mappingStructure for a composite mappingStructure.void
setDataType
(String dataType) Sets the data type of the mappingStructure.void
setDescription
(String description) Sets a description to a mappingStructure.void
Sets a label to a mappingStructure.void
setListOptions
(List<IOptionList.IOption> options) Sets options displayed on the selection "value of list" in the mapping component.void
setMandatory
(boolean isMandatory) Set if the value of mappingStructure is mandatoryvoid
setMappingType
(int mappingType) Sets the mapping type of the mappingStructure.void
Sets a name to the mappingStructure.void
setVisible
(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:IMappingStructure
Retrives the name of mappingStructure.- Specified by:
getName
in interfaceIMappingStructure
- Returns:
- A java.lang.String value with mappingStructure name.
-
getLabel
Description copied from interface:IMappingStructure
Retrieves the label of the mappingStructure.- Specified by:
getLabel
in interfaceIMappingStructure
- Returns:
- A java.lang.String value with object label.
-
getDescription
Description copied from interface:IMappingStructure
Retrieves the description of the mappingStructure.- Specified by:
getDescription
in interfaceIMappingStructure
- Returns:
- A java.lang.String value with object description.
-
getDataType
Description copied from interface:IMappingStructure
Retrieves the data type of the mappingStructure.- Specified by:
getDataType
in interfaceIMappingStructure
- Returns:
- A
IMappingProvider.DataType
value with data type of the mappingStructure.
-
getChildValues
Description copied from interface:IMappingStructure
Retrieves childs mappingStructure for a composite mappingStructure.- Specified by:
getChildValues
in interfaceIMappingStructure
- Returns:
- A java.util.List of
IMappingStructure
object
-
isMandatory
public boolean isMandatory()Description copied from interface:IMappingStructure
Get if the value of mappingStructure is mandatory.- Specified by:
isMandatory
in interfaceIMappingStructure
- Returns:
- isMandatory
-
isVisible
public boolean isVisible()Description copied from interface:IMappingStructure
Get if mappingStructure is default visible in the mapping component- Specified by:
isVisible
in interfaceIMappingStructure
- Returns:
- isVisible
-
getMappingType
public int getMappingType()Description copied from interface:IMappingStructure
Retrieves the mapping type of the mappingStructure.- Specified by:
getMappingType
in interfaceIMappingStructure
- Returns:
- A
IMappingProvider.IMappingType
value with data type of the mappingStructure.
-
getValues
Description copied from interface:IMappingStructure
Retrieves childs mappingStructure for a composite mappingStructure.- Specified by:
getValues
in interfaceIMappingStructure
- Specified by:
getValues
in interfaceIMappingValuesProvider
- Returns:
- A java.util.List of
IMappingStructure
object
-
getListOptions
Description copied from interface:IMappingStructure
Retrieves options displayed on the selection "value of list" in the mapping component.- Specified by:
getListOptions
in interfaceIMappingStructure
- Returns:
- A java.util.List of
IOptionList.IOption
object
-
setName
Description copied from interface:IMappingStructure
Sets a name to the mappingStructure.- Specified by:
setName
in interfaceIMappingStructure
- Parameters:
name
- The name of the mappingStructure.
-
setLabel
Description copied from interface:IMappingStructure
Sets a label to a mappingStructure.- Specified by:
setLabel
in interfaceIMappingStructure
- Parameters:
label
- The label of the mappingStructure.
-
setDescription
Description copied from interface:IMappingStructure
Sets a description to a mappingStructure.- Specified by:
setDescription
in interfaceIMappingStructure
- Parameters:
description
- The description of the mappingStructure.
-
setDataType
Description copied from interface:IMappingStructure
Sets the data type of the mappingStructure.- Specified by:
setDataType
in interfaceIMappingStructure
- Parameters:
dataType
- A value of theIMappingProvider.DataType
.
-
setMandatory
public void setMandatory(boolean isMandatory) Description copied from interface:IMappingStructure
Set if the value of mappingStructure is mandatory- Specified by:
setMandatory
in interfaceIMappingStructure
- Parameters:
isMandatory
-
-
setVisible
public void setVisible(boolean isVisible) Description copied from interface:IMappingStructure
Set if mappingStructure is visible- Specified by:
setVisible
in interfaceIMappingStructure
- Parameters:
isVisible
-
-
setMappingType
public void setMappingType(int mappingType) Description copied from interface:IMappingStructure
Sets the mapping type of the mappingStructure.- Specified by:
setMappingType
in interfaceIMappingStructure
- Parameters:
mappingType
- A value of theIMappingProvider.IMappingType
.
-
setChildValues
Description copied from interface:IMappingStructure
Sets childs mappingStructure for a composite mappingStructure.- Specified by:
setChildValues
in interfaceIMappingStructure
- Parameters:
childValues
- A java.util.List ofIMappingStructure
object
-
setListOptions
Description copied from interface:IMappingStructure
Sets options displayed on the selection "value of list" in the mapping component.- Specified by:
setListOptions
in interfaceIMappingStructure
- Parameters:
options
- A java.util.List ofIOptionList.IOption
object
-