Class MediaTableMetadata


  • public class MediaTableMetadata
    extends UserTableMetadata<UserCustomColumn>
    Media Table Metadata for defining table creation information
    Since:
    4.0.0
    Author:
    osbornb
    • Constructor Detail

      • MediaTableMetadata

        public MediaTableMetadata()
        Constructor
      • MediaTableMetadata

        public MediaTableMetadata​(String tableName,
                                  String idColumnName,
                                  List<UserCustomColumn> additionalColumns)
        Constructor
        Parameters:
        tableName - table name
        idColumnName - id column name
        additionalColumns - additional columns
      • MediaTableMetadata

        public MediaTableMetadata​(String tableName,
                                  String idColumnName,
                                  boolean autoincrement,
                                  List<UserCustomColumn> additionalColumns)
        Constructor
        Parameters:
        tableName - table name
        idColumnName - id column name
        autoincrement - autoincrement ids
        additionalColumns - additional columns
    • Method Detail

      • create

        public static MediaTableMetadata create​(String tableName)
        Create metadata
        Parameters:
        tableName - table name
        Returns:
        metadata
      • create

        public static MediaTableMetadata create​(String tableName,
                                                boolean autoincrement)
        Create metadata
        Parameters:
        tableName - table name
        autoincrement - autoincrement ids
        Returns:
        metadata
      • create

        public static MediaTableMetadata create​(String tableName,
                                                List<UserCustomColumn> additionalColumns)
        Create metadata
        Parameters:
        tableName - table name
        additionalColumns - additional columns
        Returns:
        metadata
      • create

        public static MediaTableMetadata create​(String tableName,
                                                boolean autoincrement,
                                                List<UserCustomColumn> additionalColumns)
        Create metadata
        Parameters:
        tableName - table name
        autoincrement - autoincrement ids
        additionalColumns - additional columns
        Returns:
        metadata
      • create

        public static MediaTableMetadata create​(String tableName,
                                                String idColumnName)
        Create metadata
        Parameters:
        tableName - table name
        idColumnName - id column name
        Returns:
        metadata
      • create

        public static MediaTableMetadata create​(String tableName,
                                                String idColumnName,
                                                boolean autoincrement)
        Create metadata
        Parameters:
        tableName - table name
        idColumnName - id column name
        autoincrement - autoincrement ids
        Returns:
        metadata
      • create

        public static MediaTableMetadata create​(String tableName,
                                                String idColumnName,
                                                List<UserCustomColumn> additionalColumns)
        Create metadata
        Parameters:
        tableName - table name
        idColumnName - id column name
        additionalColumns - additional columns
        Returns:
        metadata
      • create

        public static MediaTableMetadata create​(String tableName,
                                                String idColumnName,
                                                boolean autoincrement,
                                                List<UserCustomColumn> additionalColumns)
        Create metadata
        Parameters:
        tableName - table name
        idColumnName - id column name
        autoincrement - autoincrement ids
        additionalColumns - additional columns
        Returns:
        metadata