*
* @return $packageContent Package content
*/
- public function getPackageContent () {
+ public final function getPackageContent () {
return $this->packageContent;
}
* @param $packageContent Package content
* @return void
*/
- public function setPackageContent (string $packageContent) {
+ public final function setPackageContent (string $packageContent) {
$this->packageContent = $packageContent;
}
*
* @return $senderAddress Sender address
*/
- public function getSenderAddress () {
+ public final function getSenderAddress () {
return $this->senderAddress;
}
* @param $senderAddress Sender id
* @return void
*/
- public function setSenderAddress (string $senderAddress) {
+ public final function setSenderAddress (string $senderAddress) {
$this->senderAddress = $senderAddress;
}
*
* @return $senderId Sender id
*/
- public function getSenderId () {
+ public final function getSenderId () {
return $this->senderId;
}
* @param $senderId Sender id
* @return void
*/
- public function setSenderId (string $senderId) {
+ public final function setSenderId (string $senderId) {
$this->senderId = $senderId;
}
*
* @return $senderPort Sender port
*/
- public function getSenderPort () {
+ public final function getSenderPort () {
return $this->senderPort;
}
* @param $senderPort Sender port
* @return void
*/
- public function setSenderPort (string $senderPort) {
+ public final function setSenderPort (string $senderPort) {
$this->senderPort = $senderPort;
}
*
* @return $recipientType Recipient type
*/
- public function getRecipientType () {
+ public final function getRecipientType () {
return $this->recipientType;
}
* @param $recipientType Recipient type
* @return void
*/
- public function setRecipientType (string $recipientType) {
+ public final function setRecipientType (string $recipientType) {
$this->recipientType = $recipientType;
}
*
* @return $recipientId Recipient id
*/
- public function getRecipientId () {
+ public final function getRecipientId () {
return $this->recipientId;
}
* @param $recipientId Recipient id
* @return void
*/
- public function setRecipientId (string $recipientId) {
+ public final function setRecipientId (string $recipientId) {
$this->recipientId = $recipientId;
}
*
* @return $recipientUnl Recipient UNL
*/
- public function getRecipientUnl () {
+ public final function getRecipientUnl () {
return $this->recipientUnl;
}
* @param $recipientUnl Recipient UNL
* @return void
*/
- public function setRecipientUnl (string $recipientUnl) {
+ public final function setRecipientUnl (string $recipientUnl) {
$this->recipientUnl = $recipientUnl;
}
*
* @return $status Status
*/
- public function getStatus () {
+ public final function getStatus () {
return $this->status;
}
* @param $status Status
* @return void
*/
- public function setStatus (string $status) {
+ public final function setStatus (string $status) {
$this->status = $status;
}
*
* @return $contentHash Content hash
*/
- public function getContentHash () {
+ public final function getContentHash () {
return $this->contentHash;
}
* @param $contentHash Content hash
* @return void
*/
- public function setContentHash (string $contentHash) {
+ public final function setContentHash (string $contentHash) {
$this->contentHash = $contentHash;
}
*
* @return $contentTags Content tags
*/
- public function getContentTags () {
+ public final function getContentTags () {
return $this->contentTags;
}
* @param $contentTags Content tags
* @return void
*/
- public function setContentTags (array $contentTags) {
+ public final function setContentTags (array $contentTags) {
$this->contentTags = $contentTags;
}
*
* @return $rawXml Content message
*/
- public function getRawXml () {
+ public final function getRawXml () {
return $this->rawXml;
}
* @param $rawXml Content message
* @return void
*/
- public function setRawXml (string $rawXml) {
+ public final function setRawXml (string $rawXml) {
$this->rawXml = $rawXml;
}
*
* @return $contentChecksum Content checksum
*/
- public function getContentChecksum () {
+ public final function getContentChecksum () {
return $this->contentChecksum;
}
* @param $contentChecksum Content checksum
* @return void
*/
- public function setContentChecksum (string $contentChecksum) {
+ public final function setContentChecksum (string $contentChecksum) {
$this->contentChecksum = $contentChecksum;
}
*
* @return $rawData Raw data
*/
- public function getRawData () {
+ public final function getRawData () {
return $this->rawData;
}
* @param $rawData Raw data
* @return void
*/
- public function setRawData ($rawData) {
+ public final function setRawData ($rawData) {
$this->rawData = $rawData;
}
*
* @return $errorCode Error code
*/
- public function getErrorCode () {
+ public final function getErrorCode () {
return $this->errorCode;
}
* @param $errorCode Error code
* @return void
*/
- public function setErrorCode ($errorCode) {
+ public final function setErrorCode (string $errorCode) {
$this->errorCode = $errorCode;
}
*
* @return $compressorExtension Compressor extension
*/
- public function getCompressorExtension () {
+ public final function getCompressorExtension () {
return $this->compressorExtension;
}
* @param $compressorExtension Compressor extension
* @return void
*/
- public function setCompressorExtension (string $compressorExtension) {
+ public final function setCompressorExtension (string $compressorExtension) {
$this->compressorExtension = $compressorExtension;
}
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
interface DeliverablePackage extends HubInterface {
+ /**
+ * Getter for package content
+ *
+ * @return $packageContent Package content
+ */
+ function getPackageContent ();
+
+ /**
+ * Setter for package content
+ *
+ * @param $packageContent Package content
+ * @return void
+ */
+ function setPackageContent (string $packageContent);
+
+ /**
+ * Getter for sender address
+ *
+ * @return $senderAddress Sender address
+ */
+ function getSenderAddress ();
+
+ /**
+ * Setter for sender id
+ *
+ * @param $senderAddress Sender id
+ * @return void
+ */
+ function setSenderAddress (string $senderAddress);
+
+ /**
+ * Getter for sender id
+ *
+ * @return $senderId Sender id
+ */
+ function getSenderId ();
+
+ /**
+ * Setter for sender id
+ *
+ * @param $senderId Sender id
+ * @return void
+ */
+ function setSenderId (string $senderId);
+
+ /**
+ * Getter for sender port
+ *
+ * @return $senderPort Sender port
+ */
+ function getSenderPort ();
+
+ /**
+ * Setter for sender port
+ *
+ * @param $senderPort Sender port
+ * @return void
+ */
+ function setSenderPort (string $senderPort);
+
+ /**
+ * Getter for recipient type
+ *
+ * @return $recipientType Recipient type
+ */
+ function getRecipientType ();
+
+ /**
+ * Setter for recipient type
+ *
+ * @param $recipientType Recipient type
+ * @return void
+ */
+ function setRecipientType (string $recipientType);
+
+ /**
+ * Getter for recipient id
+ *
+ * @return $recipientId Recipient id
+ */
+ function getRecipientId ();
+
+ /**
+ * Setter for recipient id
+ *
+ * @param $recipientId Recipient id
+ * @return void
+ */
+ function setRecipientId (string $recipientId);
+
+ /**
+ * Getter for recipient UNL
+ *
+ * @return $recipientUnl Recipient UNL
+ */
+ function getRecipientUnl ();
+
+ /**
+ * Setter for recipient UNL
+ *
+ * @param $recipientUnl Recipient UNL
+ * @return void
+ */
+ function setRecipientUnl (string $recipientUnl);
+
+ /**
+ * Getter for status
+ *
+ * @return $status Status
+ */
+ function getStatus ();
+
+ /**
+ * Setter for status
+ *
+ * @param $status Status
+ * @return void
+ */
+ function setStatus (string $status);
+
+ /**
+ * Getter for content hash
+ *
+ * @return $contentHash Content hash
+ */
+ function getContentHash ();
+
+ /**
+ * Setter for content hash
+ *
+ * @param $contentHash Content hash
+ * @return void
+ */
+ function setContentHash (string $contentHash);
+
+ /**
+ * Getter for content tags
+ *
+ * @return $contentTags Content tags
+ */
+ function getContentTags ();
+
+ /**
+ * Setter for content tags
+ *
+ * @param $contentTags Content tags
+ * @return void
+ */
+ function setContentTags (array $contentTags);
+
+ /**
+ * Getter for content message
+ *
+ * @return $rawXml Content message
+ */
+ function getRawXml ();
+
+ /**
+ * Setter for content message
+ *
+ * @param $rawXml Content message
+ * @return void
+ */
+ function setRawXml (string $rawXml);
+
+ /**
+ * Getter for content checksum
+ *
+ * @return $contentChecksum Content checksum
+ */
+ function getContentChecksum ();
+
+ /**
+ * Setter for content checksum
+ *
+ * @param $contentChecksum Content checksum
+ * @return void
+ */
+ function setContentChecksum (string $contentChecksum);
+
+ /**
+ * Setter for private key hash
+ *
+ * @param $senderPrivateKeyHash The new private key hash
+ * @return void
+ */
+ function setSenderPrivateKeyHash (string $senderPrivateKeyHash);
+
+ /**
+ * Getter for private key hash
+ *
+ * @return $senderPrivateKeyHash Current private key hash
+ */
+ function getSenderPrivateKeyHash ();
+
+ /**
+ * Getter for raw data
+ *
+ * @return $rawData Raw data
+ */
+ function getRawData ();
+
+ /**
+ * Setter for raw data
+ *
+ * @param $rawData Raw data
+ * @return void
+ */
+ function setRawData ($rawData);
+
+ /**
+ * Getter for error code
+ *
+ * @return $errorCode Error code
+ */
+ function getErrorCode ();
+
+ /**
+ * Setter for error code
+ *
+ * @param $errorCode Error code
+ * @return void
+ */
+ function setErrorCode (string $errorCode);
+
+ /**
+ * Getter for compressor extension
+ *
+ * @return $compressorExtension Compressor extension
+ */
+ function getCompressorExtension ();
+
+ /**
+ * Setter for compressor extension
+ *
+ * @param $compressorExtension Compressor extension
+ * @return void
+ */
+ function setCompressorExtension (string $compressorExtension);
+
+ /**
+ * Collecting "getter" for all class fields as array
+ *
+ * @return $packageData An array with all fields from this class
+ */
+ function getAllAsArray ();
}