public class TransportMeansCode extends CodeValidation
Modifier and Type | Field and Description |
---|---|
static String |
AIR |
static String |
FIXED_INSTALLATION |
static String |
INLAND_WATER |
static String |
MAIL |
static String |
MARITIME |
static String |
MULTIMODAL |
static String |
NOT_APPLICABLE |
static String |
RAIL |
static String |
ROAD |
Constructor and Description |
---|
TransportMeansCode() |
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 MARITIME
public static final String RAIL
public static final String ROAD
public static final String AIR
public static final String MAIL
public static final String MULTIMODAL
public static final String FIXED_INSTALLATION
public static final String INLAND_WATER
public static final String NOT_APPLICABLE
public boolean isValid(String code)
CodeValidation
isValid
in class CodeValidation
code
- the value you want to check
Copyright © 1998–2019. All rights reserved.