public class ViewInfoBase extends CachedObject
Modifier and Type | Method and Description |
---|---|
boolean |
getAutoSelect()
Gets autoselect.
|
java.lang.String |
getCacheName()
Return the identifier of the repository name for this cached object
|
java.lang.String |
getColumnName(java.lang.String entityColumnName,
java.lang.String tableName)
Returns the column name for the given view column name and table name.
|
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.
|
RowStampInfo |
getRowStampInfo()
Returns rowstamp information for this view, if rowstamp
information exists with tables on which the view is based on.
|
java.util.Iterator |
getTablesInHierarchyOrder()
Returns an Iterator to iterate over table names that this view is
based on.
|
java.util.Iterator |
getTablesInReverseHierarchyOrder()
Returns an Iterator to iterate over table names that this view is
based on.
|
TenantIdInfo |
getTenantIdInfo() |
java.lang.String |
getViewName()
Returns the name of the view.
|
java.lang.String |
getViewSelect()
Gets viewselect.
|
boolean |
hasImplicitTenantId() |
boolean |
hasImplicitTenantId(java.lang.String tableName) |
boolean |
hasRowStamp()
Returns whether rowstamp information exists for this view or not.
|
void |
setAutoSelect(boolean autoselect)
Sets autoselect.
|
void |
setRowStampInfo(RowStampInfo rowStampInfo) |
void |
setTablesInHierarchyOrder(java.util.ArrayList<java.lang.String> tableNames)
Sets the list of table names in the hierarchy order from root to
leaf node.
|
void |
setTenantIdInfo(TenantIdInfo tenantIdInfo) |
void |
setViewName(java.lang.String viewName)
Sets the view name.
|
void |
setViewSelect(java.lang.String viewselect)
Sets viewselect.
|
addToRepository, getClonedInfo, getID, getReference, getTenantId, isLoaded, isMasterInfo, isSameTenantAsReference, setID, setReference, setTenantId, setTenantReference
public java.lang.String getColumnName(java.lang.String entityColumnName, java.lang.String tableName)
entityColumnName
- view 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
- tableName
- Entity.getEntityColumnName(java.lang.String,
java.lang.String)
public java.lang.String getViewName()
public void setViewName(java.lang.String viewName)
viewName
- name of the view.public boolean getAutoSelect()
public void setAutoSelect(boolean autoselect)
autoselect
- Value of maxview.autoselect.public java.lang.String getViewSelect()
public void setViewSelect(java.lang.String viewselect)
viewselect
- Value of maxview.viewselect.public void setTablesInHierarchyOrder(java.util.ArrayList<java.lang.String> tableNames)
tableNames
- list of table names in the hierarchy order
from root to leaf node. The element at index 0
indicates the table name of the top-most business
object and the last element indicates the table name
of the business object at the leaf node of the
hierarchy.public java.util.Iterator getTablesInHierarchyOrder()
Entity.getTablesInHierarchyOrder()
public java.util.Iterator getTablesInReverseHierarchyOrder()
Entity.getTablesInReverseHierarchyOrder()
public RowStampInfo getRowStampInfo()
Entity.getRowStampInfo()
public TenantIdInfo getTenantIdInfo()
public void setTenantIdInfo(TenantIdInfo tenantIdInfo)
public void setRowStampInfo(RowStampInfo rowStampInfo)
public boolean hasRowStamp()
Entity.hasRowStamp()
public boolean hasImplicitTenantId(java.lang.String tableName)
public boolean hasImplicitTenantId()
public java.lang.String getCacheName()
CachedObject
getCacheName
in class CachedObject