Class IsCollectionAttributePredicate
- java.lang.Object
-
- de.hybris.platform.cms2.common.predicates.IsCollectionAttributePredicate
-
- All Implemented Interfaces:
java.util.function.Predicate<AttributeDescriptorModel>
public class IsCollectionAttributePredicate extends java.lang.Object implements java.util.function.Predicate<AttributeDescriptorModel>
Predicate to test if a given attributeAttributeDescriptorModelis a collection. This predicate will return true also for localized collections.
-
-
Constructor Summary
Constructors Constructor Description IsCollectionAttributePredicate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleanisCollection(TypeModel type)booleantest(AttributeDescriptorModel attributeDescriptorModel)
-
-
-
Method Detail
-
test
public boolean test(AttributeDescriptorModel attributeDescriptorModel)
- Specified by:
testin interfacejava.util.function.Predicate<AttributeDescriptorModel>
-
isCollection
protected boolean isCollection(TypeModel type)
-
-