Class ArchivalInformationPackageImpl1
java.lang.Object
info.oais.implementation.infomodel.DataObjectImpl1
info.oais.implementation.infomodel.InformationPackageImpl1
info.oais.implementation.infomodel.ArchivalInformationPackageImpl1
- All Implemented Interfaces:
ArchivalInformationPackage,DataObject,InformationPackage,Serializable
- Direct Known Subclasses:
ArchivalInformationUnitImpl1
public class ArchivalInformationPackageImpl1 extends InformationPackageImpl1 implements ArchivalInformationPackage, Serializable
An implementation of Archival Information Package.
- Since:
- 11-Sep-2021 21:24:11
- Version:
- 1.0
- Author:
- David
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description (package private) ContentInformationm_ContentInformationThe internal value for the COntentInformation.(package private) booleanm_isDeclaredCompleteIs the AIP complete?(package private) PackageDescriptionm_PackageDescriptionThe internal value for the PackageDescription.(package private) PackagingInformationm_PackagingInformationThe internal value for the PackagingInformation.(package private) PreservationDescriptionInformationm_PreservationDescriptionInformationThe internal value for the PDI of the AIP.private static longserialVersionUIDFor serializationFields inherited from class info.oais.implementation.infomodel.InformationPackageImpl1
m_Identifier, m_InformationObjectFields inherited from class info.oais.implementation.infomodel.DataObjectImpl1
m_DigitalObject, m_PhysicalObject -
Constructor Summary
Constructors Constructor Description ArchivalInformationPackageImpl1()The constructore for the AIP. -
Method Summary
Modifier and Type Method Description ContentInformationgetContentInformation()Get the ContentInformation in the AIP.PackageDescriptiongetPackageDescription()Return the PackageDescription associated with the InformationPackagePackagingInformationgetPackagingInformation()Return the PackagingInformation associated with the InformationPackagePreservationDescriptionInformationgetPDI()Get the ProvenanceDescriptionInformation in the AIP.booleanisDeclaredComplete()If an archive declares that the AIP is complete i.e.voidsetContentInformation(ContentInformation ci)voidsetIsDeclaredComplete(boolean complete)Set whether the AIP is complete.voidsetPackageDescription(PackageDescription pd)Set the PackageDescription to associate with the InformationPackage.voidsetPackagingInformation(PackagingInformation pi)Set the PackagingInformation to associate with the InformationPackage.voidsetPDI(PreservationDescriptionInformation pdi)Set the PreservationDescriptionInformation of the AIP.Methods inherited from class info.oais.implementation.infomodel.InformationPackageImpl1
getIdentifier, getInformationObject, setIdentifier, setInformationObjectMethods inherited from class info.oais.implementation.infomodel.DataObjectImpl1
getDigitalObject, getPhysicalObject, setDigitalObject, setPhysicalObjectMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface info.oais.interfaces.infomodel.DataObject
getDigitalObject, getPhysicalObject, setDigitalObject, setPhysicalObjectMethods inherited from interface info.oais.interfaces.infomodel.InformationPackage
getIdentifier, getInformationObject, setIdentifier, setInformationObject
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDFor serialization- See Also:
- Constant Field Values
-
m_isDeclaredComplete
boolean m_isDeclaredCompleteIs the AIP complete? -
m_PreservationDescriptionInformation
PreservationDescriptionInformation m_PreservationDescriptionInformationThe internal value for the PDI of the AIP. -
m_ContentInformation
ContentInformation m_ContentInformationThe internal value for the COntentInformation. -
m_PackagingInformation
PackagingInformation m_PackagingInformationThe internal value for the PackagingInformation. -
m_PackageDescription
PackageDescription m_PackageDescriptionThe internal value for the PackageDescription.
-
-
Constructor Details
-
ArchivalInformationPackageImpl1
public ArchivalInformationPackageImpl1()The constructore for the AIP.
-
-
Method Details
-
isDeclaredComplete
public boolean isDeclaredComplete()If an archive declares that the AIP is complete i.e. is suitable for long term preservation in that archive, then this method should return TRUE.- Specified by:
isDeclaredCompletein interfaceArchivalInformationPackage- Returns:
- A boolean which if true declares that the AIP is complete, otherwise it is incomplete.
-
setIsDeclaredComplete
public void setIsDeclaredComplete(boolean complete)Set whether the AIP is complete.- Specified by:
setIsDeclaredCompletein interfaceArchivalInformationPackage- Parameters:
complete- If true then this declares that the AIP is complete i.e. has all the components needed for the preservation of the InformationObject which is the target of preservation.
-
getPDI
Get the ProvenanceDescriptionInformation in the AIP.- Specified by:
getPDIin interfaceArchivalInformationPackage- Returns:
- The ProvenanceDescriptionInformation in the AIP
-
setPDI
Set the PreservationDescriptionInformation of the AIP.- Specified by:
setPDIin interfaceArchivalInformationPackage- Parameters:
pdi- The ProvenanceDescriptionInformation to be in the AIP
-
getContentInformation
Get the ContentInformation in the AIP.- Specified by:
getContentInformationin interfaceArchivalInformationPackage- Returns:
- The ContentInformation in the AIP
-
setContentInformation
- Specified by:
setContentInformationin interfaceArchivalInformationPackage- Parameters:
ci- The ContentInformation to be in the AIP
-
getPackageDescription
Description copied from class:InformationPackageImpl1Return the PackageDescription associated with the InformationPackage- Specified by:
getPackageDescriptionin interfaceInformationPackage- Overrides:
getPackageDescriptionin classInformationPackageImpl1- Returns:
- the PackageDescription associated with the InformationPackage
-
setPackageDescription
Description copied from class:InformationPackageImpl1Set the PackageDescription to associate with the InformationPackage.- Specified by:
setPackageDescriptionin interfaceInformationPackage- Overrides:
setPackageDescriptionin classInformationPackageImpl1- Parameters:
pd- The PackageDescription to associate with the InformationPackage
-
getPackagingInformation
Description copied from class:InformationPackageImpl1Return the PackagingInformation associated with the InformationPackage- Specified by:
getPackagingInformationin interfaceInformationPackage- Overrides:
getPackagingInformationin classInformationPackageImpl1- Returns:
- the PackagingInformation associated with the InformationPackage
-
setPackagingInformation
Description copied from class:InformationPackageImpl1Set the PackagingInformation to associate with the InformationPackage.- Specified by:
setPackagingInformationin interfaceInformationPackage- Overrides:
setPackagingInformationin classInformationPackageImpl1- Parameters:
pi- The PackagingInformation to associate with the InformationPackage
-