public class Attr extends Object implements Serializable
Constructor and Description |
---|
Attr(String varType,
String varName) |
Attr(String varType,
String varName,
String columnName) |
Attr(String varType,
String varName,
String columnName,
boolean autoIncrement,
boolean signed,
int precision,
int scale,
boolean nullable,
String defaultValue,
String remarks) |
Modifier and Type | Method and Description |
---|---|
static Attr |
build(ColumnInfo columnInfo) |
boolean |
equals(Object o) |
String |
getColumnName() |
String |
getDefaultValue() |
int |
getPrecision() |
String |
getRemarks() |
int |
getScale() |
String |
getVarName() |
String |
getVarType() |
int |
hashCode() |
boolean |
isAutoIncrement() |
boolean |
isNullable() |
boolean |
isReadonly() |
boolean |
isSigned() |
Attr |
setReadonly(boolean readonly) |
Attr |
setVarName(String varName) |
Attr |
setVarType(String varType) |
String |
toString() |
public static Attr build(ColumnInfo columnInfo)
public String getVarType()
public String getVarName()
public String getColumnName()
public boolean isAutoIncrement()
public boolean isSigned()
public int getPrecision()
public int getScale()
public boolean isNullable()
public String getDefaultValue()
public String getRemarks()
public boolean isReadonly()
public Attr setReadonly(boolean readonly)
Copyright © 2022. All rights reserved.