org.seasar.doma.internal.jdbc.query
クラス AutoModifyQuery<I,E extends Entity<I>>

java.lang.Object
  上位を拡張 org.seasar.doma.internal.jdbc.query.AutoModifyQuery<I,E>
すべての実装されたインタフェース:
ModifyQuery, Query
直系の既知のサブクラス:
AutoDeleteQuery, AutoInsertQuery, AutoUpdateQuery

public abstract class AutoModifyQuery<I,E extends Entity<I>>
extends Object
implements ModifyQuery

作成者:
taedium

フィールドの概要
protected  boolean autoGeneratedKeysSupported
           
protected  String callerClassName
           
protected  String callerMethodName
           
protected  Map<String,String> columnNameMap
           
protected  Config config
           
protected static String[] EMPTY_STRINGS
           
protected  E entity
           
protected  Class<E> entityClass
           
protected  String[] excludedPropertyNames
           
protected  boolean executable
           
protected  List<EntityProperty<?>> idProperties
           
protected  String[] includedPropertyNames
           
protected  boolean optimisticLockCheckRequired
           
protected  int queryTimeout
           
protected  PreparedSql sql
           
protected  SqlExecutionSkipCause sqlExecutionSkipCause
           
protected  String tableName
           
protected  List<EntityProperty<?>> targetProperties
           
protected  VersionProperty<?> versionProperty
           
 
コンストラクタの概要
AutoModifyQuery(Class<E> entityClass)
           
 
メソッドの概要
 String getClassName()
           
 Config getConfig()
           
 String getMethodName()
           
 int getQueryTimeout()
           
 PreparedSql getSql()
           
 SqlExecutionSkipCause getSqlExecutionSkipCause()
           
 boolean isAutoGeneratedKeysSupported()
           
 boolean isExecutable()
           
 boolean isOptimisticLockCheckRequired()
           
protected  boolean isTargetPropertyName(String name)
           
protected  void prepareIdAndVersionProperties()
           
protected  void prepareOptions()
           
protected  void prepareTableAndColumnNames()
           
 void setCallerClassName(String callerClassName)
           
 void setCallerMethodName(String callerMethodName)
           
 void setConfig(Config config)
           
 void setEntity(I entity)
           
 void setExcludedPropertyNames(String... excludedPropertyNames)
           
 void setIncludedPropertyNames(String... includedPropertyNames)
           
 void setQueryTimeout(int queryTimeout)
           
 String toString()
           
protected  void validateIdExistent()
           
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

フィールドの詳細

EMPTY_STRINGS

protected static final String[] EMPTY_STRINGS

includedPropertyNames

protected String[] includedPropertyNames

excludedPropertyNames

protected String[] excludedPropertyNames

entityClass

protected Class<E extends Entity<I>> entityClass

config

protected Config config

entity

protected E extends Entity<I> entity

callerClassName

protected String callerClassName

callerMethodName

protected String callerMethodName

sql

protected PreparedSql sql

targetProperties

protected final List<EntityProperty<?>> targetProperties

idProperties

protected final List<EntityProperty<?>> idProperties

versionProperty

protected VersionProperty<?> versionProperty

tableName

protected String tableName

columnNameMap

protected final Map<String,String> columnNameMap

optimisticLockCheckRequired

protected boolean optimisticLockCheckRequired

autoGeneratedKeysSupported

protected boolean autoGeneratedKeysSupported

executable

protected boolean executable

sqlExecutionSkipCause

protected SqlExecutionSkipCause sqlExecutionSkipCause

queryTimeout

protected int queryTimeout
コンストラクタの詳細

AutoModifyQuery

public AutoModifyQuery(Class<E> entityClass)
メソッドの詳細

prepareTableAndColumnNames

protected void prepareTableAndColumnNames()

prepareIdAndVersionProperties

protected void prepareIdAndVersionProperties()

validateIdExistent

protected void validateIdExistent()

prepareOptions

protected void prepareOptions()

isTargetPropertyName

protected boolean isTargetPropertyName(String name)

setConfig

public void setConfig(Config config)

setEntity

public void setEntity(I entity)

setCallerClassName

public void setCallerClassName(String callerClassName)

setCallerMethodName

public void setCallerMethodName(String callerMethodName)

setQueryTimeout

public void setQueryTimeout(int queryTimeout)

setIncludedPropertyNames

public void setIncludedPropertyNames(String... includedPropertyNames)

setExcludedPropertyNames

public void setExcludedPropertyNames(String... excludedPropertyNames)

getSql

public PreparedSql getSql()
定義:
インタフェース ModifyQuery 内の getSql
定義:
インタフェース Query 内の getSql

getClassName

public String getClassName()
定義:
インタフェース Query 内の getClassName

getMethodName

public String getMethodName()
定義:
インタフェース Query 内の getMethodName

getConfig

public Config getConfig()
定義:
インタフェース Query 内の getConfig

isOptimisticLockCheckRequired

public boolean isOptimisticLockCheckRequired()
定義:
インタフェース ModifyQuery 内の isOptimisticLockCheckRequired

isExecutable

public boolean isExecutable()
定義:
インタフェース ModifyQuery 内の isExecutable

getSqlExecutionSkipCause

public SqlExecutionSkipCause getSqlExecutionSkipCause()
定義:
インタフェース ModifyQuery 内の getSqlExecutionSkipCause

isAutoGeneratedKeysSupported

public boolean isAutoGeneratedKeysSupported()
定義:
インタフェース ModifyQuery 内の isAutoGeneratedKeysSupported

getQueryTimeout

public int getQueryTimeout()
定義:
インタフェース Query 内の getQueryTimeout

toString

public String toString()
オーバーライド:
クラス Object 内の toString


Copyright © 2009 The Seasar Foundation. All Rights Reserved.