All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.jeesuite.common2.excel.model.TitleMeta Maven / Gradle / Ivy

There is a newer version: 1.4.0
Show newest version
/**
 * 
 */
package com.jeesuite.common2.excel.model;

import java.util.ArrayList;
import java.util.List;

/**
 * @description 
* @author vakin * @date 2016年12月23日 */ public class TitleMeta { private String title; private int rowIndex = 1; private int columnIndex; private Class valueType; private TitleMeta parent; private List children; public TitleMeta(String title, int rowIndex, int columnIndex) { this.title = title; this.rowIndex = rowIndex; this.columnIndex = columnIndex; } public TitleMeta(String title) { this.title = title; } public String getTitle() { return title; } public void setTitle(String title) { this.title = title; } public int getRowIndex() { return rowIndex; } public void setRowIndex(int rowIndex) { this.rowIndex = rowIndex; } public int getColumnIndex() { return columnIndex; } public void setColumnIndex(int columnIndex) { this.columnIndex = columnIndex; } public TitleMeta getParent() { return parent; } public List getChildren() { return children == null ? (children = new ArrayList()) : children; } public Class getValueType() { return valueType; } public void setValueType(Class valueType) { this.valueType = valueType; } public void addChildren(TitleMeta child) { getChildren().add(child); child.parent = this; } @Override public String toString() { return "TitleCellBean [title=" + title + ", rowIndex=" + rowIndex + ", columnIndex=" + columnIndex + "]"; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy