Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.lutris.dods.builder.generator.dataobject
Class GenericDO  view GenericDO download GenericDO.java

java.lang.Object
  extended bycom.lutris.appserver.server.sql.CoreDO
      extended bycom.lutris.appserver.server.sql.CloneableDO
          extended bycom.lutris.dods.builder.generator.dataobject.GenericDO
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable, com.lutris.appserver.server.sql.Transaction

public abstract class GenericDO
extends com.lutris.appserver.server.sql.CloneableDO


Field Summary
protected  boolean dirty
           
private  boolean notUsingOId
           
private  boolean updateInProgress
           
 
Fields inherited from class com.lutris.appserver.server.sql.CoreDO
persistent, versioning
 
Constructor Summary
GenericDO()
          Public constructor.
GenericDO(boolean notUsingOId)
          Public constructor.
GenericDO(com.lutris.appserver.server.sql.ObjectId id)
          Public constructor.
GenericDO(java.sql.ResultSet rs)
          Public constructor.
 
Method Summary
 java.lang.Object cloneUnique()
          Creates a clone of the object, but ensures that a new and unique object id is created for the object and that the version number is set to zero.
static java.math.BigDecimal copyBigDecimal(java.math.BigDecimal source)
           
static byte[] copyByteArray(byte[] source)
           
static java.sql.Date copyDate(java.sql.Date source)
           
static java.lang.String copyString(java.lang.String source)
           
static java.sql.Time copyTime(java.sql.Time source)
           
static java.sql.Timestamp copyTimestamp(java.sql.Timestamp source)
           
 void delete()
           
 void executeDelete(com.lutris.appserver.server.sql.DBConnection conn)
          Deletes this object from the database.
 void executeInsert(com.lutris.appserver.server.sql.DBConnection conn)
          Updates the contents of this object in the database but only if the datab object is dirty.
 void executeUpdate(com.lutris.appserver.server.sql.DBConnection conn)
          Updates the contents of this object in the database but only if the datab object is dirty.
 void finalizeInsert(boolean success)
          If transaction succeeded marks this object as clean.
 void finalizeUpdate(boolean success)
          If transaction succeeded marks this object as clean.
protected static java.lang.String getPrimaryKeyName()
          Return the name of the primary key column.
 boolean isDirty()
          isDirty() returns true if this object has been modified (needs to be updated to the database).
protected  void makeIdentical(GenericDO obj)
          makeIdentical() Used by subclasses to assign any data members to this data object.
protected  void markClean()
          markClean() with no arguments is used to indicate that this object is marked as "clean" (it does not need to be updated to the database).
protected  void markNewValue()
          markNewValue() with no arguments is used to indicate that this object is marked as "dirty" (in need of an update to the database).
protected  java.math.BigDecimal markNewValue(java.math.BigDecimal current_bd, java.math.BigDecimal new_bd)
          If the current data member value differs from the new value, this object is marked as "dirty" (in need of an update to the database).
protected  boolean markNewValue(boolean current_boolean, boolean new_boolean)
          If the current data member value differs from the new value, this object is marked as "dirty" (in need of an update to the database).
protected  byte[] markNewValue(byte[] current_val, byte[] new_val)
          If the current data member value differs from the new value, this object is marked as "dirty" (in need of an update to the database).
protected  byte markNewValue(byte current_byte, byte new_byte)
          If the current data member value differs from the new value, this object is marked as "dirty" (in need of an update to the database).
protected  char markNewValue(char current_char, char new_char)
          If the current data member value differs from the new value, this object is marked as "dirty" (in need of an update to the database).
protected  java.util.Date markNewValue(java.util.Date current_date, java.util.Date new_date)
          If the current data member value differs from the new value, this object is marked as "dirty" (in need of an update to the database).
protected  java.sql.Date markNewValue(java.sql.Date current_val, java.sql.Date new_val)
          If the current data member value differs from the new value, this object is marked as "dirty" (in need of an update to the database).
protected  double markNewValue(double current_double, double new_double)
          If the current data member value differs from the new value, this object is marked as "dirty" (in need of an update to the database).
protected  float markNewValue(float current_float, float new_float)
          If the current data member value differs from the new value, this object is marked as "dirty" (in need of an update to the database).
protected  GenericDO markNewValue(GenericDO current_DO, GenericDO new_DO)
          If the current data member value differs from the new value, this object is marked as "dirty" (in need of an update to the database).
protected  int markNewValue(int current_int, int new_int)
          If the current data member value differs from the new value, this object is marked as "dirty" (in need of an update to the database).
protected  long markNewValue(long current_long, long new_long)
          If the current data member value differs from the new value, this object is marked as "dirty" (in need of an update to the database).
protected  com.lutris.appserver.server.sql.ObjectId markNewValue(com.lutris.appserver.server.sql.ObjectId current_OId, com.lutris.appserver.server.sql.ObjectId new_OId)
          If the current data member value differs from the new value, this object is marked as "dirty" (in need of an update to the database).
protected  short markNewValue(short current_short, short new_short)
          If the current data member value differs from the new value, this object is marked as "dirty" (in need of an update to the database).
protected  java.lang.String markNewValue(java.lang.String current_string, java.lang.String new_string, int max_length, boolean nullOK)
          If the current data member value differs from the new value, this object is marked as "dirty" (in need of an update to the database).
protected  java.lang.String markNewValue(java.lang.String current_string, java.lang.String new_string, int min_length, int max_length, boolean nullOK)
          If the current data member value differs from the new value, this object is marked as "dirty" (in need of an update to the database).
protected  java.sql.Timestamp markNewValue(java.sql.Timestamp current_val, java.sql.Timestamp new_val)
          If the current data member value differs from the new value, this object is marked as "dirty" (in need of an update to the database).
protected  java.sql.Time markNewValue(java.sql.Time current_val, java.sql.Time new_val)
          If the current data member value differs from the new value, this object is marked as "dirty" (in need of an update to the database).
static void printMsg(int level, java.lang.String s)
           
protected  void setOId(com.lutris.appserver.server.sql.ObjectId oId)
          Sets this object's identifier.
protected  void setPrepStmtParam_BigDecimal(java.sql.PreparedStatement stmt, int[] paramIndex, java.math.BigDecimal value)
           
protected  void setPrepStmtParam_boolean(java.sql.PreparedStatement stmt, int[] paramIndex, boolean value)
           
protected  void setPrepStmtParam_byte(java.sql.PreparedStatement stmt, int[] paramIndex, byte value)
           
protected  void setPrepStmtParam_bytes(java.sql.PreparedStatement stmt, int[] paramIndex, byte[] value)
           
protected  void setPrepStmtParam_DO(java.sql.PreparedStatement stmt, int[] paramIndex, GenericDO value)
          If the current data member value differs from the new value, this object is marked as "dirty" (in need of an update to the database).
protected  void setPrepStmtParam_double(java.sql.PreparedStatement stmt, int[] paramIndex, double value)
           
protected  void setPrepStmtParam_float(java.sql.PreparedStatement stmt, int[] paramIndex, float value)
           
protected  void setPrepStmtParam_int(java.sql.PreparedStatement stmt, int[] paramIndex, int value)
           
protected  void setPrepStmtParam_java_math_BigDecimal(java.sql.PreparedStatement stmt, int[] paramIndex, java.math.BigDecimal value)
           
protected  void setPrepStmtParam_java_sql_Date(java.sql.PreparedStatement stmt, int[] paramIndex, java.sql.Date value)
           
protected  void setPrepStmtParam_java_sql_Time(java.sql.PreparedStatement stmt, int[] paramIndex, java.sql.Time value)
           
protected  void setPrepStmtParam_java_sql_Timestamp(java.sql.PreparedStatement stmt, int[] paramIndex, java.sql.Timestamp value)
           
protected  void setPrepStmtParam_long(java.sql.PreparedStatement stmt, int[] paramIndex, long value)
           
protected  void setPrepStmtParam_short(java.sql.PreparedStatement stmt, int[] paramIndex, short value)
           
protected  void setPrepStmtParam_String(java.sql.PreparedStatement stmt, int[] paramIndex, java.lang.String value)
           
 java.lang.String toString(int x)
           
 
Methods inherited from class com.lutris.appserver.server.sql.CloneableDO
clone
 
Methods inherited from class com.lutris.appserver.server.sql.CoreDO
disableVersioning, finalizeDelete, getDeleteStatement, getInsertStatement, getNewVersion, getOId, getOIdColumnName, getTableName, getUpdateStatement, getVersion, getVersionColumnName, isPersistent, setNewVersion, setOIdColumnName, setPersistent, setVersion, setVersionColumnName
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dirty

protected boolean dirty

updateInProgress

private boolean updateInProgress

notUsingOId

private boolean notUsingOId
Constructor Detail

GenericDO

public GenericDO()
          throws com.lutris.appserver.server.sql.ObjectIdException,
                 com.lutris.appserver.server.sql.DatabaseManagerException
Public constructor.


GenericDO

public GenericDO(boolean notUsingOId)
          throws com.lutris.appserver.server.sql.ObjectIdException,
                 com.lutris.appserver.server.sql.DatabaseManagerException
Public constructor.


GenericDO

public GenericDO(com.lutris.appserver.server.sql.ObjectId id)
          throws com.lutris.appserver.server.sql.ObjectIdException,
                 com.lutris.appserver.server.sql.DatabaseManagerException
Public constructor.


GenericDO

public GenericDO(java.sql.ResultSet rs)
          throws java.sql.SQLException,
                 com.lutris.appserver.server.sql.ObjectIdException
Public constructor.

Method Detail

printMsg

public static void printMsg(int level,
                            java.lang.String s)

cloneUnique

public java.lang.Object cloneUnique()
                             throws com.lutris.appserver.server.sql.DatabaseManagerException,
                                    com.lutris.appserver.server.sql.ObjectIdException
Creates a clone of the object, but ensures that a new and unique object id is created for the object and that the version number is set to zero.


makeIdentical

protected void makeIdentical(GenericDO obj)
makeIdentical() Used by subclasses to assign any data members to this data object. Does not duplicate data. Just assigns references.


executeUpdate

public void executeUpdate(com.lutris.appserver.server.sql.DBConnection conn)
                   throws java.sql.SQLException,
                          com.lutris.appserver.server.sql.DBRowUpdateException
Updates the contents of this object in the database but only if the datab object is dirty. This requires that all set methods in the data objects keep track if a value has changed.


executeInsert

public void executeInsert(com.lutris.appserver.server.sql.DBConnection conn)
                   throws java.sql.SQLException,
                          com.lutris.appserver.server.sql.DBRowUpdateException
Updates the contents of this object in the database but only if the datab object is dirty. This requires that all set methods in the data objects keep track if a value has changed.


executeDelete

public void executeDelete(com.lutris.appserver.server.sql.DBConnection conn)
                   throws java.sql.SQLException
Deletes this object from the database.


finalizeInsert

public void finalizeInsert(boolean success)
If transaction succeeded marks this object as clean.


finalizeUpdate

public void finalizeUpdate(boolean success)
If transaction succeeded marks this object as clean.


getPrimaryKeyName

protected static java.lang.String getPrimaryKeyName()
Return the name of the primary key column. FIX to get name from conf file (or via CoreDO?)


setOId

protected void setOId(com.lutris.appserver.server.sql.ObjectId oId)
Sets this object's identifier.


isDirty

public boolean isDirty()
isDirty() returns true if this object has been modified (needs to be updated to the database).


markClean

protected void markClean()
markClean() with no arguments is used to indicate that this object is marked as "clean" (it does not need to be updated to the database).

This method is protected since only derived Data Objects (DO's) "set" methods will be calling it.


markNewValue

protected void markNewValue()
markNewValue() with no arguments is used to indicate that this object is marked as "dirty" (in need of an update to the database). There is no way to mark this object as "clean";
only the executeInsert() and executeUpdate() methods can make that so.

This method is protected since only derived Data Objects (DO's) "set" methods will be calling it.


markNewValue

protected java.lang.String markNewValue(java.lang.String current_string,
                                        java.lang.String new_string,
                                        int max_length,
                                        boolean nullOK)
If the current data member value differs from the new value, this object is marked as "dirty" (in need of an update to the database). There is no way to mark this object as "clean";
only the executeInsert() and executeUpdate() methods can make that so.

This method is protected since only derived Data Objects (DO's) "set" methods will be calling it.

This method returns the new value as a convenience to the calling "set" method. The usage is: this.field = markNewValue( this.field, new_field_value, max_length, nullOK ) If nullOK is false and new_field_value is null, this.field is set to "".


markNewValue

protected java.lang.String markNewValue(java.lang.String current_string,
                                        java.lang.String new_string,
                                        int min_length,
                                        int max_length,
                                        boolean nullOK)
If the current data member value differs from the new value, this object is marked as "dirty" (in need of an update to the database). There is no way to mark this object as "clean";
only the executeInsert() and executeUpdate() methods can make that so.

This method is protected since only derived Data Objects (DO's) "set" methods will be calling it.

This method returns the new value as a convenience to the calling "set" method. The usage is: this.field = markNewValue( this.field, new_field_value, min_length, max_length, nullOK ) If min_length > 0 and nullOK is false and new_field_value is null, this.field is returned (the new_field_value is ignored.)


markNewValue

protected com.lutris.appserver.server.sql.ObjectId markNewValue(com.lutris.appserver.server.sql.ObjectId current_OId,
                                                                com.lutris.appserver.server.sql.ObjectId new_OId)
If the current data member value differs from the new value, this object is marked as "dirty" (in need of an update to the database). There is no way to mark this object as "clean";
only the executeInsert() and executeUpdate() methods can make that so.

This method is protected since only derived Data Objects (DO's) "set" methods will be calling it.

This method returns the new value as a convenience to the calling "set" method. The usage is: this.field = markNewValue( this.field, new_field_value )


markNewValue

protected java.util.Date markNewValue(java.util.Date current_date,
                                      java.util.Date new_date)
If the current data member value differs from the new value, this object is marked as "dirty" (in need of an update to the database). There is no way to mark this object as "clean";
only the executeInsert() and executeUpdate() methods can make that so.

This method is protected since only derived Data Objects (DO's) "set" methods will be calling it.

This method returns the new value as a convenience to the calling "set" method. The usage is: this.field = markNewValue( this.field, new_field_value )


markNewValue

protected java.math.BigDecimal markNewValue(java.math.BigDecimal current_bd,
                                            java.math.BigDecimal new_bd)
If the current data member value differs from the new value, this object is marked as "dirty" (in need of an update to the database). There is no way to mark this object as "clean";
only the executeInsert() and executeUpdate() methods can make that so.

This method is protected since only derived Data Objects (DO's) "set" methods will be calling it.

This method returns the new value as a convenience to the calling "set" method. The usage is: this.field = markNewValue( this.field, new_field_value )


markNewValue

protected byte[] markNewValue(byte[] current_val,
                              byte[] new_val)
If the current data member value differs from the new value, this object is marked as "dirty" (in need of an update to the database). There is no way to mark this object as "clean";
only the executeInsert() and executeUpdate() methods can make that so.

This method is protected since only derived Data Objects (DO's) "set" methods will be calling it.

This method returns the new value as a convenience to the calling "set" method. The usage is: this.field = markNewValue( this.field, new_field_value )


markNewValue

protected java.sql.Date markNewValue(java.sql.Date current_val,
                                     java.sql.Date new_val)
If the current data member value differs from the new value, this object is marked as "dirty" (in need of an update to the database). There is no way to mark this object as "clean";
only the executeInsert() and executeUpdate() methods can make that so.

This method is protected since only derived Data Objects (DO's) "set" methods will be calling it.

This method returns the new value as a convenience to the calling "set" method. The usage is: this.field = markNewValue( this.field, new_field_value )


markNewValue

protected java.sql.Time markNewValue(java.sql.Time current_val,
                                     java.sql.Time new_val)
If the current data member value differs from the new value, this object is marked as "dirty" (in need of an update to the database). There is no way to mark this object as "clean";
only the executeInsert() and executeUpdate() methods can make that so.

This method is protected since only derived Data Objects (DO's) "set" methods will be calling it.

This method returns the new value as a convenience to the calling "set" method. The usage is: this.field = markNewValue( this.field, new_field_value )


markNewValue

protected java.sql.Timestamp markNewValue(java.sql.Timestamp current_val,
                                          java.sql.Timestamp new_val)
If the current data member value differs from the new value, this object is marked as "dirty" (in need of an update to the database). There is no way to mark this object as "clean";
only the executeInsert() and executeUpdate() methods can make that so.

This method is protected since only derived Data Objects (DO's) "set" methods will be calling it.

This method returns the new value as a convenience to the calling "set" method. The usage is: this.field = markNewValue( this.field, new_field_value )


markNewValue

protected int markNewValue(int current_int,
                           int new_int)
If the current data member value differs from the new value, this object is marked as "dirty" (in need of an update to the database). There is no way to mark this object as "clean";
only the executeInsert() and executeUpdate() methods can make that so.

This method is protected since only derived Data Objects (DO's) "set" methods will be calling it.

This method returns the new value as a convenience to the calling "set" method. The usage is: this.field = markNewValue( this.field, new_field_value )


markNewValue

protected float markNewValue(float current_float,
                             float new_float)
If the current data member value differs from the new value, this object is marked as "dirty" (in need of an update to the database). There is no way to mark this object as "clean";
only the executeInsert() and executeUpdate() methods can make that so.

This method is protected since only derived Data Objects (DO's) "set" methods will be calling it.

This method returns the new value as a convenience to the calling "set" method. The usage is: this.field = markNewValue( this.field, new_field_value )


markNewValue

protected double markNewValue(double current_double,
                              double new_double)
If the current data member value differs from the new value, this object is marked as "dirty" (in need of an update to the database). There is no way to mark this object as "clean";
only the executeInsert() and executeUpdate() methods can make that so.

This method is protected since only derived Data Objects (DO's) "set" methods will be calling it.

This method returns the new value as a convenience to the calling "set" method. The usage is: this.field = markNewValue( this.field, new_field_value )


markNewValue

protected boolean markNewValue(boolean current_boolean,
                               boolean new_boolean)
If the current data member value differs from the new value, this object is marked as "dirty" (in need of an update to the database). There is no way to mark this object as "clean";
only the executeInsert() and executeUpdate() methods can make that so.

This method is protected since only derived Data Objects (DO's) "set" methods will be calling it.

This method returns the new value as a convenience to the calling "set" method. The usage is: this.field = markNewValue( this.field, new_field_value )


markNewValue

protected char markNewValue(char current_char,
                            char new_char)
If the current data member value differs from the new value, this object is marked as "dirty" (in need of an update to the database). There is no way to mark this object as "clean";
only the executeInsert() and executeUpdate() methods can make that so.

This method is protected since only derived Data Objects (DO's) "set" methods will be calling it.

This method returns the new value as a convenience to the calling "set" method. The usage is: this.field = markNewValue( this.field, new_field_value )


markNewValue

protected byte markNewValue(byte current_byte,
                            byte new_byte)
If the current data member value differs from the new value, this object is marked as "dirty" (in need of an update to the database). There is no way to mark this object as "clean";
only the executeInsert() and executeUpdate() methods can make that so.

This method is protected since only derived Data Objects (DO's) "set" methods will be calling it.

This method returns the new value as a convenience to the calling "set" method. The usage is: this.field = markNewValue( this.field, new_field_value )


markNewValue

protected short markNewValue(short current_short,
                             short new_short)
If the current data member value differs from the new value, this object is marked as "dirty" (in need of an update to the database). There is no way to mark this object as "clean";
only the executeInsert() and executeUpdate() methods can make that so.

This method is protected since only derived Data Objects (DO's) "set" methods will be calling it.

This method returns the new value as a convenience to the calling "set" method. The usage is: this.field = markNewValue( this.field, new_field_value )


markNewValue

protected long markNewValue(long current_long,
                            long new_long)
If the current data member value differs from the new value, this object is marked as "dirty" (in need of an update to the database). There is no way to mark this object as "clean";
only the executeInsert() and executeUpdate() methods can make that so.

This method is protected since only derived Data Objects (DO's) "set" methods will be calling it.

This method returns the new value as a convenience to the calling "set" method. The usage is: this.field = markNewValue( this.field, new_field_value )


markNewValue

protected GenericDO markNewValue(GenericDO current_DO,
                                 GenericDO new_DO)
If the current data member value differs from the new value, this object is marked as "dirty" (in need of an update to the database). There is no way to mark this object as "clean";
only the executeInsert() and executeUpdate() methods can make that so.

This method is protected since only derived Data Objects (DO's) "set" methods will be calling it.

This method returns the new value as a convenience to the calling "set" method. The usage is: this.field = markNewValue( this.field, new_field_value )


setPrepStmtParam_DO

protected void setPrepStmtParam_DO(java.sql.PreparedStatement stmt,
                                   int[] paramIndex,
                                   GenericDO value)
                            throws java.sql.SQLException
If the current data member value differs from the new value, this object is marked as "dirty" (in need of an update to the database). There is no way to mark this object as "clean";
only the executeInsert() and executeUpdate() methods can make that so.

This method is protected since only derived Data Objects (DO's) "set" methods will be calling it.

This method returns the new value as a convenience to the calling "set" method. The usage is: this.field = markNewValue( this.field, new_field_value )


setPrepStmtParam_String

protected void setPrepStmtParam_String(java.sql.PreparedStatement stmt,
                                       int[] paramIndex,
                                       java.lang.String value)
                                throws java.sql.SQLException

setPrepStmtParam_float

protected void setPrepStmtParam_float(java.sql.PreparedStatement stmt,
                                      int[] paramIndex,
                                      float value)
                               throws java.sql.SQLException

setPrepStmtParam_int

protected void setPrepStmtParam_int(java.sql.PreparedStatement stmt,
                                    int[] paramIndex,
                                    int value)
                             throws java.sql.SQLException

setPrepStmtParam_java_math_BigDecimal

protected void setPrepStmtParam_java_math_BigDecimal(java.sql.PreparedStatement stmt,
                                                     int[] paramIndex,
                                                     java.math.BigDecimal value)
                                              throws java.sql.SQLException

setPrepStmtParam_BigDecimal

protected void setPrepStmtParam_BigDecimal(java.sql.PreparedStatement stmt,
                                           int[] paramIndex,
                                           java.math.BigDecimal value)
                                    throws java.sql.SQLException

setPrepStmtParam_java_sql_Date

protected void setPrepStmtParam_java_sql_Date(java.sql.PreparedStatement stmt,
                                              int[] paramIndex,
                                              java.sql.Date value)
                                       throws java.sql.SQLException

setPrepStmtParam_java_sql_Time

protected void setPrepStmtParam_java_sql_Time(java.sql.PreparedStatement stmt,
                                              int[] paramIndex,
                                              java.sql.Time value)
                                       throws java.sql.SQLException

setPrepStmtParam_java_sql_Timestamp

protected void setPrepStmtParam_java_sql_Timestamp(java.sql.PreparedStatement stmt,
                                                   int[] paramIndex,
                                                   java.sql.Timestamp value)
                                            throws java.sql.SQLException

setPrepStmtParam_bytes

protected void setPrepStmtParam_bytes(java.sql.PreparedStatement stmt,
                                      int[] paramIndex,
                                      byte[] value)
                               throws java.sql.SQLException

setPrepStmtParam_double

protected void setPrepStmtParam_double(java.sql.PreparedStatement stmt,
                                       int[] paramIndex,
                                       double value)
                                throws java.sql.SQLException

setPrepStmtParam_long

protected void setPrepStmtParam_long(java.sql.PreparedStatement stmt,
                                     int[] paramIndex,
                                     long value)
                              throws java.sql.SQLException

setPrepStmtParam_short

protected void setPrepStmtParam_short(java.sql.PreparedStatement stmt,
                                      int[] paramIndex,
                                      short value)
                               throws java.sql.SQLException

setPrepStmtParam_byte

protected void setPrepStmtParam_byte(java.sql.PreparedStatement stmt,
                                     int[] paramIndex,
                                     byte value)
                              throws java.sql.SQLException

setPrepStmtParam_boolean

protected void setPrepStmtParam_boolean(java.sql.PreparedStatement stmt,
                                        int[] paramIndex,
                                        boolean value)
                                 throws java.sql.SQLException

toString

public java.lang.String toString(int x)

delete

public void delete()
            throws java.sql.SQLException,
                   com.lutris.appserver.server.sql.DatabaseManagerException,
                   com.lutris.dods.builder.generator.query.DataObjectException,
                   com.lutris.dods.builder.generator.query.RefAssertionException,
                   com.lutris.appserver.server.sql.DBRowUpdateException,
                   com.lutris.dods.builder.generator.query.QueryException

copyByteArray

public static byte[] copyByteArray(byte[] source)

copyString

public static java.lang.String copyString(java.lang.String source)

copyBigDecimal

public static java.math.BigDecimal copyBigDecimal(java.math.BigDecimal source)

copyDate

public static java.sql.Date copyDate(java.sql.Date source)

copyTime

public static java.sql.Time copyTime(java.sql.Time source)

copyTimestamp

public static java.sql.Timestamp copyTimestamp(java.sql.Timestamp source)