public class Table extends Object
Table class.
| 构造器和说明 |
|---|
Table(String name,
Class<? extends Model<?>> modelClass)
Constructor for Table.
|
Table(String name,
String primaryKey,
Class<? extends Model<?>> modelClass)
Constructor for Table.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Set<String> |
getColumnNameSet()
getColumnNameSet.
|
Class<?> |
getColumnType(String columnLabel)
getColumnType.
|
Map<String,Class<?>> |
getColumnTypeMap()
Getter for the field
columnTypeMap. |
Set<Map.Entry<String,Class<?>>> |
getColumnTypeMapEntrySet()
getColumnTypeMapEntrySet.
|
Class<? extends Model<?>> |
getModelClass()
Getter for the field
modelClass. |
String |
getName()
Getter for the field
name. |
String[] |
getPrimaryKey()
Getter for the field
primaryKey. |
boolean |
hasColumnLabel(String columnLabel)
hasColumnLabel.
|
public boolean hasColumnLabel(String columnLabel)
hasColumnLabel.
columnLabel - a String object.public String[] getPrimaryKey()
Getter for the field primaryKey.
String objects.public Class<? extends Model<?>> getModelClass()
Getter for the field modelClass.
Class object.public Map<String,Class<?>> getColumnTypeMap()
Getter for the field columnTypeMap.
Map object.public Set<Map.Entry<String,Class<?>>> getColumnTypeMapEntrySet()
getColumnTypeMapEntrySet.
Set object.Copyright © 2023. All rights reserved.