Class DescriptorUtils
- java.lang.Object
-
- de.hybris.platform.integrationservices.model.impl.DescriptorUtils
-
public class DescriptorUtils extends java.lang.ObjectUtilities for manipulating the Descriptor classes in this package.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.Optional<IntegrationObjectItemModel>extractModelFrom(TypeDescriptor type)Retrieves item model corresponding to the specified type descriptor.
-
-
-
Method Detail
-
extractModelFrom
public static java.util.Optional<IntegrationObjectItemModel> extractModelFrom(TypeDescriptor type)
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.
-
-