Class GeneralFieldFilter
java.lang.Object
de.hybris.platform.webservicescommons.mapping.filters.GeneralFieldFilter
- All Implemented Interfaces:
ma.glasnost.orika.Filter<Object,,Object> ma.glasnost.orika.MappedTypePair<Object,Object>
Filter that applies to any pair of types and attributes. It prevents from mapping unwanted fields.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanappliesTo(ma.glasnost.orika.metadata.Property property, ma.glasnost.orika.metadata.Property property2) <D> DfilterDestination(D d, ma.glasnost.orika.metadata.Type<?> type, String s, ma.glasnost.orika.metadata.Type<D> dType, String s2, ma.glasnost.orika.MappingContext mappingContext) boolean<S> SfilterSource(S s, ma.glasnost.orika.metadata.Type<S> sType, String s2, ma.glasnost.orika.metadata.Type<?> type, String s3, ma.glasnost.orika.MappingContext mappingContext) booleanma.glasnost.orika.metadata.Type<Object>getAType()ma.glasnost.orika.metadata.Type<Object>getBType()voidsetFieldSelectionStrategy(FieldSelectionStrategy fieldSelectionStrategy) <S,D> boolean shouldMap(ma.glasnost.orika.metadata.Type<S> sType, String sourceName, S source, ma.glasnost.orika.metadata.Type<D> dType, String destName, D dest, ma.glasnost.orika.MappingContext mappingContext)
-
Constructor Details
-
GeneralFieldFilter
public GeneralFieldFilter()
-
-
Method Details
-
appliesTo
public boolean appliesTo(ma.glasnost.orika.metadata.Property property, ma.glasnost.orika.metadata.Property property2) -
shouldMap
-
filtersSource
public boolean filtersSource() -
filtersDestination
public boolean filtersDestination() -
filterSource
-
filterDestination
-
getAType
-
getBType
-
setFieldSelectionStrategy
-