Methods
equals(obj)
Returns a value indicating whether this instance is equal to a specified {@code SecondaryAndAdditionalData} value.
Parameters:
Name | Type | Description |
---|---|---|
obj |
An {@code SecondaryAndAdditionalData} value to compare to this instance. |
Returns:
Type | Description |
---|---|
{@code true} if obj has the same value as this instance; otherwise, {@code false}. |
- Source:
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
- Source:
getExpiryDate()
Identifies expiry date. Will be used if ExpiryDateFormat is not set to None.
- Source:
getExpiryDateFormat()
Identifies expiry date format.
- Source:
getLotNumber()
Identifies lot or batch number. Lot/batch number must be alphanumeric string with up to 18 sybmols length. .
- Source:
getQuantity()
Quantity can be set to -1 in order not to use this field.
Default value: -1
- Source:
getSerialNumber()
Identifies serial number. Serial number must be alphanumeric string up to 18 sybmols length.
- Source:
hashCode()
Returns the hash code for this instance.
Returns:
Type | Description |
---|---|
A 32-bit signed integer hash code. |
- Source:
parseFromString(secondaryDataCodetext)
Instantiates secondary and additional supplemental data from string format according HIBC LIC specification.
Parameters:
Name | Type | Description |
---|---|---|
secondaryDataCodetext |
Formatted string. |
- Source:
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
- Source:
setExpiryDate()
Identifies expiry date. Will be used if ExpiryDateFormat is not set to None.
- Source:
setExpiryDateFormat()
Identifies expiry date format.
- Source:
setLotNumber()
Identifies lot or batch number. Lot/batch number must be alphanumeric string with up to 18 sybmols length. .
- Source:
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
- Source:
setSerialNumber()
Identifies serial number. Serial number must be alphanumeric string up to 18 sybmols length.
- Source:
toString()
Converts data to string format according HIBC LIC specification.
Returns:
Type | Description |
---|---|
Formatted string. |
- Source: