org.jtheque.core.managers.schema
Class Insert

java.lang.Object
  extended by org.jtheque.core.managers.schema.Insert

public final class Insert
extends java.lang.Object

An insert of HSQL Database file.

Author:
Baptiste Wicht

Constructor Summary
Insert()
           
 
Method Summary
 java.lang.Boolean getBoolean(int index)
          Return the boolean value at the position index.
 java.lang.Integer getInt(int index)
          Return the int value at the position index.
 java.lang.String getString(int index)
          Return the string value at the position index.
 java.lang.String getTable()
          Return the table of the insert.
 void setTable(java.lang.String table)
          Set the table of the insert.
 void setValues(java.util.Collection<java.lang.String> values)
          Set the values of the insert.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Insert

public Insert()
Method Detail

getTable

public java.lang.String getTable()
Return the table of the insert.

Returns:
The table of the insert.

setTable

public void setTable(java.lang.String table)
Set the table of the insert.

Parameters:
table - The table of the insert.

getString

public java.lang.String getString(int index)
Return the string value at the position index.

Parameters:
index - The position of the value.
Returns:
The value at this position else null if there is no value at this position.

getInt

public java.lang.Integer getInt(int index)
Return the int value at the position index.

Parameters:
index - The position of the value.
Returns:
The int value at this position else null if there is no value at this position.

getBoolean

public java.lang.Boolean getBoolean(int index)
Return the boolean value at the position index.

Parameters:
index - The position of the value.
Returns:
The boolean value at this position else null if there is no value at this position.

setValues

public void setValues(java.util.Collection<java.lang.String> values)
Set the values of the insert.

Parameters:
values - The values of the insert.


Copyright © 2009 JTheque. All Rights Reserved.