Class InformationPackageFactory
java.lang.Object
info.oais.implementation.infomodel.InformationPackageFactory
- All Implemented Interfaces:
AbstractOaisFactory<InformationPackage>
public class InformationPackageFactory extends Object implements AbstractOaisFactory<InformationPackage>
An implementation of the AbstractOaisFactory interface to create OAIS Information Package.
The returned Object must be cast into the appropriate subtype.
The returned Object must be cast into the appropriate subtype.
- Since:
- 06-Sep-2021 15:59:46
- Version:
- 1.0
- Author:
- David
-
Constructor Summary
Constructors Constructor Description InformationPackageFactory()
-
Method Summary
Modifier and Type Method Description InformationPackage
create(String packageType)
Returns a new InformationPackage sub-type depending on the value of infoType.
-
Constructor Details
-
InformationPackageFactory
public InformationPackageFactory()
-
-
Method Details
-
create
Returns a new InformationPackage sub-type depending on the value of infoType.- Specified by:
create
in interfaceAbstractOaisFactory<InformationPackage>
- Parameters:
packageType
- String which indicates which type of Package to create.- Returns:
- The Object created of the type requested.
-