private ColumnInfo getJoinColumn ( TableInfo tableInfo , String joinColumnName , Class columnType ) { ColumnInfo columnInfo = new ColumnInfo ( ) ; columnInfo . setColumnName ( joinColumnName ) ; columnInfo . setIndexable ( true ) ; IndexInfo indexInfo = new IndexInfo ( joinColumnName ) ; tableInfo . addToIndexedColumnList ( indexInfo ) ; columnInfo . setType ( columnType ) ; return columnInfo ; }
getJoinColumn method return ColumnInfo for the join column