public class ImportMetaCriteria extends JDBCObject<ImportMetaCriteria>
An import metadata criteria object contains information retrieved from the ERP system. The information has a short life span (typically the time it takes to create an import batch) and is therefore not persisted to a database table.
Modifier and Type | Field and Description |
---|---|
static int |
ALPHA_NUMERIC
The data type for an alphanumeric field.
|
static int |
ALPHA_ONLY
The data type for an alpha only field.
|
private static java.text.DateFormat |
cvFmtExternalDate
The formatter for external dates.
|
private static java.text.DateFormat |
cvFmtInternalDate
The formatter for internal dates.
|
static int |
DATE
The data type for a date field.
|
static int |
NUMERIC
The data type for a numeric field.
|
private static long |
serialVersionUID
The class' serialization version id.
|
LOWVAL_RPG_DATE, LOWVAL_RPG_TIME, STATUS_ACTIVE, STATUS_BLANK, STATUS_CANCELED, STATUS_DELETED, STATUS_INACTIVE, STATUS_PENDING
ivHashCode, ivHashFlds, ivObjAttrs
Constructor and Description |
---|
ImportMetaCriteria()
Constructs a
ImportMetaCriteria object with all field values set
to null . |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
dateExternalToInternal(java.lang.String dateText)
Converts external (profile specific) text date format to internal text
date format.
|
static java.lang.String |
dateInternalToExternal(java.lang.String dateText)
Converts internal date format to external (profile specific) date format.
|
int |
getDataType()
Returns the field's data type.
|
java.lang.String |
getDescription()
Returns the field's description.
|
private static java.text.DateFormat |
getExternalDateFormat()
Returns the formatter for external dates.
|
private static java.text.DateFormat |
getInternalDateFormat()
Returns the formatter for internal dates.
|
int |
getMaxLength()
Returns the field's data maximum length.
|
java.lang.String |
getName()
Returns the field's name.
|
void |
setDataType(int value)
Sets the field's data type.
|
void |
setDescription(java.lang.String value)
Sets the field's description.
|
void |
setMaxLength(int value)
Sets the field's data maximum length.
|
void |
setName(java.lang.String value)
Sets the field's name.
|
after, before, compareTo, equals, fmtStatus, fmtStatus, getObjectStatus, hashKey, setObjectStatus
cloneMapAttributes, formatValue, formatValue, getHashFields, getMapArrayList, getMapAttributes, getMapBigDecimal, getMapBoolean, getMapDate, getMapDouble, getMapInteger, getMapLong, getMapMapped, getMapObject, getMapShort, getMapString, getMapString, getMapStringBuffer, getMapStringBuilder, getMapTime, getMapTimestamp, getMapVector, hashCode, setHashFields, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMapAttributes, setMapObject, setMapTime, setMapTimestamp, toStringArray
private static final long serialVersionUID
public static final int NUMERIC
public static final int ALPHA_ONLY
public static final int ALPHA_NUMERIC
public static final int DATE
private static java.text.DateFormat cvFmtExternalDate
private static java.text.DateFormat cvFmtInternalDate
public ImportMetaCriteria()
ImportMetaCriteria
object with all field values set
to null
.public java.lang.String getName()
public void setName(java.lang.String value)
value
- (String) The field's name.public int getDataType()
public void setDataType(int value)
value
- (int) The field's data type.public int getMaxLength()
public void setMaxLength(int value)
value
- (int) The field's data maximum length.public java.lang.String getDescription()
public void setDescription(java.lang.String value)
value
- (String) The field's description.public static java.lang.String dateExternalToInternal(java.lang.String dateText)
dateText
- (String) The date text.null
if conversion failed.public static java.lang.String dateInternalToExternal(java.lang.String dateText)
dateText
- (String) The date text.null
if conversion failed.private static java.text.DateFormat getExternalDateFormat()
private static java.text.DateFormat getInternalDateFormat()