1 22 23 package org.xquark.extractor.sql; 24 25 import java.math.BigDecimal ; 26 27 public class SqlLitDecimal extends SqlLiteral 28 { 29 30 private static final String RCSRevision = "$Revision: 1.3 $"; 31 private static final String RCSName = "$Name: $"; 32 33 private BigDecimal _value; 34 35 39 public SqlLitDecimal(BigDecimal value) 40 { 41 setValue ( value ) ; 42 } 43 44 47 public SqlLitDecimal() 48 { 49 50 } 51 52 53 public BigDecimal getValue() 54 { 55 return _value; 56 } 57 58 59 public void setValue(BigDecimal aValue) 60 { 61 _value = aValue; 62 } 63 64 68 public String toSql(Context context) 69 { 70 return _value.toString ( ) ; 71 } 72 } 73 | Popular Tags |