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 Summary
Fields 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.DataObjectImpl1
m_DigitalObject, m_PhysicalObject - 
Constructor Summary
Constructors Constructor Description InformationPackageImpl1()Constructor for the InfoPackage. - 
Method Summary
Modifier 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.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, setPhysicalObject 
- 
Field Details
- 
serialVersionUID
private static final long serialVersionUIDserialVersionUID to be used when object is serialized.- See Also:
 - Constant Field Values
 
 - 
m_InformationObject
InformationObject m_InformationObjectThe internal value for the InformationObject in the InfoPackage. - 
m_PackageDescription
PackageDescription m_PackageDescriptionThe internal value for the PackageDescription of the InfoPackage. - 
m_PackagingInformation
PackagingInformation m_PackagingInformationThe internal value for the PackagingInformation of the InfoPackage - only used when the package will be serialised.. - 
m_Identifier
Identifier m_IdentifierInternal value for Identifier 
 - 
 - 
Constructor Details
- 
InformationPackageImpl1
public InformationPackageImpl1()Constructor for the InfoPackage. 
 - 
 - 
Method Details
- 
getInformationObject
Return the InformationObject in the package.- Specified by:
 getInformationObjectin interfaceInformationPackage- Returns:
 - The InformationObject which the InformationPackage contains.
 
 - 
setInformationObject
Set the InformationObject in the InformationPackage.- Specified by:
 setInformationObjectin interfaceInformationPackage- Parameters:
 infoObj- The InformationObject for the InformationPackage.
 - 
getPackageDescription
Return the PackageDescription associated with the InformationPackage- Specified by:
 getPackageDescriptionin interfaceInformationPackage- Returns:
 - the PackageDescription associated with the InformationPackage
 
 - 
setPackageDescription
Set the PackageDescription to associate with the InformationPackage.- Specified by:
 setPackageDescriptionin interfaceInformationPackage- Parameters:
 pd- The PackageDescription to associate with the InformationPackage
 - 
getPackagingInformation
Return the PackagingInformation associated with the InformationPackage- Specified by:
 getPackagingInformationin interfaceInformationPackage- Returns:
 - the PackagingInformation associated with the InformationPackage
 
 - 
setPackagingInformation
Set the PackagingInformation to associate with the InformationPackage.- Specified by:
 setPackagingInformationin interfaceInformationPackage- Parameters:
 pi- The PackagingInformation to associate with the InformationPackage
 - 
getIdentifier
Method to get the InfoPackageId.- Specified by:
 getIdentifierin interfaceDataObject- Specified by:
 getIdentifierin interfaceInformationPackage- Overrides:
 getIdentifierin classDataObjectImpl1- Returns:
 - The Identifier of the InformationPackage.
 
 - 
setIdentifier
Method to set the InfoPackageId.- Specified by:
 setIdentifierin interfaceDataObject- Specified by:
 setIdentifierin interfaceInformationPackage- Overrides:
 setIdentifierin classDataObjectImpl1- Parameters:
 id- The Identifier of the InfoPackage.
 
 -