
org.beangle.commons.transfer.TransferMessage Maven / Gradle / Ivy
The newest version!
/*
* Beangle, Agile Development Scaffold and Toolkits.
*
* Copyright © 2005, The Beangle Software.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see .
*/
package org.beangle.commons.transfer;
import java.util.ArrayList;
import java.util.List;
import org.beangle.commons.lang.Objects;
/**
* 转换消息
*
* @author chaostone
* @version $Id: $
*/
public class TransferMessage {
/** Constant ERROR_ATTRS="error.transfer.attrs"
*/
public static final String ERROR_ATTRS = "error.transfer.attrs";
/** Constant ERROR_ATTRS_EXPORT="error.transfer.attrs.export"
*/
public static final String ERROR_ATTRS_EXPORT = "error.transfer.attrs.export";
/**
* 转换数据的序号
*/
int index;
/**
* 消息内容
*/
String message;
/**
* 消息中使用的对应值
*/
List