public class TransportIdentificationCode extends CodeValidation
Modifier and Type | Field and Description |
---|---|
static String |
FLIGHT_NUMBER |
static String |
GINC |
static String |
GSIN |
static String |
NUMBER_PLATE |
static String |
SHIPMENT_REFERENCE |
static String |
SSCC |
Constructor and Description |
---|
TransportIdentificationCode() |
Modifier and Type | Method and Description |
---|---|
boolean |
isValid(String code)
Checks if a specific code is valid.
|
check, isLowercase, isNumeric, isUppercase
public static final String SHIPMENT_REFERENCE
public static final String FLIGHT_NUMBER
public static final String NUMBER_PLATE
public static final String SSCC
public static final String GINC
public static final String GSIN
public boolean isValid(String code)
CodeValidation
isValid
in class CodeValidation
code
- the value you want to check
Copyright © 2016. All rights reserved.