Class RegexpStructureTypeAttributePredicate

java.lang.Object
de.hybris.platform.cmsfacades.types.service.predicate.RegexpStructureTypeAttributePredicate
All Implemented Interfaces:
Predicate<AttributeDescriptorModel>

public class RegexpStructureTypeAttributePredicate extends Object implements Predicate<AttributeDescriptorModel>
Predicate to test if the declaring enclosing type ItemModel._TYPECODE and the attribute type match with {CMS_TYPECODE}@{ATTRIBUTE_ITEMTYPE}:{ATTRIBUTE_TYPECODE}. The pattern attribute is regular expression String that will be matched against the enclosing type' TYPECODE and the combination of the attribute's item type and type code. For example, suppose that in an instance of this Predicate, the pattern is .*@AtomicType:java.lang.String. Then this Predicate will return true for all any Item Type that has an attribute of the java.lang.String Java type.