Package com.deviceatlas
Class DataType
java.lang.Object
com.deviceatlas.DataType
The data types for various properties. Each Property object returned has a
getDataType() method.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final byteType booleanstatic final byteType bytestatic final byteType doublestatic final byteType floatstatic final byteType intstatic final byteType long intstatic final byteType short intstatic final byteType stringstatic final byteUnknown type -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
BOOLEAN
public static final byte BOOLEANType boolean- See Also:
-
BYTE
public static final byte BYTEType byte- See Also:
-
SHORT
public static final byte SHORTType short int- See Also:
-
INTEGER
public static final byte INTEGERType int- See Also:
-
LONG
public static final byte LONGType long int- See Also:
-
FLOAT
public static final byte FLOATType float- See Also:
-
DOUBLE
public static final byte DOUBLEType double- See Also:
-
STRING
public static final byte STRINGType string- See Also:
-
UNKNOWN
public static final byte UNKNOWNUnknown type- See Also:
-
-
Constructor Details
-
DataType
public DataType()
-
-
Method Details
-
getName
- Parameters:
dataTypeID- The id to lookup the name for- Returns:
- The name of the data type.
-