Class DescriptorUtils
java.lang.Object
de.hybris.platform.integrationservices.model.impl.DescriptorUtils
Utilities for manipulating the Descriptor classes in this package.
-
Method Summary
Modifier and TypeMethodDescriptionstatic Optional<IntegrationObjectItemModel>Retrieves item model corresponding to the specified type descriptor.
-
Method Details
-
extractModelFrom
Retrieves item model corresponding to the specified type descriptor.- Parameters:
type- a type descriptor to extract the item model from.- Returns:
- an
Optionalwith the item model described by the specifiedTypeDescriptororOptional.empty(), if the specified type descriptor isnullor describes a primitive type.
-