Class TableMetadata

java.lang.Object
org.eclipse.dirigible.database.api.metadata.TableMetadata

public class TableMetadata
extends Object
The Table Metadata transport object.
  • Constructor Details

    • TableMetadata

      public TableMetadata​(String name, String type, String remarks, Connection connection, String catalogName, String schemaName, boolean deep) throws SQLException
      Instantiates a new table metadata.
      Parameters:
      name - the name
      type - the type
      remarks - the remarks
      connection - the connection
      catalogName - the catalog name
      schemaName - the schema name
      deep - whether to populate also the columns
      Throws:
      SQLException - the SQL exception
  • Method Details

    • getName

      public String getName()
      Gets the name.
      Returns:
      the name
    • setName

      public void setName​(String name)
      Sets the name.
      Parameters:
      name - the new name
    • getType

      public String getType()
      Gets the type.
      Returns:
      the type
    • setType

      public void setType​(String type)
      Sets the type.
      Parameters:
      type - the new type
    • getRemarks

      public String getRemarks()
      Gets the remarks.
      Returns:
      the remarks
    • setRemarks

      public void setRemarks​(String remarks)
      Sets the remarks.
      Parameters:
      remarks - the new remarks
    • getColumns

      public List<ColumnMetadata> getColumns()
      Gets the columns.
      Returns:
      the columns
    • getIndices

      public List<IndexMetadata> getIndices()
      Gets the indices.
      Returns:
      the indices
    • getKind

      public String getKind()
      Gets the kind.
      Returns:
      the kind
    • setKind

      public void setKind​(String kind)
      Sets the kind.
      Parameters:
      kind - the new kind