public class TableInfo extends Object
| Modifier and Type | Field and Description |
|---|---|
private List<CollectionColumnInfo> |
collectionColumnMetadatas
The collection column metadatas.
|
private List<ColumnInfo> |
columnMetadatas
The column metadatas.
|
private List<IndexInfo> |
columnToBeIndexed
The column to be indexed.
|
private List<CollectionColumnInfo> |
elementCollectionMetadatas
The element collection metadatas.
|
private List<EmbeddedColumnInfo> |
embeddedColumnMetadatas
The embedded column metadatas.
|
private Class<?> |
idClazz
The table id class.
|
private String |
idColumnName
The table id name.
|
private Set<String> |
lobColumnInfos |
private String |
tableName
The table name.
|
private String |
type
The type.
|
| Constructor and Description |
|---|
TableInfo(String tableName,
String tableSchemaType,
Class<?> idClassType,
String idColumnName)
Instantiates a new table info.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addCollectionColumnMetadata(CollectionColumnInfo collectionColumnMetadata)
Adds the collection column metadata.
|
void |
addColumnInfo(ColumnInfo columnInfo)
Adds the column info.
|
void |
addElementCollectionMetadata(CollectionColumnInfo elementCollectionMetadata)
Adds the element collection metadata.
|
void |
addEmbeddedColumnInfo(EmbeddedColumnInfo embdColumnInfo)
Adds the embedded column info.
|
void |
addLobColumnInfo(String lobColumnInfo) |
void |
addToIndexedColumnList(IndexInfo indexInfo)
Adds the to indexed column list.
|
boolean |
equals(Object obj)
Equals method compare two object of TableInfo on the basis of their name
.
|
List<CollectionColumnInfo> |
getCollectionColumnMetadatas()
Gets the collection column metadatas.
|
List<ColumnInfo> |
getColumnMetadatas()
Gets the column metadatas.
|
List<IndexInfo> |
getColumnsToBeIndexed()
Returns list of index information object.
|
IndexInfo |
getColumnToBeIndexed(String columnName)
Gets the column to be indexed.
|
List<CollectionColumnInfo> |
getElementCollectionMetadatas()
Gets the element collection metadatas.
|
List<EmbeddedColumnInfo> |
getEmbeddedColumnMetadatas()
Gets the embedded column metadatas.
|
String |
getIdColumnName()
Returns name of id attribute.
|
Set<String> |
getLobColumnInfo() |
Class<?> |
getTableIdType()
Gets the table id type.
|
String |
getTableName()
Gets the table name.
|
String |
getType()
Gets the type.
|
int |
hashCode() |
void |
setTableIdType(Class<?> tableIdType)
Sets the table id type.
|
void |
setTableName(String tableName)
Sets the table name.
|
String |
toString() |
private String tableName
private List<ColumnInfo> columnMetadatas
private Class<?> idClazz
private String idColumnName
private String type
private List<EmbeddedColumnInfo> embeddedColumnMetadatas
private List<CollectionColumnInfo> collectionColumnMetadatas
private List<CollectionColumnInfo> elementCollectionMetadatas
public void addLobColumnInfo(String lobColumnInfo)
public List<CollectionColumnInfo> getElementCollectionMetadatas()
public void addElementCollectionMetadata(CollectionColumnInfo elementCollectionMetadata)
elementCollectionMetadata - the element collection metadatapublic boolean equals(Object obj)
public String getTableName()
public void setTableName(String tableName)
tableName - the tableName to setpublic Class<?> getTableIdType()
public void setTableIdType(Class<?> tableIdType)
tableIdType - the tableIdType to setpublic List<ColumnInfo> getColumnMetadatas()
public void addColumnInfo(ColumnInfo columnInfo)
columnInfo - the column infopublic void addEmbeddedColumnInfo(EmbeddedColumnInfo embdColumnInfo)
embdColumnInfo - the embd column infopublic List<EmbeddedColumnInfo> getEmbeddedColumnMetadatas()
public List<CollectionColumnInfo> getCollectionColumnMetadatas()
public void addCollectionColumnMetadata(CollectionColumnInfo collectionColumnMetadata)
collectionColumnMetadata - the collection column metadatapublic String getType()
public String getIdColumnName()
public List<IndexInfo> getColumnsToBeIndexed()
public IndexInfo getColumnToBeIndexed(String columnName)
columnName - the column namepublic void addToIndexedColumnList(IndexInfo indexInfo)
indexInfo - the index infoCopyright © 2015. All Rights Reserved.