com.poscoict.glueframework.xplatform.common
Class Converter

java.lang.Object
  extended by com.poscoict.glueframework.xplatform.common.Converter

public class Converter
extends Object

XPlatform°ü·Ã º¯È¯ ¸Þ¼­µåµéÀÌ ÀÖ´Â Utility Class

Author:
Á¶Ã¢Èñ

Constructor Summary
Converter()
           
 
Method Summary
static List<Map<String,Object>> convertDataSetToDeleteList(com.tobesoft.xplatform.data.DataSet dataSet)
          DataSet¿¡¼­ RemovedRowÀ» ArrayListÀ¸·Î º¯È¯
static List<Map<String,Object>> convertDataSetToInsertList(com.tobesoft.xplatform.data.DataSet dataSet)
          DataSet¿¡¼­ RowTypeÀÌ InsertÀÎ RowµéÀ» ArrayListÀ¸·Î º¯È¯
static List<Map<String,Object>> convertDataSetToList(com.tobesoft.xplatform.data.DataSet dataSet)
          DataSetÀ» ArrayListÀ¸·Î º¯È¯
static List<Map<String,Object>> convertDataSetToUpdateList(com.tobesoft.xplatform.data.DataSet dataSet)
          DataSet¿¡¼­ RowTypeÀÌ UpdateÀÎ RowµéÀ» ArrayListÀ¸·Î º¯È¯
static com.tobesoft.xplatform.data.DataSet convertGlueSetToDataSet(String dsName, GlueRowSet<?> GlueSet)
          GlueSetÀ» DataSetÀ¸·Î º¯È¯
static int typeConvertGlueSetToXplatform(int type)
          GlueSetÀÇ Data TypeÀ» XplatformÀÇ Data TypeÀ¸·Î º¯È¯
static int typeConvertXplatformToGlueSet(int type)
          XplatformÀÇ Data TypeÀ» GlueSetÀÇ Data TypeÀ¸·Î º¯È¯
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Converter

public Converter()
Method Detail

convertGlueSetToDataSet

public static com.tobesoft.xplatform.data.DataSet convertGlueSetToDataSet(String dsName,
                                                                          GlueRowSet<?> GlueSet)
GlueSetÀ» DataSetÀ¸·Î º¯È¯

Parameters:
String - dsName
PosGlueSet - GlueSet
Returns:
DataSet

convertDataSetToList

public static List<Map<String,Object>> convertDataSetToList(com.tobesoft.xplatform.data.DataSet dataSet)
DataSetÀ» ArrayListÀ¸·Î º¯È¯

Parameters:
DataSet - dataSet
Returns:
ArrayList

convertDataSetToInsertList

public static List<Map<String,Object>> convertDataSetToInsertList(com.tobesoft.xplatform.data.DataSet dataSet)
DataSet¿¡¼­ RowTypeÀÌ InsertÀÎ RowµéÀ» ArrayListÀ¸·Î º¯È¯

Parameters:
DataSet - dataSet
Returns:
ArrayList

convertDataSetToUpdateList

public static List<Map<String,Object>> convertDataSetToUpdateList(com.tobesoft.xplatform.data.DataSet dataSet)
DataSet¿¡¼­ RowTypeÀÌ UpdateÀÎ RowµéÀ» ArrayListÀ¸·Î º¯È¯

Parameters:
DataSet - dataSet
Returns:
ArrayList

convertDataSetToDeleteList

public static List<Map<String,Object>> convertDataSetToDeleteList(com.tobesoft.xplatform.data.DataSet dataSet)
DataSet¿¡¼­ RemovedRowÀ» ArrayListÀ¸·Î º¯È¯

Parameters:
DataSet - dataSet
Returns:
ArrayList

typeConvertGlueSetToXplatform

public static int typeConvertGlueSetToXplatform(int type)
GlueSetÀÇ Data TypeÀ» XplatformÀÇ Data TypeÀ¸·Î º¯È¯

Parameters:
int - type
Returns:
int

typeConvertXplatformToGlueSet

public static int typeConvertXplatformToGlueSet(int type)
XplatformÀÇ Data TypeÀ» GlueSetÀÇ Data TypeÀ¸·Î º¯È¯

Parameters:
int - type
Returns:
int


Copyright © 2013–2017 POSCO ICT. All rights reserved.