Interface PackagingFactory


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

    • createPackaging

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