public class ImplementedBehaviorSelector extends Object implements org.seasar.dbflute.BehaviorSelector
修飾子とタイプ | フィールドと説明 |
---|---|
protected Map<Class<? extends org.seasar.dbflute.bhv.BehaviorReadable>,org.seasar.dbflute.bhv.BehaviorReadable> |
_behaviorCache
The cache of behavior.
|
protected 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.dbflute.bhv.BehaviorReadable |
byName(String tableFlexibleName)
Select behavior (as readable type) by name.
|
protected Class<org.seasar.dbflute.bhv.BehaviorReadable> |
getBehaviorType(org.seasar.dbflute.dbmeta.DBMeta dbmeta)
Get behavior-type by DB meta.
|
protected <COMPONENT> |
getComponent(Class<COMPONENT> componentType) |
void |
initializeConditionBeanMetaData()
Initialize condition-bean meta data.
|
protected String |
initUncap(String str) |
protected <KEY,VALUE> |
newHashMap() |
<BEHAVIOR extends org.seasar.dbflute.bhv.BehaviorReadable> |
select(Class<BEHAVIOR> behaviorType)
Select behavior instance by the type.
|
void |
setContainer(S2Container container) |
protected String |
toClassTitle(Object obj) |
protected final Map<Class<? extends org.seasar.dbflute.bhv.BehaviorReadable>,org.seasar.dbflute.bhv.BehaviorReadable> _behaviorCache
protected S2Container _container
public void initializeConditionBeanMetaData()
initializeConditionBeanMetaData
インタフェース内 org.seasar.dbflute.BehaviorSelector
public <BEHAVIOR extends org.seasar.dbflute.bhv.BehaviorReadable> BEHAVIOR select(Class<BEHAVIOR> behaviorType)
select
インタフェース内 org.seasar.dbflute.BehaviorSelector
BEHAVIOR
- The type of behavior.behaviorType
- Behavior type. (NotNull)public org.seasar.dbflute.bhv.BehaviorReadable byName(String tableFlexibleName)
byName
インタフェース内 org.seasar.dbflute.BehaviorSelector
tableFlexibleName
- The flexible-name of table. (NotNull)org.seasar.dbflute.exception.DBMetaNotFoundException
- When the table is not found.org.seasar.dbflute.exception.IllegalBehaviorStateException
- When the behavior class is suppressed.protected Class<org.seasar.dbflute.bhv.BehaviorReadable> getBehaviorType(org.seasar.dbflute.dbmeta.DBMeta dbmeta)
dbmeta
- The instance of DB meta for the behavior. (NotNull)org.seasar.dbflute.exception.IllegalBehaviorStateException
- When the behavior class is suppressed.protected <COMPONENT> COMPONENT getComponent(Class<COMPONENT> componentType)
protected <KEY,VALUE> HashMap<KEY,VALUE> newHashMap()
protected void assertObjectNotNull(String variableName, Object value)
variableName
- Variable name. (NotNull)value
- Value. (NotNull)IllegalArgumentException
protected void assertStringNotNullAndNotTrimmedEmpty(String variableName, String value)
variableName
- Variable name. (NotNull)value
- Value. (NotNull)public void setContainer(S2Container container)
Copyright © 2009–2014 The Seasar Foundation. All rights reserved.