Class EqualsModeAttributeBiPredicate
java.lang.Object
de.hybris.platform.cmsfacades.types.modepredicates.EqualsModeAttributeBiPredicate
- All Implemented Interfaces:
BiPredicate<AttributeDescriptorModel,StructureTypeMode>
public class EqualsModeAttributeBiPredicate
extends Object
implements BiPredicate<AttributeDescriptorModel,StructureTypeMode>
BiPredicate that tests if the
StructureTypeMode is the same as defined for this instance of predicate.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StructureTypeModegetMode()voidsetMode(StructureTypeMode mode) booleantest(AttributeDescriptorModel attributeDescriptorModel, StructureTypeMode structureTypeMode) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.function.BiPredicate
and, negate, or
-
Constructor Details
-
EqualsModeAttributeBiPredicate
public EqualsModeAttributeBiPredicate()
-
-
Method Details
-
test
public boolean test(AttributeDescriptorModel attributeDescriptorModel, StructureTypeMode structureTypeMode) - Specified by:
testin interfaceBiPredicate<AttributeDescriptorModel,StructureTypeMode>
-
getMode
-
setMode
-