com.irisel.oms.sql
Class UpdateQuery

java.lang.Object
  extended by com.irisel.util.BaseBean
      extended by com.irisel.oms.olapi.beans.XMLBean
          extended by com.irisel.oms.sql.Query
              extended by com.irisel.oms.sql.UpdateQuery
All Implemented Interfaces:
XMLBean, java.io.Serializable

public class UpdateQuery
extends Query

This class is used to generate, store and analyze SQL statements. * * * Creation date: (21/10/02 21:17:23) * * *

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.irisel.oms.sql.Query
PARAM_PLACEHOLDER
 
Fields inherited from class com.irisel.oms.olapi.beans.XMLBean
CLASSNAME, CLASSTYPE, DEFAULT_VISIBILITY, NOT_VISIBLE, VISIBLE
 
Fields inherited from interface com.irisel.util.XMLBean
CSV
 
Constructor Summary
UpdateQuery()
          * * Constructor * *
UpdateQuery(Field[] target)
          * * * Constructor * * * Creation date: (21/10/02 21:54:21) * * *
UpdateQuery(Field[] target, Filter[][] filters)
          * * * Constructor * * * Creation date: (21/10/02 21:54:21) * * *
UpdateQuery(Field[] target, Filter[][][] filters)
           
UpdateQuery(Field[] target, Filter[][] filters, Option[] options)
          * * * Constructor * * * Creation date: (21/10/02 21:54:21) * * *
 
Method Summary
 java.lang.String toString(boolean parametrized)
          Generates a string representation of the object * * *
 
Methods inherited from class com.irisel.oms.sql.Query
chkDeps, getChilds, getChildsDeep, getDbType, getFilters, getKeyword, getOptions, getTarget, getTargetTables, getTargetTablesText, getTime, getTimestamp, getTimeStr, propagateDbType, setDbType, setException, setFilter, setFilter, setFilters, setFilters, setFilters, setKeyword, setOptions, setTarget, setTarget, toString, whereToString
 
Methods inherited from class com.irisel.oms.olapi.beans.XMLBean
copyToInstance, export2csv, getDescId, getGeneratedAt, getGenericAttr, getIcon, getIconName, getId, getLabel, getName, getO, getOrd, getVisibility, isDirty, isEnabled, isErased, isMandatory, isReadOnly, readFromFile, readFromStream, setDescId, setDirty, setEnabled, setErased, setGeneratedAt, setGenericAttr, setIcon, setIconName, setId, setLabel, setName, setO, setOrd, setVisibility, updateFromInstance, writeToFile, writeToStream, xmlSerialize
 
Methods inherited from class com.irisel.util.BaseBean
decode64, decode64bin, encode64, encode64bin, readObject, readObject64, toBean, toByteArray, toJSON, toJSONObject, toXML
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UpdateQuery

public UpdateQuery()
* * Constructor * *


UpdateQuery

public UpdateQuery(Field[] target)
* * * Constructor * * * Creation date: (21/10/02 21:54:21) * * *

Parameters:
target - com.irisel.oms.sql.Field[] * *

UpdateQuery

public UpdateQuery(Field[] target,
                   Filter[][] filters)
* * * Constructor * * * Creation date: (21/10/02 21:54:21) * * *

Parameters:
target - com.irisel.oms.sql.Field[] * * *
filters - com.irisel.oms.sql.Filter[] * *

UpdateQuery

public UpdateQuery(Field[] target,
                   Filter[][][] filters)

UpdateQuery

public UpdateQuery(Field[] target,
                   Filter[][] filters,
                   Option[] options)
* * * Constructor * * * Creation date: (21/10/02 21:54:21) * * *

Parameters:
target - com.irisel.oms.sql.Field[] * * *
filters - com.irisel.oms.sql.Filter[] * * *
options - com.irisel.oms.sql.Option[] * *
Method Detail

toString

public java.lang.String toString(boolean parametrized)
Generates a string representation of the object * * *

Specified by:
toString in class Query
Parameters:
parametrized - if true returns sql with placeholders for the values of the filters
Returns:
a string representation of the object * *