public class FieldVariableMapping extends Object
Modifier and Type | Class and Description |
---|---|
static class |
FieldVariableMapping.MappingType |
Constructor and Description |
---|
FieldVariableMapping() |
FieldVariableMapping(String fieldName,
String targetName,
String variableName,
FieldVariableMapping.MappingType mappingType) |
Modifier and Type | Method and Description |
---|---|
static FieldVariableMapping |
findFieldVariableMappingByFieldName(List<FieldVariableMapping> mappings,
String fieldName)
Find a field-variable mapping by field name, perform case insensitive comparison.
|
String |
getFieldName() |
FieldVariableMapping.MappingType |
getMappingType() |
String |
getTargetName() |
String |
getVariableName() |
void |
setFieldName(String fieldName) |
void |
setMappingType(FieldVariableMapping.MappingType mappingType) |
void |
setTargetName(String targetName) |
void |
setVariableName(String variableName) |
public FieldVariableMapping()
public FieldVariableMapping(String fieldName, String targetName, String variableName, FieldVariableMapping.MappingType mappingType)
fieldName
- variableName
- mappingType
- public static FieldVariableMapping findFieldVariableMappingByFieldName(List<FieldVariableMapping> mappings, String fieldName)
mappings
- The list of mappingsfieldName
- the name of the field to look for.public String getFieldName()
public void setFieldName(String fieldName)
fieldName
- the fieldName to setpublic String getVariableName()
public void setVariableName(String variableName)
variableName
- the variableName to setpublic FieldVariableMapping.MappingType getMappingType()
public void setMappingType(FieldVariableMapping.MappingType mappingType)
mappingType
- the mappingType to setpublic String getTargetName()
public void setTargetName(String targetName)
targetName
- the targetName to set