psdi.mbo

Class ViewInfoBase

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable


    public class ViewInfoBase
    extends CachedObject
    See Also:
    Serialized Form
    • Field Detail

      • syncLock

        protected transient volatile java.lang.Object syncLock
    • Method Detail

      • getColumnName

        public 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. This method is provided to support the Entity interface.
        Parameters:
        entityColumnName - view column name
        tableName - table name
        Returns:
        column name, if exists, otherwise null.
        See Also:
        Entity.getColumnName(java.lang.String, java.lang.String)
      • getEntityColumnName

        public 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. This method is provided to support the Entity interface.
        Parameters:
        tableColumnName -
        tableName -
        Returns:
        entity Column Name
        See Also:
        Entity.getEntityColumnName(java.lang.String, java.lang.String)
      • getViewName

        public java.lang.String getViewName()
        Returns the name of the view.
        Returns:
        the name of the view.
      • setViewName

        public void setViewName(java.lang.String viewName)
        Sets the view name.
        Parameters:
        viewName - name of the view.
      • getAutoSelect

        public boolean getAutoSelect()
        Gets autoselect.
      • setAutoSelect

        public void setAutoSelect(boolean autoselect)
        Sets autoselect.
        Parameters:
        autoselect - Value of maxview.autoselect.
      • getViewSelect

        public java.lang.String getViewSelect()
        Gets viewselect. This is used only for non-autoselect views.
      • setViewSelect

        public void setViewSelect(java.lang.String viewselect)
        Sets viewselect. This is used only for non-autoselect views.
        Parameters:
        viewselect - Value of maxview.viewselect.
      • setTablesInHierarchyOrder

        public void setTablesInHierarchyOrder(java.util.ArrayList tableNames)
        Sets the list of table names in the hierarchy order from root to leaf node. The table names are organized in the business object hierarchy order.
        Parameters:
        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.
      • getTablesInHierarchyOrder

        public java.util.Iterator getTablesInHierarchyOrder()
        Returns an Iterator to iterate over table names that this view is based on. The iterator objects are of type String. This method is provided to support the Entity interface. The order in which the table names are returned is always gauranteed to be in the hierarchy order from root to leaf i.e the first iterator object is the table name of the top-most business object.
        Returns:
        an Iterator to iterate over table names that this view is based on.
        See Also:
        Entity.getTablesInHierarchyOrder()
      • getTablesInReverseHierarchyOrder

        public java.util.Iterator getTablesInReverseHierarchyOrder()
        Returns an Iterator to iterate over table names that this view is based on. The iterator objects are of type String. This method is provided to support the Entity interface. The order in which the table names are returned is always gauranteed to be in the reverse hierarchy order from leaf to root i.e the last iterator object is the table name of the top-most business object.
        Returns:
        an Iterator to iterate over table names that this view is based on.
        See Also:
        Entity.getTablesInReverseHierarchyOrder()
      • getRowStampInfo

        public RowStampInfo getRowStampInfo()
        Returns rowstamp information for this view, if rowstamp information exists with tables on which the view is based on. This method is provided to support the Entity interface.
        Returns:
        rowstamp information in RowStampInfo object, if rowstamp exists, otherwise returns null.
        See Also:
        Entity.getRowStampInfo()
      • setTenantIdInfo

        public void setTenantIdInfo(TenantIdInfo tenantIdInfo)
      • setRowStampInfo

        public void setRowStampInfo(RowStampInfo rowStampInfo)
      • hasRowStamp

        public boolean hasRowStamp()
        Returns whether rowstamp information exists for this view or not. This method is provided to support the Entity interface.
        Returns:
        true, if rowstamp information exists, otherwise false.
        See Also:
        Entity.hasRowStamp()
      • hasImplicitTenantId

        public boolean hasImplicitTenantId(java.lang.String tableName)
      • hasImplicitTenantId

        public boolean hasImplicitTenantId()
      • getCacheName

        public java.lang.String getCacheName()
        Description copied from class: CachedObject
        Return the identifier of the repository name for this cached object
        Specified by:
        getCacheName in class CachedObject
        Returns: