org.seasar.robot.db.allcommon
クラス ImplementedBehaviorSelector

java.lang.Object
  上位を拡張 org.seasar.robot.db.allcommon.ImplementedBehaviorSelector
すべての実装されたインタフェース:
org.seasar.robot.dbflute.BehaviorSelector

public class ImplementedBehaviorSelector
extends Object
implements org.seasar.robot.dbflute.BehaviorSelector

The implementation of behavior selector.

作成者:
DBFlute(AutoGenerator)

フィールドの概要
protected  Map<Class<? extends org.seasar.robot.dbflute.bhv.BehaviorReadable>,org.seasar.robot.dbflute.bhv.BehaviorReadable> _behaviorCache
          The cache of behavior.
protected  org.seasar.framework.container.S2Container _container
          The container of Seasar.
 
コンストラクタの概要
ImplementedBehaviorSelector()
           
 
メソッドの概要
protected  void assertObjectNotNull(String variableName, Object value)
          Assert that the object is not null.
protected  void assertStringNotNullAndNotTrimmedEmpty(String variableName, String value)
          Assert that the entity is not null and not trimmed empty.
 org.seasar.robot.dbflute.bhv.BehaviorReadable byName(String tableFlexibleName)
          Select behavior-readable by name.
protected  Class<org.seasar.robot.dbflute.bhv.BehaviorReadable> getBehaviorType(org.seasar.robot.dbflute.dbmeta.DBMeta dbmeta)
          Get behavior-type by DB meta.
protected
<COMPONENT>
COMPONENT
getComponent(Class<COMPONENT> componentType)
           
 void initializeConditionBeanMetaData()
          Initialize condition-bean meta data.
protected  String initUncap(String str)
           
protected
<KEY,VALUE>
ConcurrentHashMap<KEY,VALUE>
newConcurrentHashMap()
           
<BEHAVIOR extends org.seasar.robot.dbflute.bhv.BehaviorReadable>
BEHAVIOR
select(Class<BEHAVIOR> behaviorType)
          Select behavior.
 void setContainer(org.seasar.framework.container.S2Container container)
           
protected  String toClassTitle(Object obj)
           
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

_behaviorCache

protected final Map<Class<? extends org.seasar.robot.dbflute.bhv.BehaviorReadable>,org.seasar.robot.dbflute.bhv.BehaviorReadable> _behaviorCache
The cache of behavior.


_container

protected org.seasar.framework.container.S2Container _container
The container of Seasar.

コンストラクタの詳細

ImplementedBehaviorSelector

public ImplementedBehaviorSelector()
メソッドの詳細

initializeConditionBeanMetaData

public void initializeConditionBeanMetaData()
Initialize condition-bean meta data.

定義:
インタフェース org.seasar.robot.dbflute.BehaviorSelector 内の initializeConditionBeanMetaData

select

public <BEHAVIOR extends org.seasar.robot.dbflute.bhv.BehaviorReadable> BEHAVIOR select(Class<BEHAVIOR> behaviorType)
Select behavior.

定義:
インタフェース org.seasar.robot.dbflute.BehaviorSelector 内の select
型パラメータ:
BEHAVIOR - The type of behavior.
パラメータ:
behaviorType - Behavior type. (NotNull)
戻り値:
Behavior. (NotNull)

byName

public org.seasar.robot.dbflute.bhv.BehaviorReadable byName(String tableFlexibleName)
Select behavior-readable by name.

定義:
インタフェース org.seasar.robot.dbflute.BehaviorSelector 内の byName
パラメータ:
tableFlexibleName - Table flexible-name. (NotNull)
戻り値:
Behavior-readable. (NotNull)

getBehaviorType

protected Class<org.seasar.robot.dbflute.bhv.BehaviorReadable> getBehaviorType(org.seasar.robot.dbflute.dbmeta.DBMeta dbmeta)
Get behavior-type by DB meta.

パラメータ:
dbmeta - DB meta. (NotNull)
戻り値:
Behavior-type. (NotNull)

getComponent

protected <COMPONENT> COMPONENT getComponent(Class<COMPONENT> componentType)

initUncap

protected String initUncap(String str)

toClassTitle

protected String toClassTitle(Object obj)

newConcurrentHashMap

protected <KEY,VALUE> ConcurrentHashMap<KEY,VALUE> newConcurrentHashMap()

assertObjectNotNull

protected void assertObjectNotNull(String variableName,
                                   Object value)
Assert that the object is not null.

パラメータ:
variableName - Variable name. (NotNull)
value - Value. (NotNull)
例外:
IllegalArgumentException

assertStringNotNullAndNotTrimmedEmpty

protected void assertStringNotNullAndNotTrimmedEmpty(String variableName,
                                                     String value)
Assert that the entity is not null and not trimmed empty.

パラメータ:
variableName - Variable name. (NotNull)
value - Value. (NotNull)

setContainer

public void setContainer(org.seasar.framework.container.S2Container container)


Copyright © 2012. All Rights Reserved.