PrimaryData
Inheritance: java.lang.Object
public class PrimaryData
Class for storing HIBC LIC primary data.
Constructors
Constructor | Description |
---|---|
PrimaryData() |
Methods
Method | Description |
---|---|
equals(Object obj) | Returns a value indicating whether this instance is equal to a specified PrimaryData value. |
getClass() | |
getLabelerIdentificationCode() | Identifies date of labeler identification code. |
getProductOrCatalogNumber() | Identifies product or catalog number. |
getUnitOfMeasureID() | Identifies unit of measure ID. |
hashCode() | Returns the hash code for this instance. |
notify() | |
notifyAll() | |
parseFromString(String primaryDataCodetext) | Instantiates primary data from string format according HIBC LIC specification. |
setLabelerIdentificationCode(String value) | Identifies date of labeler identification code. |
setProductOrCatalogNumber(String value) | Identifies product or catalog number. |
setUnitOfMeasureID(int value) | Identifies unit of measure ID. |
toString() | Converts data to string format according HIBC LIC specification. |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
PrimaryData()
public PrimaryData()
equals(Object obj)
public boolean equals(Object obj)
Returns a value indicating whether this instance is equal to a specified PrimaryData value.
Parameters:
Parameter | Type | Description |
---|---|---|
obj | java.lang.Object | An PrimaryData value to compare to this instance. |
Returns: boolean - true if obj has the same value as this instance; otherwise, false .
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getLabelerIdentificationCode()
public String getLabelerIdentificationCode()
Identifies date of labeler identification code. Labeler identification code must be 4 symbols alphanumeric string, with first character always being alphabetic.
Returns: java.lang.String
getProductOrCatalogNumber()
public String getProductOrCatalogNumber()
Identifies product or catalog number. Product or catalog number must be alphanumeric string up to 18 sybmols length.
Returns: java.lang.String
getUnitOfMeasureID()
public int getUnitOfMeasureID()
Identifies unit of measure ID. Unit of measure ID must be integer value from 0 to 9.
Returns: int
hashCode()
public int hashCode()
Returns the hash code for this instance.
Returns: int - A 32-bit signed integer hash code.
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
parseFromString(String primaryDataCodetext)
public void parseFromString(String primaryDataCodetext)
Instantiates primary data from string format according HIBC LIC specification.
Parameters:
Parameter | Type | Description |
---|---|---|
primaryDataCodetext | java.lang.String | Formatted string. |
setLabelerIdentificationCode(String value)
public void setLabelerIdentificationCode(String value)
Identifies date of labeler identification code. Labeler identification code must be 4 symbols alphanumeric string, with first character always being alphabetic.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String |
setProductOrCatalogNumber(String value)
public void setProductOrCatalogNumber(String value)
Identifies product or catalog number. Product or catalog number must be alphanumeric string up to 18 sybmols length.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String |
setUnitOfMeasureID(int value)
public void setUnitOfMeasureID(int value)
Identifies unit of measure ID. Unit of measure ID must be integer value from 0 to 9.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
toString()
public String toString()
Converts data to string format according HIBC LIC specification.
Returns: java.lang.String - Formatted string.
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |