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 SummaryConstructors Constructor Description InformationPackageFactory()
- 
Method SummaryModifier and Type Method Description InformationPackagecreate(String packageType)Returns a new InformationPackage sub-type depending on the value of infoType.
- 
Constructor Details- 
InformationPackageFactorypublic InformationPackageFactory()
 
- 
- 
Method Details- 
createReturns a new InformationPackage sub-type depending on the value of infoType.- Specified by:
- createin interface- AbstractOaisFactory<InformationPackage>
- Parameters:
- packageType- String which indicates which type of Package to create.
- Returns:
- The Object created of the type requested.
 
 
-