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 String getDefaultLabel()
        Returns:
        the default label
      • getDefaultCollectionLabel

        public 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 String getResourceType()
        Returns:
        the resource type
      • isConfigurationTable

        public boolean isConfigurationTable()
      • isOperationTable

        public boolean isOperationTable()
      • isCatalogTable

        public boolean isCatalogTable()
      • isLoadable

        public boolean isLoadable()
      • getFeatures

        public 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 Map<String,​SqlColumn> getColumnsMap()
        Returns:
        the columns map
      • getOrdinaryColumns

        public Collection<SqlColumn> getOrdinaryColumns()
        Returns:
        the ordinary columns list
      • getIndexesMap

        public Map<String,​SqlIndex> getIndexesMap()
        Returns:
        the indexes map
      • getRowsMap

        public Map<String,​SqlRow> getRowsMap()
        Returns:
        the rows map
      • getRowsByPrimaryKeyMap

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

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

        public Map<String,​SqlTab> getTabsMap()
        Returns:
        the tabs map
      • getExtensions

        public Map<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 String getQualifiedName()