SecondaryAndAdditionalData
SecondaryAndAdditionalData class
Class for storing HIBC LIC secondary and additional data.
new SecondaryAndAdditionalData()
Methods
| Name | Description |
|---|---|
| equals(obj) | Returns a value indicating whether this instance is equal to a specified SecondaryAndAdditionalData value. |
| getDateOfManufacture() | Identifies date of manufacture. Date of manufacture can be set to DateTime.MinValue in order not to use this field. Defa |
| 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. Defa |
| getSerialNumber() | Identifies serial number. Serial number must be alphanumeric string up to 18 sybmols length. |
| hashCode() | Returns the hash code for this instance. |
| parseFromString(secondaryDataCodetext) | Instantiates secondary and additional supplemental data from string format according HIBC LIC specification. |
| setDateOfManufacture() | Identifies date of manufacture. Date of manufacture can be set to DateTime.MinValue in order not to use this field. Defa |
| 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. Defa |
| 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. |
equals(obj)
Returns a value indicating whether this instance is equal to a specified SecondaryAndAdditionalData value.
| Parameter | Description |
|---|---|
| obj | An SecondaryAndAdditionalData value to compare to this instance. |
Returns: true if obj has the same value as this instance; otherwise, 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 | 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.