public class CsvBean extends Object implements Serializable, Cloneable
| Constructor and Description |
|---|
CsvBean()
Instantiates a new csv bean.
|
CsvBean(String[] headers,
String[] columnTypes,
List<String[]> lines)
Instantiates a new csv bean.
|
CsvBean(String[] headers,
String[] columnTypes,
List<String[]> lines,
String[] columnTypesEdit,
Map<Integer,Integer> lineOrder)
Instantiates a new csv bean.
|
CsvBean(String[] headers,
String[] columnTypes,
String[] columnTypesEdit,
List<String[]> lines)
Instantiates a new csv bean.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
(non-Javadoc).
|
boolean |
equals(Object o)
Returns
true if this CsvBean is the same as the o argument. |
String[] |
getColumnTypes()
Gets the column types.
|
String[] |
getColumnTypesEdit()
Gets the column types edit.
|
String[] |
getHeaders()
Gets the headers.
|
Map<Integer,Integer> |
getLineOrder()
Gets the line order.
|
List<String[]> |
getLines()
Gets the lines.
|
int |
hashCode()
Override hashCode.
|
void |
setColumnTypes(String[] columnTypes)
Sets the column types.
|
void |
setColumnTypesEdit(String[] columnTypesEdit)
Sets the column types edit.
|
void |
setHeaders(String[] headers)
Sets the headers.
|
void |
setLineOrder(Map<Integer,Integer> lineOrder)
Sets the line order.
|
void |
setLines(List<String[]> lines)
Sets the lines.
|
String |
toString()
(non-Javadoc).
|
public CsvBean()
public CsvBean(String[] headers, String[] columnTypes, List<String[]> lines)
headers - the headerscolumnTypes - the column typeslines - the linespublic CsvBean(String[] headers, String[] columnTypes, List<String[]> lines, String[] columnTypesEdit, Map<Integer,Integer> lineOrder)
headers - the headerscolumnTypes - the column typeslines - the linescolumnTypesEdit - the column types editlineOrder - the line orderpublic Object clone()
clone in class ObjectObject.clone()public boolean equals(Object o)
true if this CsvBean is the same as the o argument.public String[] getColumnTypes()
public String[] getColumnTypesEdit()
public String[] getHeaders()
public Map<Integer,Integer> getLineOrder()
public int hashCode()
public void setColumnTypes(String[] columnTypes)
columnTypes - the new column typespublic void setColumnTypesEdit(String[] columnTypesEdit)
columnTypesEdit - the new column types editpublic void setHeaders(String[] headers)
headers - the new headerspublic void setLineOrder(Map<Integer,Integer> lineOrder)
lineOrder - the line orderpublic void setLines(List<String[]> lines)
lines - the new linespublic String toString()
toString in class ObjectObject.toString()Copyright © 2007–2015 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.