Class Table


  • @Entity
    public class Table
    extends ModelObject
    Used by the ModelProvider, maps the AD_Table table in the application dictionary. The Entity is initialized from a Table.
    Author:
    iperdomo
    • Constructor Detail

      • Table

        public Table()
    • Method Detail

      • getTreeType

        public String getTreeType()
      • setTreeType

        public void setTreeType​(String treeType)
      • getDataOrigin

        public String getDataOrigin()
      • setDataOrigin

        public void setDataOrigin​(String dataOrigin)
      • getTableName

        public String getTableName()
      • setTableName

        public void setTableName​(String tableName)
      • getColumns

        public List<Column> getColumns()
        Note the columns are not set by hibernate or through a hibernate mapping. For performance reasons they are set explicitly in the ModelProvider. See the assignColumnsToTable method in that class. This collection is only set and used within the ModelProvider initialize method. It should not be used in other places. In other cases perform a direct database query to get the columns of a table.
        Returns:
        the list of Column instances of this table
      • setColumns

        public void setColumns​(List<Column> columns)
        Note the columns are not set by hibernate or through a hibernate mapping. For performance reasons they are set explicitly in the ModelProvider. See the assignColumnsToTable method in that class.
      • getPrimaryKeyColumns

        public List<Column> getPrimaryKeyColumns()
      • setPrimaryKeyColumns

        public void setPrimaryKeyColumns​(List<Column> primaryKeyColumns)
      • getIdentifierColumns

        public List<Column> getIdentifierColumns()
      • setParentColumns

        public void setParentColumns​(List<Column> parentColums)
      • getParentColumns

        public List<Column> getParentColumns()
      • setIdentifierColumns

        public void setIdentifierColumns​(List<Column> identifierColumns)
      • setView

        public void setView​(boolean view)
      • isView

        public boolean isView()
      • getNotNullClassName

        public String getNotNullClassName()
      • getClassName

        public String getClassName()
      • setClassName

        public void setClassName​(String className)
      • setReferenceTypes

        public void setReferenceTypes​(ModelProvider modelProvider)
      • getPackageName

        public String getPackageName()
      • getEntity

        public Entity getEntity()
      • setEntity

        public void setEntity​(Entity entity)
      • isDeletable

        public boolean isDeletable()
      • setDeletable

        public void setDeletable​(boolean isDeletable)
      • getAccessLevel

        public String getAccessLevel()
      • setAccessLevel

        public void setAccessLevel​(String accessLevel)
      • getThePackage

        public Package getThePackage()
      • setThePackage

        public void setThePackage​(Package thePackage)