public class Column extends Object implements Comparable<Column>
| 构造器和说明 |
|---|
Column() |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
compareTo(Column o) |
String |
getAttr() |
String |
getDateFormat() |
Field |
getField() |
List<String> |
getHead() |
int |
getIndex() |
Class<?> |
getType() |
static Column |
one(String attr,
Class<?> type)
Make a Column
|
void |
setAttr(String attr) |
void |
setDateFormat(String dateFormat) |
void |
setField(Field field) |
void |
setHead(List<String> head) |
void |
setIndex(int index) |
void |
setIndex(Integer index) |
void |
setType(Class<?> type) |
String |
toString() |
public static Column one(String attr, Class<?> type)
attr - : attrtype - : attr 's typepublic int getIndex()
public void setIndex(int index)
index - the index to setpublic String getAttr()
public void setAttr(String attr)
attr - the attr to setpublic Class<?> getType()
public void setType(Class<?> type)
type - the type to setpublic String getDateFormat()
public void setDateFormat(String dateFormat)
dateFormat - the dateFormat to setpublic Field getField()
public void setField(Field field)
field - the field to setpublic void setIndex(Integer index)
index - the index to setpublic int compareTo(Column o)
compareTo 在接口中 Comparable<Column>Copyright © 2018. All rights reserved.