@SuppressWarnings(value: CodeNarc.DuplicateNumberLiteral) @KwrkImmutable @CompileStatic class UnLoCodeFunction extends Object implements PostMapConstructorCheckable
Represents an 8-character function classifier code for the UN/LOCODE location.
Useful reference: https://service.unece.org/trade/locode/Service/LocodeColumn.htm - Section: 1.6 Column "Function"Type | Name and description |
---|---|
static Pattern |
CODE_PATTERN |
static UnLoCodeFunction |
UNKNOWN_UN_LO_CODE_FUNCTION |
String |
functionEncoded |
Constructor and description |
---|
UnLoCodeFunction() |
Type Params | Return Type | Name and description |
---|---|---|
|
static UnLoCodeFunction |
copyWithPortClassifier(UnLoCodeFunction unLoCodeFunctionOriginal) |
|
boolean |
isAirport() |
|
boolean |
isBorderCrossing() |
|
boolean |
isPort() |
|
boolean |
isPostalExchangeOffice() |
|
boolean |
isRailTerminal() |
|
boolean |
isRoadTerminal() |
|
boolean |
isSpecified() |
|
static UnLoCodeFunction |
makeWithPortClassifier() |
|
void |
postMapConstructorCheck(Map<String, ?> constructorArguments) |
Groovy Documentation