Class PickOmitMapping
java.lang.Object
com.broadleafcommerce.metadata.dsl.core.Mapping<PickOmitMapping>
com.broadleafcommerce.metadata.dsl.core.extension.mappings.PickOmitMapping
- All Implemented Interfaces:
- Copyable<PickOmitMapping>,- Serializable
An implementation of 
Mapping for picking and omitting source properties from the
 destination.- Author:
- Nick Crum (ncrum)
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected booleanClears the set of omitted fields.Clears the set of picked fields.copy()booleangetOmit()The names of the properties that should not be kept from the source.getPick()The names of the properties that should be kept from the source.inthashCode()Sets the set of fields to exclude.Sets the set of fields to exclude.Sets the set of fields to include.Sets the set of fields to include.
- 
Constructor Details- 
PickOmitMappingpublic PickOmitMapping()
- 
PickOmitMapping
 
- 
- 
Method Details- 
copy- Specified by:
- copyin interface- Copyable<PickOmitMapping>
- Returns:
- a deep copy of this instance
 
- 
pickSets the set of fields to include.- Parameters:
- pick- the picked fields
- Returns:
- the mapping
 
- 
pickSets the set of fields to include.- Parameters:
- pick- the picked fields
- Returns:
- the mapping
 
- 
clearPickClears the set of picked fields.- Returns:
- the mapping
 
- 
omitSets the set of fields to exclude.- Parameters:
- omit- the omitted fields
- Returns:
- the mapping
 
- 
omitSets the set of fields to exclude.- Parameters:
- omit- the omitted fields
- Returns:
- the mapping
 
- 
clearOmitClears the set of omitted fields.- Returns:
- the mapping
 
- 
getPickThe names of the properties that should be kept from the source.
- 
getOmitThe names of the properties that should not be kept from the source.
- 
equals- Overrides:
- equalsin class- Mapping<PickOmitMapping>
 
- 
canEqual- Overrides:
- canEqualin class- Mapping<PickOmitMapping>
 
- 
hashCodepublic int hashCode()- Overrides:
- hashCodein class- Mapping<PickOmitMapping>
 
 
-