public class TableInfoBase extends CachedObject
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAltIxName()
Get the alternate index name of this table.
|
java.lang.String |
getAuditTable(java.lang.String tableName)
Returns audit table associated with this table, if any.
|
java.lang.String |
getCacheName()
Return the identifier of the repository name for this cached object
|
java.lang.String |
getColumnName(java.lang.String entityColumnName)
Returns the column name for the given entity column name.
|
java.lang.String |
getColumnName(java.lang.String entityColumnName,
java.lang.String tableName)
Returns the column name for the given entity column name and table name.
|
java.lang.String |
getContentAttrName()
Get the content attribute name for this table.
|
java.lang.String |
getEAuditTableName()
Returns the audit table name in which the audit record information
is written.
|
java.lang.String |
getEntityColumnName(java.lang.String tableColumnName,
java.lang.String tableName)
Returns the entity column name for the given table column name and table name.
|
java.lang.String |
getExtTableName()
Returns the name of the extension table.
|
java.lang.String |
getLangColumnName()
Returns the Unique Column name for which sequence is created
|
java.lang.String |
getLangColumnName(java.lang.String tableName)
Returns the Language Column name
This method is provided to support the Entity interface.
|
java.lang.String |
getLangTBName()
Get the language table name of this table.
|
java.lang.String |
getMLParent() |
RowStampInfo |
getRowStampInfo()
Returns rowstamp information for this table, if rowstamp
column exists.
|
int |
getStorageType() |
int |
getTableCount()
Returns the number of tables associated with this object.
|
java.lang.String |
getTableName()
Returns the name of the table.
|
java.lang.String |
getTableName(java.lang.String entityColumnName)
Returns the table name for the given column name.
|
java.util.Iterator |
getTables()
Returns an Iterator to iterate over table name.
|
java.util.Iterator |
getTablesInHierarchyOrder()
Returns an Iterator to iterate over table name.
|
java.util.Iterator |
getTablesInReverseHierarchyOrder()
Returns an Iterator to iterate over table name in reverse
hierarchy order.
|
TenantIdInfo |
getTenantIdInfo() |
java.lang.String |
getUniqueColumnName()
Get the unqiue column name of this table.
|
boolean |
hasImplicitTenantId() |
boolean |
hasImplicitTenantId(java.lang.String tableName) |
boolean |
hasRowStamp()
Returns whether rowstamp information exists for this table or not.
|
boolean |
isRowStampColumnExists()
Returns whether rowstamp column exists for this table or not.
|
boolean |
isTextSearchEnabled()
returns whether this table is text search enabled or not
|
boolean |
isUsedForAuditing()
Returns whether this table is used for auditing.
|
boolean |
isUsedForMLang()
Return whether the table is the language table for multi-lang support
|
void |
setAltIxName(java.lang.String name)
Set the alternate index name of the table.
|
void |
setContentAttrName(java.lang.String name)
Set the content attribute name for the table.
|
void |
setEAuditTableName(java.lang.String auditTableName)
Sets the audit table name in which the audit record information
is written.
|
void |
setExtTableName(java.lang.String extTableName)
Sets the name of the extension table.
|
void |
setLangColumnName(java.lang.String langColName)
Sets the Unique Column name for which sequence is created
|
void |
setLangTBName(java.lang.String tbname)
Sets this table's language table.
|
void |
setRowStampColumnExists(boolean rowStampColumnExists)
Sets whether rowstamp column exists for this table or not.
|
void |
setTableName(java.lang.String tableName)
Sets the name of the table.
|
void |
setTextSearchEnabled(boolean textSearchEnabled)
sets whether this table is text search enabled or not
|
void |
setUniqueColumnName(java.lang.String name)
Set the unique column name of the table.
|
void |
setUsedForAuditing(boolean usedForAuditing)
Sets whether this table is used for auditing or not.
|
void |
setUsedForMLang(boolean usedForML)
Set the flag to indicate if this table is the language table or not.
|
addToRepository, getClonedInfo, getID, getReference, getTenantId, isLoaded, isMasterInfo, isSameTenantAsReference, setID, setReference, setTenantId, setTenantReference
public java.lang.String getEAuditTableName()
public void setEAuditTableName(java.lang.String auditTableName)
string
- audit table name.public boolean isUsedForAuditing()
public void setUsedForAuditing(boolean usedForAuditing)
usedForAuditing
- pass true, if this table is used for
auditing, otherwise false.public boolean isUsedForMLang()
public void setUsedForMLang(boolean usedForML)
usedForML
- true if the table is language table.public boolean isRowStampColumnExists()
public void setRowStampColumnExists(boolean rowStampColumnExists)
rowStampColumnExists
- pass true, if rowstamp column
exists for this table, otherwise false.public java.lang.String getTableName()
public void setTableName(java.lang.String tableName)
tableName
- name of the table.public java.lang.String getExtTableName()
public void setExtTableName(java.lang.String extTableName)
tableName
- name of the extension table.public void setTextSearchEnabled(boolean textSearchEnabled)
textSearchEnabled
- public boolean isTextSearchEnabled()
public java.util.Iterator getTables()
Entity.getTables()
public int getTableCount()
Entity.getTableCount()
public java.util.Iterator getTablesInHierarchyOrder()
Entity.getTablesInHierarchyOrder()
public java.util.Iterator getTablesInReverseHierarchyOrder()
Entity.getTablesInReverseHierarchyOrder()
public java.lang.String getTableName(java.lang.String entityColumnName)
entityColumnName
- column nameEntity.getTableName(java.lang.String)
public java.lang.String getColumnName(java.lang.String entityColumnName)
entityColumnName
- column nameEntity.getColumnName(java.lang.String)
public java.lang.String getColumnName(java.lang.String entityColumnName, java.lang.String tableName)
entityColumnName
- entity column nametableName
- table nameEntity.getColumnName(java.lang.String,
java.lang.String)
public java.lang.String getEntityColumnName(java.lang.String tableColumnName, java.lang.String tableName)
tableColumnName
- table column nametableName
- table nameEntity.getEntityColumnName(java.lang.String,
java.lang.String)
public RowStampInfo getRowStampInfo()
Entity.getRowStampInfo()
public TenantIdInfo getTenantIdInfo()
public boolean hasRowStamp()
Entity.hasRowStamp()
public java.lang.String getAuditTable(java.lang.String tableName)
Entity.getAuditTable(java.lang.String)
public java.lang.String getLangTBName()
public void setLangTBName(java.lang.String tbname)
tbname
- public java.lang.String getUniqueColumnName()
public void setUniqueColumnName(java.lang.String name)
The
- unique column namepublic java.lang.String getContentAttrName()
public void setContentAttrName(java.lang.String name)
The
- content attribute namepublic java.lang.String getAltIxName()
public void setAltIxName(java.lang.String name)
The
- alternate index namepublic java.lang.String getLangColumnName()
public java.lang.String getLangColumnName(java.lang.String tableName)
public void setLangColumnName(java.lang.String langColName)
string
- Unique Column namepublic int getStorageType()
public java.lang.String getMLParent()
public boolean hasImplicitTenantId(java.lang.String tableName)
public boolean hasImplicitTenantId()
public java.lang.String getCacheName()
CachedObject
getCacheName
in class CachedObject