// Path: src/main/java/com/ebay/xcelite/converters/ColumnValueConverter.java
// public interface ColumnValueConverter<T, V> {
// 
//   /**
//    * Serializes given value to a different type.
//    * 
//    * @param value the value to serialize
//    * @return the serialized value
//    */
//   T serialize(V value);
//   
//   /**
//    * Deserializes given value to a different type.
//    * 
//    * @param value the value to deserialize
//    * @return the deserialized value
//    */
//   V deserialize(T value);
// }


import com.ebay.xcelite.converters.ColumnValueConverter;

/*
  Copyright [2013-2014] eBay Software Foundation

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.
*/
package com.ebay.xcelite.column;


/**
 * Represents a Column object which holds all data about the Excel column.
 * 
 * @author kharel (kharel@ebay.com)
 * @creation_date Aug 29, 2013
 * 
 */
public class Col implements Comparable<Col> {

  private final String name;
  private String fieldName;
  private Class<?> type;
  private String dataFormat;

// Path: src/main/java/com/ebay/xcelite/converters/ColumnValueConverter.java
// public interface ColumnValueConverter<T, V> {
// 
//   /**
//    * Serializes given value to a different type.
//    * 
//    * @param value the value to serialize
//    * @return the serialized value
//    */
//   T serialize(V value);
//   
//   /**
//    * Deserializes given value to a different type.
//    * 
//    * @param value the value to deserialize
//    * @return the deserialized value
//    */
//   V deserialize(T value);
// }


// Path: src/main/java/com/ebay/xcelite/column/Col.java
import com.ebay.xcelite.converters.ColumnValueConverter;

/*
  Copyright [2013-2014] eBay Software Foundation

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.
*/
package com.ebay.xcelite.column;


/**
 * Represents a Column object which holds all data about the Excel column.
 * 
 * @author kharel (kharel@ebay.com)
 * @creation_date Aug 29, 2013
 * 
 */
public class Col implements Comparable<Col> {

  private final String name;
  private String fieldName;
  private Class<?> type;
  private String dataFormat;

  private Class<? extends ColumnValueConverter<?, ?>> converter;
