public class MappingStructure extends Object implements IMappingStructure, IMappingValuesProvider
Constructor and Description |
---|
MappingStructure(String name,
String label,
String description,
String dataType,
boolean isMandatory,
boolean isVisible,
int mappingType,
List<IMappingStructure> childValues,
List<IOptionList.IOption> options) |
Modifier and Type | Method and Description |
---|---|
List<IMappingStructure> |
getChildValues()
Retrieves childs mappingStructure for a composite mappingStructure.
|
String |
getDataType()
Retrieves the data type of the mappingStructure.
|
String |
getDescription()
Retrieves the description of the mappingStructure.
|
String |
getLabel()
Retrieves the label of the mappingStructure.
|
List<IOptionList.IOption> |
getListOptions()
Retrieves options displayed on the selection "value of list" in the mapping component.
|
int |
getMappingType()
Retrieves the mapping type of the mappingStructure.
|
String |
getName()
Retrives the name of mappingStructure.
|
List<IMappingStructure> |
getValues()
Retrieves childs mappingStructure for a composite mappingStructure.
|
boolean |
isMandatory()
Get if the value of mappingStructure is mandatory.
|
boolean |
isVisible()
Get if mappingStructure is default visible in the mapping component
|
void |
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 |
setLabel(String label)
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 mandatory
|
void |
setMappingType(int mappingType)
Sets the mapping type of the mappingStructure.
|
void |
setName(String name)
Sets a name to the mappingStructure.
|
void |
setVisible(boolean isVisible)
Set if mappingStructure is visible
|
public MappingStructure(String name, String label, String description, String dataType, boolean isMandatory, boolean isVisible, int mappingType, List<IMappingStructure> childValues, List<IOptionList.IOption> options)
public String getName()
IMappingStructure
getName
in interface IMappingStructure
public String getLabel()
IMappingStructure
getLabel
in interface IMappingStructure
public String getDescription()
IMappingStructure
getDescription
in interface IMappingStructure
public String getDataType()
IMappingStructure
getDataType
in interface IMappingStructure
IMappingProvider.DataType
value with data type of the mappingStructure.public List<IMappingStructure> getChildValues()
IMappingStructure
getChildValues
in interface IMappingStructure
IMappingStructure
objectpublic boolean isMandatory()
IMappingStructure
isMandatory
in interface IMappingStructure
public boolean isVisible()
IMappingStructure
isVisible
in interface IMappingStructure
public int getMappingType()
IMappingStructure
getMappingType
in interface IMappingStructure
IMappingProvider.IMappingType
value with data type of the mappingStructure.public List<IMappingStructure> getValues()
IMappingStructure
getValues
in interface IMappingStructure
getValues
in interface IMappingValuesProvider
IMappingStructure
objectpublic List<IOptionList.IOption> getListOptions()
IMappingStructure
getListOptions
in interface IMappingStructure
IOptionList.IOption
objectpublic void setName(String name)
IMappingStructure
setName
in interface IMappingStructure
name
- The name of the mappingStructure.public void setLabel(String label)
IMappingStructure
setLabel
in interface IMappingStructure
label
- The label of the mappingStructure.public void setDescription(String description)
IMappingStructure
setDescription
in interface IMappingStructure
description
- The description of the mappingStructure.public void setDataType(String dataType)
IMappingStructure
setDataType
in interface IMappingStructure
dataType
- A value of the IMappingProvider.DataType
.public void setMandatory(boolean isMandatory)
IMappingStructure
setMandatory
in interface IMappingStructure
public void setVisible(boolean isVisible)
IMappingStructure
setVisible
in interface IMappingStructure
public void setMappingType(int mappingType)
IMappingStructure
setMappingType
in interface IMappingStructure
mappingType
- A value of the IMappingProvider.IMappingType
.public void setChildValues(List<IMappingStructure> childValues)
IMappingStructure
setChildValues
in interface IMappingStructure
childValues
- A java.util.List of IMappingStructure
objectpublic void setListOptions(List<IOptionList.IOption> options)
IMappingStructure
setListOptions
in interface IMappingStructure
options
- A java.util.List of IOptionList.IOption
objectCopyright © 2022 Visiativ. All rights reserved.