Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*
 	Milyn - Copyright (C) 2006
 
 	This library is free software; you can redistribute it and/or
 	modify it under the terms of the GNU Lesser General Public
 	License (version 2.1) as published by the Free Software
 	Foundation.
 
 	This library 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:
	http://www.gnu.org/licenses/lgpl.txt
*/
package org.milyn.csv;
CSV Binding configuration.

For more complex bindings, use the main java binding framwework.

Author(s):
tom.fennelly@jboss.com
public class CSVBinding {
    private String beanId;
    private Class beanClass;
    private CSVBindingType bindingType;
    private String keyField;
    public CSVBinding(String beanIdClass beanClassCSVBindingType bindingType) {
        AssertArgument.isNotNullAndNotEmpty(beanId"beanId");
        AssertArgument.isNotNull(beanClass"beanClass");
        this. = beanId;
        this. = beanClass;
        this. = bindingType;
    }
    public String getBeanId() {
        return ;
    }
    public Class getBeanClass() {
        return ;
    }
    public CSVBindingType getBindingType() {
        return ;
    }
    public String getKeyField() {
        return ;
    }
    public CSVBinding setKeyField(String keyField) {
        this. = keyField;
        return this;
    }
New to GrepCode? Check out our FAQ X