![]() |
Mendix Runtime
Documentation for the Mendix Runtime Environment API
|
Public Types | |
enum | DataTypeEnum { Object, Enumeration, Integer, Long, Float, Currency, Boolean, Datetime, String, HashString, AutoNumber, Binary, Nothing, Unknown } |
Public Member Functions | |
abstract DataTypeEnum | getType () |
abstract String | getObjectType () |
abstract boolean | checkTypeForValue (Object value) |
abstract IDataType | getTypeOfValue (Object value) |
abstract Object | parseValueFromString (String value) |
boolean | isList () |
boolean | isMendixObject () |
boolean | isNothing () |
String | getDSLType () |
IMetaEnumeration | getEnumeration () |
Generic class for Mendix data types. Use Core.createDataType to convert model data type dsl Strings to this object.
abstract boolean com.mendix.systemwideinterfaces.core.IDataType.checkTypeForValue | ( | Object | value | ) | [pure virtual] |
Checks the type of the given value
If the given value is a List, it should contain at least one item to check the object type
value |
String com.mendix.systemwideinterfaces.core.IDataType.getDSLType | ( | ) |
IMetaEnumeration com.mendix.systemwideinterfaces.core.IDataType.getEnumeration | ( | ) |
abstract String com.mendix.systemwideinterfaces.core.IDataType.getObjectType | ( | ) | [pure virtual] |
abstract DataTypeEnum com.mendix.systemwideinterfaces.core.IDataType.getType | ( | ) | [pure virtual] |
abstract IDataType com.mendix.systemwideinterfaces.core.IDataType.getTypeOfValue | ( | Object | value | ) | [pure virtual] |
Returns DataType of the given value
If the given value is a List, it should contain at least one item to set the object type
value |
boolean com.mendix.systemwideinterfaces.core.IDataType.isList | ( | ) |
boolean com.mendix.systemwideinterfaces.core.IDataType.isMendixObject | ( | ) |
boolean com.mendix.systemwideinterfaces.core.IDataType.isNothing | ( | ) |
abstract Object com.mendix.systemwideinterfaces.core.IDataType.parseValueFromString | ( | String | value | ) | [pure virtual] |
Parses a String to a value based on this datatype
value |