Class PropertyMapping.DefaultOperations
java.lang.Object
com.broadleafcommerce.metadata.dsl.core.extension.mappings.PropertyMapping.DefaultOperations
- Enclosing class:
- PropertyMapping
-
Field Summary
Fields -
Method Summary
-
Field Details
-
MERGE
Mapping is merged at the destination, for example:// { listA: ['A', 'B', 'C'], listB: ['1', '2', '3'] } ==> { listA: ['A', 'B', 'C', '1', '2', // '3'] // } PropertyMapping.map("listB", "listA", Operation.MERGE);
- See Also:
-
REPLACE
Mapping is replaced at the destination, for example:// { listA: ['A', 'B', 'C'], listB: ['1', '2', '3'] } ==> { listA: ['1', '2', '3'] } PropertyMapping.map("listB", "listA", Operation.REPLACE);
- See Also:
-