Class SqlTable


  • public class SqlTable
    extends SqlArtifact
    Author:
    Jorge Campins
    • Constructor Detail

      • SqlTable

        public SqlTable​(SqlReader reader)
    • Method Detail

      • getReader

        public SqlReader getReader()
        Returns:
        the table reader
      • getDefaultLabel

        public java.lang.String getDefaultLabel()
        Returns:
        the default label
      • getDefaultCollectionLabel

        public java.lang.String getDefaultCollectionLabel()
        Returns:
        the default collection label
      • isEnumerable

        public boolean isEnumerable()
        Returns:
        the enumerable indicator
      • isEnumeration

        public boolean isEnumeration()
        Returns:
        the enumerable indicator
      • isUpdatableEnumeration

        public boolean isUpdatableEnumeration()
        Returns:
        the enumerable indicator
      • isInsertable

        public boolean isInsertable()
        Returns:
        the insertable indicator
      • isUpdatable

        public boolean isUpdatable()
        Returns:
        the updatable indicator
      • isDeletable

        public boolean isDeletable()
        Returns:
        the deletable indicator
      • isIndependent

        public boolean isIndependent()
        Returns:
        the independent indicator
      • isLoaded

        public boolean isLoaded()
        Returns:
        the loaded indicator
      • getResourceType

        public java.lang.String getResourceType()
        Returns:
        the resource type
      • isConfigurationTable

        public boolean isConfigurationTable()
      • isOperationTable

        public boolean isOperationTable()
      • isCatalogTable

        public boolean isCatalogTable()
      • isLoadable

        public boolean isLoadable()
      • getFeatures

        public java.lang.String getFeatures()
      • getBaseTable

        public SqlTable getBaseTable()
        Returns:
        the base table
      • getPrimaryKey

        public SqlColumn getPrimaryKey()
        Returns:
        the primary key column
      • getBusinessKey

        public SqlColumn getBusinessKey()
        Returns:
        the business key column
      • getVersion

        public SqlColumn getVersion()
        Returns:
        the version column
      • getVersionProperty

        public SqlColumn getVersionProperty()
        Returns:
        the version property column
      • getDiscriminatorProperty

        public SqlColumn getDiscriminatorProperty()
        Returns:
        the discriminator property column
      • getNameProperty

        public SqlColumn getNameProperty()
        Returns:
        the name property column
      • getDescriptionProperty

        public SqlColumn getDescriptionProperty()
        Returns:
        the description property column
      • getColumnsMap

        public java.util.Map<java.lang.String,​SqlColumn> getColumnsMap()
        Returns:
        the columns map
      • getColumns

        public java.util.Collection<SqlColumn> getColumns()
        Returns:
        the columns list
      • getOrdinaryColumns

        public java.util.Collection<SqlColumn> getOrdinaryColumns()
        Returns:
        the ordinary columns list
      • isPrimaryKeyCollision

        public boolean isPrimaryKeyCollision()
      • isBusinessKeyCollision

        public boolean isBusinessKeyCollision()
      • isVersionPropertyCollision

        public boolean isVersionPropertyCollision()
      • getSqlColumn

        public SqlColumn getSqlColumn​(java.lang.String name)
      • getIndexesMap

        public java.util.Map<java.lang.String,​SqlIndex> getIndexesMap()
        Returns:
        the indexes map
      • getIndexes

        public java.util.Collection<SqlIndex> getIndexes()
        Returns:
        the indexes list
      • getRowsMap

        public java.util.Map<java.lang.String,​SqlRow> getRowsMap()
        Returns:
        the rows map
      • getRows

        public java.util.Collection<SqlRow> getRows()
        Returns:
        the rows list
      • getRowsByPrimaryKeyMap

        public java.util.Map<java.lang.String,​SqlRow> getRowsByPrimaryKeyMap()
        Returns:
        the rows by primary key map
      • getPrimaryKeys

        public java.util.Set<java.lang.String> getPrimaryKeys()
        Returns:
        the rows by primary key list
      • getTabsMap

        public java.util.Map<java.lang.String,​SqlTab> getTabsMap()
        Returns:
        the tabs map
      • getTabs

        public java.util.Collection<SqlTab> getTabs()
        Returns:
        the tabs list
      • getRoutinesMap

        public java.util.Map<java.lang.String,​SqlRoutine> getRoutinesMap()
        Returns:
        the routines map
      • getRoutines

        public java.util.Collection<SqlRoutine> getRoutines()
        Returns:
        the routines list
      • getReferences

        public java.util.Map<SqlColumn,​SqlTable> getReferences()
        Returns:
        the references map
      • getExtensions

        public java.util.Map<java.lang.String,​SqlTable> getExtensions()
        Returns:
        the extensions map
      • isRoot

        public boolean isRoot()
      • getDiscriminatorValue

        public int getDiscriminatorValue()
        Returns:
        the discriminator value
      • getRootTable

        public SqlTable getRootTable()
      • getSuperTable

        public SqlTable getSuperTable()
      • getQualifiedName

        public java.lang.String getQualifiedName()