PrimaryData
PrimaryData class
Class for storing HIBC LIC primary data.
new PrimaryData()
Methods
| Name | Description |
|---|---|
| equals(obj) | Returns a value indicating whether this instance is equal to a specified PrimaryData value. |
| getLabelerIdentificationCode() | Identifies date of labeler identification code. Labeler identification code must be 4 symbols alphanumeric string, with |
| getProductOrCatalogNumber() | Identifies product or catalog number. Product or catalog number must be alphanumeric string up to 18 sybmols length. |
| getUnitOfMeasureID() | Identifies unit of measure ID. Unit of measure ID must be integer value from 0 to 9. |
| hashCode() | Returns the hash code for this instance. |
| parseFromString(primaryDataCodetext) | Instantiates primary data from string format according HIBC LIC specification. |
| setLabelerIdentificationCode() | Identifies date of labeler identification code. Labeler identification code must be 4 symbols alphanumeric string, with |
| setProductOrCatalogNumber() | Identifies product or catalog number. Product or catalog number must be alphanumeric string up to 18 sybmols length. |
| setUnitOfMeasureID() | Identifies unit of measure ID. Unit of measure ID must be integer value from 0 to 9. |
| toString() | Converts data to string format according HIBC LIC specification. |
equals(obj)
Returns a value indicating whether this instance is equal to a specified PrimaryData value.
| Parameter | Description |
|---|---|
| obj | An PrimaryData value to compare to this instance. |
Returns: true if obj has the same value as this instance; otherwise, false .
getLabelerIdentificationCode()
Identifies date of labeler identification code. Labeler identification code must be 4 symbols alphanumeric string, with first character always being alphabetic.
getProductOrCatalogNumber()
Identifies product or catalog number. Product or catalog number must be alphanumeric string up to 18 sybmols length.
getUnitOfMeasureID()
Identifies unit of measure ID. Unit of measure ID must be integer value from 0 to 9.
hashCode()
Returns the hash code for this instance.
Returns: A 32-bit signed integer hash code.
parseFromString(primaryDataCodetext)
Instantiates primary data from string format according HIBC LIC specification.
| Parameter | Description |
|---|---|
| primaryDataCodetext | Formatted string. |
setLabelerIdentificationCode()
Identifies date of labeler identification code. Labeler identification code must be 4 symbols alphanumeric string, with first character always being alphabetic.
setProductOrCatalogNumber()
Identifies product or catalog number. Product or catalog number must be alphanumeric string up to 18 sybmols length.
setUnitOfMeasureID()
Identifies unit of measure ID. Unit of measure ID must be integer value from 0 to 9.
toString()
Converts data to string format according HIBC LIC specification.
Returns: Formatted string.