Class InformationPackageImpl1
java.lang.Object
info.oais.implementation.infomodel.DataObjectImpl1
info.oais.implementation.infomodel.InformationPackageImpl1
- All Implemented Interfaces:
- DataObject,- InformationPackage,- Serializable
- Direct Known Subclasses:
- ArchivalInformationPackageImpl1,- DisseminationInformationPackageImpl1,- SubmissionInformationPackageImpl1
public class InformationPackageImpl1 extends DataObjectImpl1 implements InformationPackage, Serializable
An implementation of InformationPackage.
- Since:
- 11-Sep-2021 21:17:46
- Version:
- 1.0
- Author:
- David
- See Also:
- Serialized Form
- 
Field SummaryFields Modifier and Type Field Description (package private) Identifierm_IdentifierInternal value for Identifier(package private) InformationObjectm_InformationObjectThe internal value for the InformationObject in the InfoPackage.(package private) PackageDescriptionm_PackageDescriptionThe internal value for the PackageDescription of the InfoPackage.(package private) PackagingInformationm_PackagingInformationThe internal value for the PackagingInformation of the InfoPackage - only used when the package will be serialised..private static longserialVersionUIDserialVersionUID to be used when object is serialized.Fields inherited from class info.oais.implementation.infomodel.DataObjectImpl1m_DigitalObject, m_PhysicalObject
- 
Constructor SummaryConstructors Constructor Description InformationPackageImpl1()Constructor for the InfoPackage.
- 
Method SummaryModifier and Type Method Description IdentifiergetIdentifier()Method to get the InfoPackageId.InformationObjectgetInformationObject()Return the InformationObject in the package.PackageDescriptiongetPackageDescription()Return the PackageDescription associated with the InformationPackagePackagingInformationgetPackagingInformation()Return the PackagingInformation associated with the InformationPackagevoidsetIdentifier(Identifier id)Method to set the InfoPackageId.voidsetInformationObject(InformationObject infoObj)Set the InformationObject in the InformationPackage.voidsetPackageDescription(PackageDescription pd)Set the PackageDescription to associate with the InformationPackage.voidsetPackagingInformation(PackagingInformation pi)Set the PackagingInformation to associate with the InformationPackage.Methods inherited from class info.oais.implementation.infomodel.DataObjectImpl1getDigitalObject, getPhysicalObject, setDigitalObject, setPhysicalObjectMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface info.oais.interfaces.infomodel.DataObjectgetDigitalObject, getPhysicalObject, setDigitalObject, setPhysicalObject
- 
Field Details- 
serialVersionUIDprivate static final long serialVersionUIDserialVersionUID to be used when object is serialized.- See Also:
- Constant Field Values
 
- 
m_InformationObjectInformationObject m_InformationObjectThe internal value for the InformationObject in the InfoPackage.
- 
m_PackageDescriptionPackageDescription m_PackageDescriptionThe internal value for the PackageDescription of the InfoPackage.
- 
m_PackagingInformationPackagingInformation m_PackagingInformationThe internal value for the PackagingInformation of the InfoPackage - only used when the package will be serialised..
- 
m_IdentifierIdentifier m_IdentifierInternal value for Identifier
 
- 
- 
Constructor Details- 
InformationPackageImpl1public InformationPackageImpl1()Constructor for the InfoPackage.
 
- 
- 
Method Details- 
getInformationObjectReturn the InformationObject in the package.- Specified by:
- getInformationObjectin interface- InformationPackage
- Returns:
- The InformationObject which the InformationPackage contains.
 
- 
setInformationObjectSet the InformationObject in the InformationPackage.- Specified by:
- setInformationObjectin interface- InformationPackage
- Parameters:
- infoObj- The InformationObject for the InformationPackage.
 
- 
getPackageDescriptionReturn the PackageDescription associated with the InformationPackage- Specified by:
- getPackageDescriptionin interface- InformationPackage
- Returns:
- the PackageDescription associated with the InformationPackage
 
- 
setPackageDescriptionSet the PackageDescription to associate with the InformationPackage.- Specified by:
- setPackageDescriptionin interface- InformationPackage
- Parameters:
- pd- The PackageDescription to associate with the InformationPackage
 
- 
getPackagingInformationReturn the PackagingInformation associated with the InformationPackage- Specified by:
- getPackagingInformationin interface- InformationPackage
- Returns:
- the PackagingInformation associated with the InformationPackage
 
- 
setPackagingInformationSet the PackagingInformation to associate with the InformationPackage.- Specified by:
- setPackagingInformationin interface- InformationPackage
- Parameters:
- pi- The PackagingInformation to associate with the InformationPackage
 
- 
getIdentifierMethod to get the InfoPackageId.- Specified by:
- getIdentifierin interface- DataObject
- Specified by:
- getIdentifierin interface- InformationPackage
- Overrides:
- getIdentifierin class- DataObjectImpl1
- Returns:
- The Identifier of the InformationPackage.
 
- 
setIdentifierMethod to set the InfoPackageId.- Specified by:
- setIdentifierin interface- DataObject
- Specified by:
- setIdentifierin interface- InformationPackage
- Overrides:
- setIdentifierin class- DataObjectImpl1
- Parameters:
- id- The Identifier of the InfoPackage.
 
 
-