1 10 11 package com.triactive.jdo.store; 12 13 14 34 35 public abstract class Mapping 36 { 37 protected final DatabaseAdapter dba; 38 protected final Class type; 39 40 41 47 protected Mapping(DatabaseAdapter dba, Class type) 48 { 49 this.dba = dba; 50 this.type = type; 51 } 52 53 58 public Class getType() 59 { 60 return type; 61 } 62 63 public abstract SQLExpression newSQLLiteral(QueryStatement qs, Object value); 64 65 public abstract SQLExpression newSQLExpression(QueryStatement qs, TableExpression te, String fieldName); 66 67 public abstract SQLExpression newSQLExpression(QueryStatement qs, QueryStatement.QueryColumn qsc, String fieldName); 68 } 69 | Popular Tags |