new SecondaryAndAdditionalData()

Methods

equals(obj)

Returns a value indicating whether this instance is equal to a specified {@code SecondaryAndAdditionalData} value.

Parameter

Name Type Optional Description

obj

 

 

An {@code SecondaryAndAdditionalData} value to compare to this instance.

Returns

{@code true} if obj has the same value as this instance; otherwise, {@code false}.

getDateOfManufacture()

Identifies date of manufacture. Date of manufacture can be set to DateTime.MinValue in order not to use this field. Default value: DateTime.MinValue

getExpiryDate()

Identifies expiry date. Will be used if ExpiryDateFormat is not set to None.

getExpiryDateFormat()

Identifies expiry date format.

getLotNumber()

Identifies lot or batch number. Lot/batch number must be alphanumeric string with up to 18 sybmols length. .

getQuantity()

Identifies quantity, must be integer value from 0 to 500. Quantity can be set to -1 in order not to use this field. Default value: -1

getSerialNumber()

Identifies serial number. Serial number must be alphanumeric string up to 18 sybmols length.

hashCode()

Returns the hash code for this instance.

Returns

A 32-bit signed integer hash code.

parseFromString(secondaryDataCodetext)

Instantiates secondary and additional supplemental data from string format according HIBC LIC specification.

Parameter

Name Type Optional Description

secondaryDataCodetext

 

 

Formatted string.

setDateOfManufacture()

Identifies date of manufacture. Date of manufacture can be set to DateTime.MinValue in order not to use this field. Default value: DateTime.MinValue

setExpiryDate()

Identifies expiry date. Will be used if ExpiryDateFormat is not set to None.

setExpiryDateFormat()

Identifies expiry date format.

setLotNumber()

Identifies lot or batch number. Lot/batch number must be alphanumeric string with up to 18 sybmols length. .

setQuantity()

Identifies quantity, must be integer value from 0 to 500. Quantity can be set to -1 in order not to use this field. Default value: -1

setSerialNumber()

Identifies serial number. Serial number must be alphanumeric string up to 18 sybmols length.

toString()

Converts data to string format according HIBC LIC specification.

Returns

Formatted string.