public class MeasurementUnitCode extends CodeValidation
Modifier and Type | Field and Description |
---|---|
static String |
DAY |
static String |
HA |
static String |
HR |
static String |
ITEM |
static String |
KG |
static String |
KM |
static String |
KWH |
static String |
L |
static String |
M |
static String |
M2 |
static String |
M3 |
static String |
MIN |
static String |
MM |
static String |
MM2 |
static String |
NO |
static String |
PCT |
static String |
PR |
static String |
SET |
static String |
SUM |
static String |
T |
static String |
WK |
Constructor and Description |
---|
MeasurementUnitCode() |
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 ITEM
public static final String DAY
public static final String HA
public static final String HR
public static final String KG
public static final String KM
public static final String KWH
public static final String SUM
public static final String L
public static final String MIN
public static final String MM2
public static final String MM
public static final String M2
public static final String M3
public static final String M
public static final String NO
public static final String PR
public static final String PCT
public static final String SET
public static final String T
public static final String WK
public boolean isValid(String code)
CodeValidation
isValid
in class CodeValidation
code
- the value you want to check
Copyright © 1998–2018. All rights reserved.