Interface PackagingFactory
public interface PackagingFactory
A factory for creating a
Packaging
.- Author:
- Andy Wilkinson
-
Method Summary
-
Method Details
-
createPackaging
Creates and returns aPackaging
for the given id. If the factory does not recognise the givenid
,null
should be returned.- Parameters:
id
- the id of the packaging- Returns:
- the packaging or
null
-