|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectorg.seasar.robot.db.allcommon.DBMetaInstanceHandler
public class DBMetaInstanceHandler
The handler of the instance of DB meta.
フィールドの概要 | |
---|---|
protected static org.seasar.robot.dbflute.dbmeta.DBMetaProvider |
_provider
|
protected static Map<String,String> |
_tableDbNameClassNameMap
The map of table DB name and class name. |
protected static Map<String,String> |
_tableDbNameFlexibleMap
The flexible map of table DB name. |
protected static Map<String,org.seasar.robot.dbflute.dbmeta.DBMeta> |
_tableDbNameInstanceMap
Table DB-name instance map. |
コンストラクタの概要 | |
---|---|
DBMetaInstanceHandler()
|
メソッドの概要 | ||
---|---|---|
protected static void |
assertObjectNotNull(String variableName,
Object value)
|
|
protected static void |
assertStringNotNullAndNotTrimmedEmpty(String variableName,
String value)
|
|
protected static org.seasar.robot.dbflute.dbmeta.DBMeta |
byTableDbName(String tableDbName)
|
|
protected static org.seasar.robot.dbflute.dbmeta.DBMeta |
byTableFlexibleName(String tableFlexibleName)
|
|
static org.seasar.robot.dbflute.dbmeta.DBMeta |
findDBMeta(String tableFlexibleName)
Find DB meta by table flexible name. |
|
protected static org.seasar.robot.dbflute.dbmeta.DBMeta |
getCachedDBMeta(String tableDbName)
|
|
protected static org.seasar.robot.dbflute.dbmeta.DBMeta |
getDBMeta(String className)
|
|
static org.seasar.robot.dbflute.dbmeta.DBMetaProvider |
getProvider()
|
|
static Map<String,org.seasar.robot.dbflute.dbmeta.DBMeta> |
getUnmodifiableDBMetaMap()
Get the unmodifiable map of DB meta. |
|
protected static void |
initializeDBMetaMap()
Initialize the map of DB meta. |
|
protected static boolean |
isInitialized()
|
|
protected static
|
newConcurrentHashMap()
|
|
protected static
|
newHashMap()
|
|
org.seasar.robot.dbflute.dbmeta.DBMeta |
provideDBMeta(String tableFlexibleName)
|
|
org.seasar.robot.dbflute.dbmeta.DBMeta |
provideDBMetaChecked(String tableFlexibleName)
|
|
protected static String |
removeQuoteIfExists(String name)
|
|
protected static String |
removeSchemaIfExists(String name)
|
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
---|
protected static final Map<String,org.seasar.robot.dbflute.dbmeta.DBMeta> _tableDbNameInstanceMap
protected static final Map<String,String> _tableDbNameClassNameMap
protected static final Map<String,String> _tableDbNameFlexibleMap
protected static final org.seasar.robot.dbflute.dbmeta.DBMetaProvider _provider
コンストラクタの詳細 |
---|
public DBMetaInstanceHandler()
メソッドの詳細 |
---|
public static Map<String,org.seasar.robot.dbflute.dbmeta.DBMeta> getUnmodifiableDBMetaMap()
protected static void initializeDBMetaMap()
protected static boolean isInitialized()
public static org.seasar.robot.dbflute.dbmeta.DBMetaProvider getProvider()
public org.seasar.robot.dbflute.dbmeta.DBMeta provideDBMeta(String tableFlexibleName)
org.seasar.robot.dbflute.dbmeta.DBMetaProvider
内の provideDBMeta
tableFlexibleName
- The flexible name of table. (NotNull)
public org.seasar.robot.dbflute.dbmeta.DBMeta provideDBMetaChecked(String tableFlexibleName)
org.seasar.robot.dbflute.dbmeta.DBMetaProvider
内の provideDBMetaChecked
tableFlexibleName
- The flexible name of table. (NotNull)
org.seasar.robot.dbflute.exception.DBMetaNotFoundException
- When the DB meta is not found.public static org.seasar.robot.dbflute.dbmeta.DBMeta findDBMeta(String tableFlexibleName)
tableFlexibleName
- The flexible name of table. (NotNull)
org.seasar.robot.dbflute.exception.DBMetaNotFoundException
- When the DB meta is not found.protected static org.seasar.robot.dbflute.dbmeta.DBMeta byTableFlexibleName(String tableFlexibleName)
tableFlexibleName
- The flexible name of table. (NotNull)
protected static String removeSchemaIfExists(String name)
protected static String removeQuoteIfExists(String name)
protected static org.seasar.robot.dbflute.dbmeta.DBMeta byTableDbName(String tableDbName)
tableDbName
- The DB name of table. (NotNull)
protected static org.seasar.robot.dbflute.dbmeta.DBMeta getCachedDBMeta(String tableDbName)
protected static org.seasar.robot.dbflute.dbmeta.DBMeta getDBMeta(String className)
protected static <KEY,VALUE> HashMap<KEY,VALUE> newHashMap()
protected static <KEY,VALUE> ConcurrentHashMap<KEY,VALUE> newConcurrentHashMap()
protected static void assertObjectNotNull(String variableName, Object value)
protected static void assertStringNotNullAndNotTrimmedEmpty(String variableName, String value)
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |