public final class DataModelMapping extends Object
DataModelDriver
.Modifier and Type | Class and Description |
---|---|
static class |
DataModelMapping.ExceptionHandlingStrategy
Exception handling strategy.
|
static class |
DataModelMapping.FieldMappingStrategy
Mapping strategy between source field and target field.
|
Constructor and Description |
---|
DataModelMapping() |
Modifier and Type | Method and Description |
---|---|
DataModelMapping.FieldMappingStrategy |
getFieldMappingStrategy()
Returns the field mapping strategy.
|
DataModelMapping.ExceptionHandlingStrategy |
getOnIncompatibleType()
Returns the exception handling strategy for incompatible field type.
|
DataModelMapping.ExceptionHandlingStrategy |
getOnMissingSource()
Returns the exception handling strategy for missing source fields.
|
DataModelMapping.ExceptionHandlingStrategy |
getOnMissingTarget()
Returns the exception handling strategy for missing target fields.
|
void |
setFieldMappingStrategy(DataModelMapping.FieldMappingStrategy value)
Sets the field mapping strategy.
|
void |
setOnIncompatibleType(DataModelMapping.ExceptionHandlingStrategy value)
Sets the exception handling strategy for incompatible field type.
|
void |
setOnMissingSource(DataModelMapping.ExceptionHandlingStrategy value)
Sets the exception handling strategy for missing source fields.
|
void |
setOnMissingTarget(DataModelMapping.ExceptionHandlingStrategy value)
Sets the exception handling strategy for missing target fields.
|
public DataModelMapping.FieldMappingStrategy getFieldMappingStrategy()
public void setFieldMappingStrategy(DataModelMapping.FieldMappingStrategy value)
value
- the strategypublic DataModelMapping.ExceptionHandlingStrategy getOnMissingSource()
public void setOnMissingSource(DataModelMapping.ExceptionHandlingStrategy value)
value
- the strategypublic DataModelMapping.ExceptionHandlingStrategy getOnMissingTarget()
public void setOnMissingTarget(DataModelMapping.ExceptionHandlingStrategy value)
value
- the strategypublic DataModelMapping.ExceptionHandlingStrategy getOnIncompatibleType()
public void setOnIncompatibleType(DataModelMapping.ExceptionHandlingStrategy value)
value
- the strategyCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.