public class ColumnInfo extends java.lang.Object implements java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<ColumnInfo>
Constructor and Description |
---|
ColumnInfo() |
ColumnInfo(Column c) |
ColumnInfo(ColumnInfo other) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
int |
compareTo(ColumnInfo o) |
ColumnInfo |
copy() |
boolean |
equals(java.lang.Object other) |
Column |
findColumn(TableBean<?> table) |
static java.util.List<ColumnInfo> |
getColumnInfo(TableBean<?> table) |
static ColumnInfo[] |
getColumnInfoArray(TableBean<?> table) |
boolean |
getHasRanges() |
java.lang.String |
getLabel() |
java.lang.String |
getName() |
int |
getType() |
int |
hashCode() |
boolean |
isTypeBoolean() |
boolean |
isTypeDate() |
boolean |
isTypeInt() |
boolean |
isTypeNumeric() |
boolean |
isTypeReal() |
boolean |
isTypeString() |
boolean |
isTypeUnknown() |
void |
setHasRanges(boolean hasRanges) |
void |
setLabel(java.lang.String label) |
void |
setName(java.lang.String name) |
void |
setType(int type) |
public ColumnInfo()
public ColumnInfo(ColumnInfo other)
public ColumnInfo(Column c)
public java.lang.String getLabel()
public void setLabel(java.lang.String label)
label
- The label to set.public java.lang.String getName()
public void setName(java.lang.String name)
name
- The name to set.public boolean isTypeUnknown()
public boolean isTypeDate()
public boolean isTypeInt()
public boolean isTypeReal()
public boolean isTypeNumeric()
public boolean isTypeString()
public boolean isTypeBoolean()
public int getType()
public void setType(int type)
type
- The type to set.public boolean getHasRanges()
public void setHasRanges(boolean hasRanges)
public static java.util.List<ColumnInfo> getColumnInfo(TableBean<?> table)
public static ColumnInfo[] getColumnInfoArray(TableBean<?> table)
public ColumnInfo copy()
public java.lang.Object clone()
clone
in class java.lang.Object
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(ColumnInfo o)
compareTo
in interface java.lang.Comparable<ColumnInfo>
Copyright © Technia AB. All Rights Reserved.