1 22 23 package org.xquark.extractor.sql; 24 25 import java.sql.Date ; 26 27 import org.xquark.extractor.common.Debug; 28 29 public class SqlLitDate extends SqlLiteral 30 { 31 private static final String RCSRevision = "$Revision: 1.4 $"; 32 private static final String RCSName = "$Name: $"; 33 34 private Date _value; 35 36 40 public SqlLitDate(java.sql.Date value) 41 { 42 setValue ( value ) ; 43 } 44 45 48 public SqlLitDate() 49 { 50 51 } 52 53 58 public Date getValue() 59 { 60 return _value; 61 } 62 63 68 public void setValue(Date aValue) 69 { 70 _value = aValue; 71 } 72 73 74 75 79 public String toSql(Context context) 80 { 81 83 String retVal = null ; 84 Debug.assertTrue(false,"NYI!"); 85 return retVal ; 89 } 90 } 91 | Popular Tags |