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) ContentInformation
m_ContentInformation
The internal value for the COntentInformation.(package private) boolean
m_isDeclaredComplete
Is the AIP complete?(package private) PackageDescription
m_PackageDescription
The internal value for the PackageDescription.(package private) PackagingInformation
m_PackagingInformation
The internal value for the PackagingInformation.(package private) PreservationDescriptionInformation
m_PreservationDescriptionInformation
The internal value for the PDI of the AIP.private static long
serialVersionUID
For serializationFields inherited from class info.oais.implementation.infomodel.InformationPackageImpl1
m_Identifier, m_InformationObject
Fields 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 ContentInformation
getContentInformation()
Get the ContentInformation in the AIP.PackageDescription
getPackageDescription()
Return the PackageDescription associated with the InformationPackagePackagingInformation
getPackagingInformation()
Return the PackagingInformation associated with the InformationPackagePreservationDescriptionInformation
getPDI()
Get the ProvenanceDescriptionInformation in the AIP.boolean
isDeclaredComplete()
If an archive declares that the AIP is complete i.e.void
setContentInformation(ContentInformation ci)
void
setIsDeclaredComplete(boolean complete)
Set whether the AIP is complete.void
setPackageDescription(PackageDescription pd)
Set the PackageDescription to associate with the InformationPackage.void
setPackagingInformation(PackagingInformation pi)
Set the PackagingInformation to associate with the InformationPackage.void
setPDI(PreservationDescriptionInformation pdi)
Set the PreservationDescriptionInformation of the AIP.Methods inherited from class info.oais.implementation.infomodel.InformationPackageImpl1
getIdentifier, getInformationObject, setIdentifier, setInformationObject
Methods inherited from class info.oais.implementation.infomodel.DataObjectImpl1
getDigitalObject, getPhysicalObject, setDigitalObject, setPhysicalObject
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface info.oais.interfaces.infomodel.DataObject
getDigitalObject, getPhysicalObject, setDigitalObject, setPhysicalObject
Methods 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:
isDeclaredComplete
in 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:
setIsDeclaredComplete
in 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:
getPDI
in interfaceArchivalInformationPackage
- Returns:
- The ProvenanceDescriptionInformation in the AIP
-
setPDI
Set the PreservationDescriptionInformation of the AIP.- Specified by:
setPDI
in interfaceArchivalInformationPackage
- Parameters:
pdi
- The ProvenanceDescriptionInformation to be in the AIP
-
getContentInformation
Get the ContentInformation in the AIP.- Specified by:
getContentInformation
in interfaceArchivalInformationPackage
- Returns:
- The ContentInformation in the AIP
-
setContentInformation
- Specified by:
setContentInformation
in interfaceArchivalInformationPackage
- Parameters:
ci
- The ContentInformation to be in the AIP
-
getPackageDescription
Description copied from class:InformationPackageImpl1
Return the PackageDescription associated with the InformationPackage- Specified by:
getPackageDescription
in interfaceInformationPackage
- Overrides:
getPackageDescription
in classInformationPackageImpl1
- Returns:
- the PackageDescription associated with the InformationPackage
-
setPackageDescription
Description copied from class:InformationPackageImpl1
Set the PackageDescription to associate with the InformationPackage.- Specified by:
setPackageDescription
in interfaceInformationPackage
- Overrides:
setPackageDescription
in classInformationPackageImpl1
- Parameters:
pd
- The PackageDescription to associate with the InformationPackage
-
getPackagingInformation
Description copied from class:InformationPackageImpl1
Return the PackagingInformation associated with the InformationPackage- Specified by:
getPackagingInformation
in interfaceInformationPackage
- Overrides:
getPackagingInformation
in classInformationPackageImpl1
- Returns:
- the PackagingInformation associated with the InformationPackage
-
setPackagingInformation
Description copied from class:InformationPackageImpl1
Set the PackagingInformation to associate with the InformationPackage.- Specified by:
setPackagingInformation
in interfaceInformationPackage
- Overrides:
setPackagingInformation
in classInformationPackageImpl1
- Parameters:
pi
- The PackagingInformation to associate with the InformationPackage
-