public class SGTIN extends Object
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkLength(int epc_length)
Check if the EPC length matches the SGTIN-96 or SGTIN-198 format.
|
String |
getCompany()
Get Company number.
|
int |
getCount()
Get count of GTIN
|
String |
getEpc()
Get EPC.
|
int |
getExtensionDigit()
Get Extension Digit
|
String |
getGTIN14()
Get GTIN
|
String |
getItemReference()
Get Item Reference
|
int |
getPrefiex()
Get GTIN prefix
|
String |
getSerial()
Get Serial number
|
static String |
strZero(String input,
int length)
Padding a string with zeroes
|
void |
updateCount()
Update count of GTIN
|
public SGTIN(String epc)
public boolean checkLength(int epc_length)
public String getEpc()
public String getCompany()
public String getItemReference()
public int getExtensionDigit()
public String getGTIN14()
public String getSerial()
public int getPrefiex()
public void updateCount()
public int getCount()