public static List < UserCustomColumn > createRequiredColumns ( int startingIndex , String idColumnName ) { if ( idColumnName == null ) { idColumnName = COLUMN_ID ; } List < UserCustomColumn > columns = new ArrayList <> ( ) ; columns . add ( createIdColumn ( startingIndex ++ , idColumnName ) ) ; columns . add ( createDataColumn ( startingIndex ++ ) ) ; columns . add ( createContentTypeColumn ( startingIndex ++ ) ) ; return columns ; }
Create the required table columns with id column name starting at the provided index