public class OCX
extends java.lang.Object
Constructor and Description |
---|
OCX() |
Modifier and Type | Method and Description |
---|---|
static character |
characterParam(BaseDataType value)
Performs a runtime conversion of the supplied BDT value to the expected type.
|
static decimal |
decimalParam(BaseDataType value)
Performs a runtime conversion of the supplied BDT value to the expected type.
|
static handle |
handleParam(BaseDataType value)
Performs a runtime conversion of the supplied BDT value to the expected type.
|
static integer |
integerParam(BaseDataType value)
Performs a runtime conversion of the supplied BDT value to the expected type.
|
private static int |
legacyToNativeDate(int legacyDate)
Converts legacy date value to native date value (with initial date 1-1-1900).
|
static logical |
logicalParam(BaseDataType value)
Performs a runtime conversion of the supplied BDT value to the expected type.
|
static NumberType |
numberTypeParam(BaseDataType value)
Performs a runtime conversion of the supplied BDT value to the expected type.
|
public static handle handleParam(BaseDataType value)
value
- The input BDT value.public static character characterParam(BaseDataType value)
value
- The input BDT value.public static NumberType numberTypeParam(BaseDataType value)
value
- The input BDT value.public static decimal decimalParam(BaseDataType value)
value
- The input BDT value.public static integer integerParam(BaseDataType value)
value
- The input BDT value.public static logical logicalParam(BaseDataType value)
value
- The input BDT value.private static int legacyToNativeDate(int legacyDate)
legacyDate
- The date to convert.