public class EClassFieldFormat extends Object
EnumerationValue atrType = EClassFieldFormat.convertToAttributeType("X.12");
| Modifier and Type | Field and Description |
|---|---|
static String |
BOOLEAN |
static String |
CHAR_ALPHA |
static String |
CHAR_ALPHANUMERICAL |
static String |
CHAR_MIXED |
static String |
CHAR_NUMERICAL |
static char |
EXP |
static String |
NUMBER_DECIMAL |
static String |
NUMBER_DOUBLE |
static String |
NUMBER_INT |
static char |
SIGNED |
| Constructor and Description |
|---|
EClassFieldFormat(String pattern) |
| Modifier and Type | Method and Description |
|---|---|
static EnumerationValue |
convertToAttributeType(String fieldFormat)
Parses a eclass field format string and converts it into a calssification attribute type enum.
|
EnumerationValue |
getClassificationAttributeType() |
static String |
getClassificationNumberForExport(String classNumber)
Return the classification number of this category with an '-' after each layer.
|
int |
getFieldLength() |
String |
getFieldType() |
int |
getFractionDigits() |
boolean |
isFixedLength() |
boolean |
isSigned() |
protected boolean |
isText() |
protected void |
parse() |
public static final char EXP
public static final char SIGNED
public static final String NUMBER_DOUBLE
public static final String NUMBER_DECIMAL
public static final String NUMBER_INT
public static final String BOOLEAN
public static final String CHAR_ALPHANUMERICAL
public static final String CHAR_NUMERICAL
public static final String CHAR_MIXED
public static final String CHAR_ALPHA
public EClassFieldFormat(String pattern)
public static String getClassificationNumberForExport(String classNumber)
public static EnumerationValue convertToAttributeType(String fieldFormat)
fieldFormat - the field format stringprotected void parse()
protected boolean isText()
public EnumerationValue getClassificationAttributeType()
public String getFieldType()
public boolean isFixedLength()
public boolean isSigned()
public int getFieldLength()
public int getFractionDigits()
Copyright © 2017 SAP SE. All Rights Reserved.