XML工具 Tools 05

public static void setMaxLength(int maxLength)
{
Tools.maxLength = maxLength;
}

public static int getMaxeachBatch()
{
return maxeachBatch;
}

public static void setMaxeachBatch(int maxeachBatch)
{
Tools.maxeachBatch = maxeachBatch;
}

public static String getDf()
{
return df;
}

public static void setDf(String df)
{
Tools.df = df;
}

public static long getTHREADSLEEP()
{
return THREADSLEEP;
}

public static void setTHREADSLEEP(long tHREADSLEEP)
{
THREADSLEEP = tHREADSLEEP;
}

public static String getENDPOINT()
{
return ENDPOINT;
}

public static void setENDPOINT(String eNDPOINT)
{
ENDPOINT = eNDPOINT;
}

public static String getENCRYPT_ALGO()
{
return ENCRYPT_ALGO;
}

public static void setENCRYPT_ALGO(String eNCRYPT_ALGO)
{
ENCRYPT_ALGO = eNCRYPT_ALGO;
}

public static DocumentBuilderFactory getFactory()
{
return factory;
}

public static void setFactory(DocumentBuilderFactory factory)
{
Tools.factory = factory;
}

public static String[] getSeq_array()
{
return seq_array;
}

public static void setSeq_array(String[] seq_array)
{
Tools.seq_array = seq_array;
}

public static String[] getTrancking_array()
{
return trancking_array;
}

public static void setTrancking_array(String[] trancking_array)
{
Tools.trancking_array = trancking_array;
}

public static String getInitproperties()
{
return INITPROPERTIES;
}

public static TableName_Field[] sqlList(Map<String, String> propertiesValue,
Map<String, List<EsbTableField>> esbmTablefield)
{
Iterator<Map.Entry<String, List<EsbTableField>>> iterator = esbmTablefield
.entrySet().iterator();
TableName_Field[] temp_tableName_Fields=new TableName_Field[esbmTablefield.size()];

TableName_Field tableName_Field=null;
Map.Entry<String, List<EsbTableField>>entry=null;
//实际的对像的长度
int index=0;
//迭代 CLE表
while(iterator.hasNext())
{
entry=iterator.next();
//将表的字段对应的值,定入到tableName_Field中
tableName_Field=setFieldValueMapping(entry, propertiesValue);
if(tableName_Field!=null)
{
temp_tableName_Fields[index++]=tableName_Field;
}
}
TableName_Field[] tableName_Fields = null;
// temp_tableName_Fields的大小等于初始化,不要重新拷贝
if (index == esbmTablefield.size())
{
tableName_Fields = temp_tableName_Fields;
}
else
{
tableName_Fields = new TableName_Field[index];
System.arraycopy(temp_tableName_Fields, 0, tableName_Fields, 0,
index);
}

return tableName_Fields;
}

}
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值