public class Table extends Object
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getAlias()
Gets the value of alias
|
String |
getName()
Gets the value of name
|
String |
getNameWithAlias()
获取带别名的名称
|
String |
getSelectTableName(boolean userAlias)
获取查询名称
|
String |
getTableName(boolean useAlias)
获取表名
|
int |
hashCode() |
void |
setAlias(String alias)
Sets the alias
|
void |
setName(String name)
Sets the name
|
String |
toString() |
public String getNameWithAlias()
public String getTableName(boolean useAlias)
useAlias
- 是否使用别名public String getSelectTableName(boolean userAlias)
userAlias
- 是否使用别名public String getName()
public void setName(String name)
You can use getName() to get the value of name
name
- namepublic String getAlias()
public void setAlias(String alias)
You can use getAlias() to get the value of alias
alias
- aliasCopyright © 2020 IBIT程序猿. All rights reserved.