Class UserCustomColumn

    • Constructor Detail

      • UserCustomColumn

        public UserCustomColumn​(UserCustomColumn userCustomColumn)
        Copy Constructor
        Parameters:
        userCustomColumn - user custom column
        Since:
        3.3.0
    • Method Detail

      • createPrimaryKeyColumn

        public static UserCustomColumn createPrimaryKeyColumn​(String name)
        Create a new primary key column
        Parameters:
        name - name
        Returns:
        user custom column
        Since:
        3.3.0
      • createPrimaryKeyColumn

        public static UserCustomColumn createPrimaryKeyColumn​(String name,
                                                              boolean autoincrement)
        Create a new primary key column
        Parameters:
        name - name
        autoincrement - autoincrement flag
        Returns:
        user custom column
        Since:
        4.0.0
      • createPrimaryKeyColumn

        public static UserCustomColumn createPrimaryKeyColumn​(int index,
                                                              String name)
        Create a new primary key column
        Parameters:
        index - index
        name - name
        Returns:
        user custom column
      • createPrimaryKeyColumn

        public static UserCustomColumn createPrimaryKeyColumn​(int index,
                                                              String name,
                                                              boolean autoincrement)
        Create a new primary key column
        Parameters:
        index - index
        name - name
        autoincrement - autoincrement flag
        Returns:
        user custom column
        Since:
        4.0.0
      • createColumn

        public static UserCustomColumn createColumn​(String name,
                                                    GeoPackageDataType type)
        Create a new column
        Parameters:
        name - name
        type - data type
        Returns:
        user custom column
        Since:
        3.3.0
      • createColumn

        public static UserCustomColumn createColumn​(int index,
                                                    String name,
                                                    GeoPackageDataType type)
        Create a new column
        Parameters:
        index - index
        name - name
        type - data type
        Returns:
        user custom column
        Since:
        3.3.0
      • createColumn

        public static UserCustomColumn createColumn​(String name,
                                                    GeoPackageDataType type,
                                                    boolean notNull)
        Create a new column
        Parameters:
        name - name
        type - data type
        notNull - not null flag
        Returns:
        user custom column
        Since:
        3.3.0
      • createColumn

        public static UserCustomColumn createColumn​(int index,
                                                    String name,
                                                    GeoPackageDataType type,
                                                    boolean notNull)
        Create a new column
        Parameters:
        index - index
        name - name
        type - data type
        notNull - not null flag
        Returns:
        user custom column
        Since:
        3.3.0
      • createColumn

        public static UserCustomColumn createColumn​(String name,
                                                    GeoPackageDataType type,
                                                    boolean notNull,
                                                    Object defaultValue)
        Create a new column
        Parameters:
        name - name
        type - data type
        notNull - not null flag
        defaultValue - default value
        Returns:
        user custom column
        Since:
        3.3.0
      • createColumn

        public static UserCustomColumn createColumn​(int index,
                                                    String name,
                                                    GeoPackageDataType type,
                                                    boolean notNull,
                                                    Object defaultValue)
        Create a new column
        Parameters:
        index - index
        name - name
        type - type
        notNull - not null flag
        defaultValue - default value
        Returns:
        user custom column
      • createColumn

        public static UserCustomColumn createColumn​(String name,
                                                    GeoPackageDataType type,
                                                    Long max)
        Create a new column
        Parameters:
        name - name
        type - data type
        max - max value
        Returns:
        user custom column
        Since:
        3.3.0
      • createColumn

        public static UserCustomColumn createColumn​(int index,
                                                    String name,
                                                    GeoPackageDataType type,
                                                    Long max)
        Create a new column
        Parameters:
        index - index
        name - name
        type - data type
        max - max value
        Returns:
        user custom column
        Since:
        3.3.0
      • createColumn

        public static UserCustomColumn createColumn​(String name,
                                                    GeoPackageDataType type,
                                                    Long max,
                                                    boolean notNull,
                                                    Object defaultValue)
        Create a new column
        Parameters:
        name - name
        type - data type
        max - max value
        notNull - not null flag
        defaultValue - default value
        Returns:
        user custom column
        Since:
        3.3.0
      • createColumn

        public static UserCustomColumn createColumn​(int index,
                                                    String name,
                                                    GeoPackageDataType type,
                                                    Long max,
                                                    boolean notNull,
                                                    Object defaultValue)
        Create a new column
        Parameters:
        index - index
        name - name
        type - type
        max - max value
        notNull - not null flag
        defaultValue - default value
        Returns:
        user custom column
      • createColumn

        public static UserCustomColumn createColumn​(TableColumn tableColumn)
        Create a new column
        Parameters:
        tableColumn - table column
        Returns:
        user custom column
        Since:
        3.3.0