Class DataToModelAtomicTypePredicate
- java.lang.Object
-
- de.hybris.platform.cms2.version.predicate.DataToModelAtomicTypePredicate
-
- All Implemented Interfaces:
java.util.function.Predicate<java.lang.String>
public class DataToModelAtomicTypePredicate extends java.lang.Object implements java.util.function.Predicate<java.lang.String>Predicate to identify if the provided type is an @AtomicType.
-
-
Constructor Summary
Constructors Constructor Description DataToModelAtomicTypePredicate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected TypeServicegetTypeService()protected booleanisAtomicType(java.lang.String typeCode)Determines if the provided typeCode is of @AtomicType.voidsetTypeService(TypeService typeService)booleantest(java.lang.String type)
-
-
-
Method Detail
-
test
public boolean test(java.lang.String type)
- Specified by:
testin interfacejava.util.function.Predicate<java.lang.String>
-
isAtomicType
protected boolean isAtomicType(java.lang.String typeCode)
Determines if the provided typeCode is of @AtomicType.
-
getTypeService
protected TypeService getTypeService()
-
setTypeService
public void setTypeService(TypeService typeService)
-
-