PrimaryData

PrimaryData

Class for storing HIBC LIC primary data.

Constructor

new PrimaryData()

Source:

Methods

equals(obj)

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

Parameters:
Name Type Description
obj An {@code PrimaryData} value to compare to this instance.
Returns:
Type Description
{@code true} if obj has the same value as this instance; otherwise, {@code false}.
Source:

getLabelerIdentificationCode()

Identifies date of labeler identification code.
Labeler identification code must be 4 symbols alphanumeric string, with first character always being alphabetic.

Source:

getProductOrCatalogNumber()

Identifies product or catalog number. Product or catalog number must be alphanumeric string up to 18 sybmols length.

Source:

getUnitOfMeasureID()

Identifies unit of measure ID. Unit of measure ID must be integer value from 0 to 9.

Source:

hashCode()

Returns the hash code for this instance.

Returns:
Type Description
A 32-bit signed integer hash code.
Source:

parseFromString(primaryDataCodetext)

Instantiates primary data from string format according HIBC LIC specification.

Parameters:
Name Type Description
primaryDataCodetext Formatted string.
Source:

setLabelerIdentificationCode()

Identifies date of labeler identification code.
Labeler identification code must be 4 symbols alphanumeric string, with first character always being alphabetic.

Source:

setProductOrCatalogNumber()

Identifies product or catalog number. Product or catalog number must be alphanumeric string up to 18 sybmols length.

Source:

setUnitOfMeasureID()

Identifies unit of measure ID. Unit of measure ID must be integer value from 0 to 9.

Source:

toString()

Converts data to string format according HIBC LIC specification.

Returns:
Type Description
Formatted string.
Source: