jas.statistics.db
Class StringColumn

java.lang.Object
  extended by jas.statistics.db.Column
      extended by jas.statistics.db.StringColumn

public class StringColumn
extends Column

A column which automatically retrieves and stores data from a string source.

Title: JAS

Description: Java Agent-based Simulation library

Copyright (C) 2002 Michele Sonnessa

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.

Author:
Michele Sonnessa

Constructor Summary
StringColumn(java.lang.String name, int maxLength)
           
StringColumn(java.lang.String name, int maxLength, int valueId)
           
StringColumn(java.lang.String name, int maxLength, IStringSource source)
           
StringColumn(java.lang.String name, int maxLength, IStringSource source, int valueId)
           
 
Method Summary
 java.lang.String getValue()
           
 void updateColumn()
           
 void updateColumn(java.lang.Object src)
           
 
Methods inherited from class jas.statistics.db.Column
generateCreationStatement, getColumnName, setColumnName, setIdentity, setValue, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StringColumn

public StringColumn(java.lang.String name,
                    int maxLength)

StringColumn

public StringColumn(java.lang.String name,
                    int maxLength,
                    int valueId)

StringColumn

public StringColumn(java.lang.String name,
                    int maxLength,
                    IStringSource source)

StringColumn

public StringColumn(java.lang.String name,
                    int maxLength,
                    IStringSource source,
                    int valueId)
Parameters:
name -
type -
Method Detail

getValue

public java.lang.String getValue()
Overrides:
getValue in class Column

updateColumn

public void updateColumn()
Overrides:
updateColumn in class Column

updateColumn

public void updateColumn(java.lang.Object src)
Overrides:
updateColumn in class Column