Package | Description |
---|---|
com.broadleafcommerce.metadata.dsl.core.extension.mappings | |
com.broadleafcommerce.metadata.dsl.core.utils |
Modifier and Type | Method and Description |
---|---|
PropertyMapping |
PropertyMapping.copy() |
PropertyMapping |
PropertyMapping.copyFrom(boolean copyFrom) |
PropertyMapping |
PropertyMapping.copyValue(String from,
String to)
Copies the source property and maps to the destination property.
|
PropertyMapping |
PropertyMapping.copyValue(String from,
String to,
Object defaultValue)
Copies the source property and maps to the destination property.
|
PropertyMapping |
PropertyMapping.defaultValue(Object defaultValue) |
PropertyMapping |
PropertyMapping.from(String from) |
PropertyMapping |
PropertyMapping.mapValue(String from,
String to)
Maps the source's property to the destination's property.
|
PropertyMapping |
PropertyMapping.mapValue(String from,
String to,
Object defaultValue)
Maps the source's property to the destination's property with a default value.
|
PropertyMapping |
PropertyMapping.mapValueFromRoot(String to)
Maps the
ROOT to the destination. |
PropertyMapping |
PropertyMapping.mapValueToRoot(String from)
Maps the source's property to the
ROOT . |
PropertyMapping |
PropertyMapping.mergeTo() |
PropertyMapping |
PropertyMapping.nullValue(String to)
Sets the destination property to null.
|
PropertyMapping |
PropertyMapping.operation(String operation) |
PropertyMapping |
PropertyMapping.replaceTo() |
PropertyMapping |
PropertyMapping.setValue(String to,
Object defaultValue)
Sets the value on the destination.
|
PropertyMapping |
PropertyMapping.to(String to) |
Constructor and Description |
---|
PropertyMapping(PropertyMapping mapping) |
Modifier and Type | Method and Description |
---|---|
static PropertyMapping |
Mappings.copyValue(String from,
String to) |
static PropertyMapping |
Mappings.copyValue(String from,
String to,
String defaultValue) |
static PropertyMapping |
Mappings.mapValue(String from,
String to) |
static PropertyMapping |
Mappings.mapValue(String from,
String to,
String defaultValue) |
static PropertyMapping |
Mappings.mapValueFromRoot(String to) |
static PropertyMapping |
Mappings.mapValueToRoot(String from) |
static PropertyMapping |
Mappings.nullValue(String to) |
static PropertyMapping |
Mappings.setValue(String to,
Object defaultValue) |
Copyright © 2021. All rights reserved.