You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@avalon.apache.org by fr...@apache.org on 2001/11/17 18:29:54 UTC

cvs commit: jakarta-avalon-cornerstone/apps/db/src/java/org/apache/avalon/db/data/types StringConstantType.java

froehlich    01/11/17 09:29:54

  Added:       apps/db/src/java/org/apache/avalon/db/data/types
                        StringConstantType.java
  Log:
  new type definition
  
  Revision  Changes    Path
  1.1                  jakarta-avalon-cornerstone/apps/db/src/java/org/apache/avalon/db/data/types/StringConstantType.java
  
  Index: StringConstantType.java
  ===================================================================
  /*
   * Copyright (C) The Apache Software Foundation. All rights reserved.
   *
   * This software is published under the terms of the Apache Software License
   * version 1.1, a copy of which has been included with this distribution in
   * the LICENSE file.
   */
  package org.apache.avalon.db.data.types;
  
  import org.apache.avalon.db.data.Row;
  
  import java.math.BigDecimal;
  
  /**
   * Class StringConstantType
   *
   * @author Gerhard Froehlich <a href="mailto:g-froehlich@gmx.de">g-froehlich@gmx.de</a>
   * @version $Revision: 1.1 $
   */
  public interface StringConstantType extends Type{
      Integer toInteger(Row row);
      Long toLong(Row row);
      BigDecimal toBigDecimal(Row row);
      Float toFloat(Row row);
      Short toShort(Row row);
  
  }
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>