1 22 23 package org.xquark.mapper.mapping; 24 25 import org.xquark.jdbc.typing.ColumnMetaData; 26 import org.xquark.mapping.Generator; 27 28 33 public interface ColumnMapping extends Mapping 34 { 35 39 public String getColumnName(); 40 41 45 public TableMapping getTableMapping(); 46 47 51 public ColumnMetaData getMetaData(); 52 53 59 public int getColumnIndex(); 60 61 67 public int getKeyColumnIndex(); 68 69 75 public boolean isInJoin(); 76 77 82 public boolean updateColumnWhenMissing(); 83 84 90 public int getJoinColumnIndex(); 91 92 98 public int getInsertColumnIndex(); 99 100 106 public int getSelectColumnIndex(); 107 108 114 public int getFetchColumnIndex(); 115 116 122 public int getUpdateColumnIndex(); 123 124 130 public MappingTypeInfo getTypeInfo(); 131 132 138 public Generator getGenerator(); 139 140 145 public Generator getDefaultGenerator(); 146 147 151 public Generator getInitGenerator() ; 152 153 158 public int getTableRefIndex(); 159 160 168 public int getColumnType(); 169 } 170 | Popular Tags |