Package com.axemble.vdoc.sdk.interfaces
Interface IMappingStructure
- All Known Subinterfaces:
IParameterizedMappingStructure
- All Known Implementing Classes:
MappingStructure,ParameterizedMappingStructure
public interface IMappingStructure
This class allows to map an external object to a vdoc object (MappingStructure)
- Author:
- ploureiro
-
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
-
Method Details
-
getName
String getName()Retrives the name of mappingStructure.- Returns:
- A java.lang.String value with mappingStructure name.
-
setName
Sets a name to the mappingStructure.- Parameters:
name- The name of the mappingStructure.
-
getLabel
String getLabel()Retrieves the label of the mappingStructure.- Returns:
- A java.lang.String value with object label.
-
setLabel
Sets a label to a mappingStructure.- Parameters:
label- The label of the mappingStructure.
-
getDescription
String getDescription()Retrieves the description of the mappingStructure.- Returns:
- A java.lang.String value with object description.
-
setDescription
Sets a description to a mappingStructure.- Parameters:
description- The description of the mappingStructure.
-
getDataType
String getDataType()Retrieves the data type of the mappingStructure.- Returns:
- A
IMappingProvider.DataTypevalue with data type of the mappingStructure.
-
setDataType
Sets the data type of the mappingStructure.- Parameters:
dataType- A value of theIMappingProvider.DataType.
-
getChildValues
List<IMappingStructure> getChildValues()Retrieves childs mappingStructure for a composite mappingStructure.- Returns:
- A java.util.List of
IMappingStructureobject
-
setChildValues
Sets childs mappingStructure for a composite mappingStructure.- Parameters:
childValues- A java.util.List ofIMappingStructureobject
-
isMandatory
boolean isMandatory()Get if the value of mappingStructure is mandatory.- Returns:
- isMandatory
-
setMandatory
void setMandatory(boolean isMandatory) Set if the value of mappingStructure is mandatory- Parameters:
isMandatory-
-
isVisible
boolean isVisible()Get if mappingStructure is default visible in the mapping component- Returns:
- isVisible
-
setVisible
void setVisible(boolean isVisible) Set if mappingStructure is visible- Parameters:
isVisible-
-
getMappingType
int getMappingType()Retrieves the mapping type of the mappingStructure.- Returns:
- A
IMappingProvider.IMappingTypevalue with data type of the mappingStructure.
-
setMappingType
void setMappingType(int mappingType) Sets the mapping type of the mappingStructure.- Parameters:
mappingType- A value of theIMappingProvider.IMappingType.
-
getValues
List<IMappingStructure> getValues()Retrieves childs mappingStructure for a composite mappingStructure.- Returns:
- A java.util.List of
IMappingStructureobject
-
getListOptions
List<IOptionList.IOption> getListOptions()Retrieves options displayed on the selection "value of list" in the mapping component.- Returns:
- A java.util.List of
IOptionList.IOptionobject
-
setListOptions
Sets options displayed on the selection "value of list" in the mapping component.- Parameters:
options- A java.util.List ofIOptionList.IOptionobject
-