public class FreeTextSubjectCode extends CodeValidation
Modifier and Type | Field and Description |
---|---|
static String |
ADDITIONAL_SALES_CONDITIONS |
static String |
CERTIFICATION_STATEMENTS |
static int |
HEADER |
protected int |
level |
static int |
LINE |
static String |
PAYMENT_INFORMATION |
static String |
PRICE_CALCULATION_FORMULA |
static String |
PRICE_CONDITIONS |
static String |
PRODUCT_INFORMATION |
static String |
REGULATORY_INFORMATION |
Constructor and Description |
---|
FreeTextSubjectCode(int level) |
Modifier and Type | Method and Description |
---|---|
static boolean |
isHeaderLevel(String code) |
static boolean |
isLineLevel(String code) |
boolean |
isValid(String code)
Checks if a specific code is valid.
|
check, isLowercase, isNumeric, isUppercase
public static final String REGULATORY_INFORMATION
public static final String PRICE_CONDITIONS
public static final String ADDITIONAL_SALES_CONDITIONS
public static final String PAYMENT_INFORMATION
public static final String PRICE_CALCULATION_FORMULA
public static final String PRODUCT_INFORMATION
public static final String CERTIFICATION_STATEMENTS
public static final int HEADER
public static final int LINE
protected int level
public boolean isValid(String code)
CodeValidation
isValid
in class CodeValidation
code
- the value you want to check
public static boolean isHeaderLevel(String code)
public static boolean isLineLevel(String code)
Copyright © 2016. All rights reserved.