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) Identifier
m_Identifier
Internal value for Identifier(package private) InformationObject
m_InformationObject
The internal value for the InformationObject in the InfoPackage.(package private) PackageDescription
m_PackageDescription
The internal value for the PackageDescription of the InfoPackage.(package private) PackagingInformation
m_PackagingInformation
The internal value for the PackagingInformation of the InfoPackage - only used when the package will be serialised..private static long
serialVersionUID
serialVersionUID 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 Identifier
getIdentifier()
Method to get the InfoPackageId.InformationObject
getInformationObject()
Return the InformationObject in the package.PackageDescription
getPackageDescription()
Return the PackageDescription associated with the InformationPackagePackagingInformation
getPackagingInformation()
Return the PackagingInformation associated with the InformationPackagevoid
setIdentifier(Identifier id)
Method to set the InfoPackageId.void
setInformationObject(InformationObject infoObj)
Set the InformationObject in the InformationPackage.void
setPackageDescription(PackageDescription pd)
Set the PackageDescription to associate with the InformationPackage.void
setPackagingInformation(PackagingInformation pi)
Set the PackagingInformation to associate with the InformationPackage.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
-
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:
getInformationObject
in interfaceInformationPackage
- Returns:
- The InformationObject which the InformationPackage contains.
-
setInformationObject
Set the InformationObject in the InformationPackage.- Specified by:
setInformationObject
in interfaceInformationPackage
- Parameters:
infoObj
- The InformationObject for the InformationPackage.
-
getPackageDescription
Return the PackageDescription associated with the InformationPackage- Specified by:
getPackageDescription
in interfaceInformationPackage
- Returns:
- the PackageDescription associated with the InformationPackage
-
setPackageDescription
Set the PackageDescription to associate with the InformationPackage.- Specified by:
setPackageDescription
in interfaceInformationPackage
- Parameters:
pd
- The PackageDescription to associate with the InformationPackage
-
getPackagingInformation
Return the PackagingInformation associated with the InformationPackage- Specified by:
getPackagingInformation
in interfaceInformationPackage
- Returns:
- the PackagingInformation associated with the InformationPackage
-
setPackagingInformation
Set the PackagingInformation to associate with the InformationPackage.- Specified by:
setPackagingInformation
in interfaceInformationPackage
- Parameters:
pi
- The PackagingInformation to associate with the InformationPackage
-
getIdentifier
Method to get the InfoPackageId.- Specified by:
getIdentifier
in interfaceDataObject
- Specified by:
getIdentifier
in interfaceInformationPackage
- Overrides:
getIdentifier
in classDataObjectImpl1
- Returns:
- The Identifier of the InformationPackage.
-
setIdentifier
Method to set the InfoPackageId.- Specified by:
setIdentifier
in interfaceDataObject
- Specified by:
setIdentifier
in interfaceInformationPackage
- Overrides:
setIdentifier
in classDataObjectImpl1
- Parameters:
id
- The Identifier of the InfoPackage.
-