Class AtomicTypeModelRetriever

java.lang.Object
de.hybris.platform.integrationservices.util.AtomicTypeModelRetriever

public class AtomicTypeModelRetriever extends Object
A helper class to retrieve AtomicTypeModels given a type code.
  • Constructor Details

    • AtomicTypeModelRetriever

      public AtomicTypeModelRetriever(FlexibleSearchService flexibleSearchService)
      Creates new instance of the retriever.
      Parameters:
      flexibleSearchService - to search for the AtomicTypeModel.
  • Method Details

    • get

      public AtomicTypeModel get(String type)
      Retrieves the AtomicTypeModel present in the type system.
      Parameters:
      type - value for the AtomicTypeModel requested.
      Returns:
      an AtomicTypeModel for the given type or null if the type isn't found.