Class NestedOrPartOfAttributePredicate
java.lang.Object
de.hybris.platform.cmsfacades.common.predicate.attributes.NestedOrPartOfAttributePredicate
- All Implemented Interfaces:
Predicate<AttributeDescriptorModel>
public class NestedOrPartOfAttributePredicate
extends Object
implements Predicate<AttributeDescriptorModel>
Predicate that returns true if the provided
AttributeDescriptorModel represents a 'part-of' or a 'nested' attribute.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Set<Predicate<AttributeDescriptorModel>>protected Set<Predicate<AttributeDescriptorModel>>voidsetNestedAttributePredicates(Set<Predicate<AttributeDescriptorModel>> nestedAttributePredicates) voidsetPartOfAttributePredicates(Set<Predicate<AttributeDescriptorModel>> partOfAttributePredicates) booleantest(AttributeDescriptorModel attributeDescriptor)
-
Constructor Details
-
NestedOrPartOfAttributePredicate
public NestedOrPartOfAttributePredicate()
-
-
Method Details
-
test
- Specified by:
testin interfacePredicate<AttributeDescriptorModel>
-
getNestedAttributePredicates
-
getPartOfAttributePredicates
-
setNestedAttributePredicates
public void setNestedAttributePredicates(Set<Predicate<AttributeDescriptorModel>> nestedAttributePredicates) -
setPartOfAttributePredicates
public void setPartOfAttributePredicates(Set<Predicate<AttributeDescriptorModel>> partOfAttributePredicates)
-