Class DataTypeInfoDTO
- java.lang.Object
-
- com.microstrategy.web.tasks.models.dto.DataTypeInfoDTO
-
public class DataTypeInfoDTO extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description DataTypeInfoDTO()DataTypeInfoDTO(JSONObject dataTypeInfoJson)build the DataTypeInfo from the JSONObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.IntegergetPrecision()java.lang.IntegergetScale()EnumColumnDataTypegetType()voidsetPrecision(java.lang.Integer precision)voidsetScale(java.lang.Integer scale)voidsetType(EnumColumnDataType type)
-
-
-
Constructor Detail
-
DataTypeInfoDTO
public DataTypeInfoDTO()
-
DataTypeInfoDTO
public DataTypeInfoDTO(JSONObject dataTypeInfoJson) throws JSONException
build the DataTypeInfo from the JSONObject.- Parameters:
dataTypeInfoJson- input json string containing the dataTypeInfo- Throws:
JSONException- throw if JSONException happens
-
-
Method Detail
-
getType
public EnumColumnDataType getType()
-
setType
public void setType(EnumColumnDataType type)
-
getPrecision
public java.lang.Integer getPrecision()
-
setPrecision
public void setPrecision(java.lang.Integer precision)
-
getScale
public java.lang.Integer getScale()
-
setScale
public void setScale(java.lang.Integer scale)
-
-