Interface PackagingFactory


public interface PackagingFactory
A factory for creating a Packaging.
Author:
Andy Wilkinson
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable Packaging
    createPackaging(@Nullable String id)
    Creates and returns a Packaging for the given id.
  • Method Details

    • createPackaging

      @Nullable Packaging createPackaging(@Nullable String id)
      Creates and returns a Packaging for the given id. If the factory does not recognize the given id, null should be returned.
      Parameters:
      id - the id of the packaging
      Returns:
      the packaging or null