public class TnRelationRowCreationResource extends Object
| タイプ | プロパティと説明 |
|---|---|
protected boolean |
hasNextRelation |
| 修飾子とタイプ | フィールドと説明 |
|---|---|
protected String |
_baseSuffix
The suffix of base object.
|
protected Stack<String> |
_baseSuffixBackup
The backup of base suffix.
|
protected boolean |
_createDeadLink
Does it create dead link?
|
protected TnPropertyMapping |
_currentPropertyMapping
Current property mapping.
|
protected int |
_currentRelationNestLevel
The current relation nest level.
|
protected int |
_limitRelationNestLevel
The limit of relation nest level.
|
protected TnRelationKey |
_relationKey
The relation key, which has key values, of the relation.
|
protected Stack<TnRelationKey> |
_relationKeyBackup
The backup of relation key.
|
protected String |
_relationNoSuffix
The suffix of relation no, e.g. _0, _1_3.
|
protected TnRelationPropertyType |
_relationPropertyType
Relation property type.
|
protected Stack<TnRelationPropertyType> |
_relationPropertyTypeBackup
The backup of relation property type.
|
protected Stack<String> |
_relationSuffixBackup
The backup of base suffix.
|
protected Map<String,Map<String,TnPropertyMapping>> |
_relPropCache
The map of relation property cache.
|
protected TnRelationRowCache |
_relRowCache
The cache of relation row.
|
protected TnRelationSelector |
_relSelector
The selector of relation.
|
protected ResultSet |
_resultSet
Result set.
|
protected Object |
_row
Relation row.
|
protected Map<String,String> |
_selectColumnMap
The name map of select column (exists in select clause).
|
protected Map<String,Map<String,Integer>> |
_selectIndexMap
The map of select index. map:{ localAlias or relationNoSuffix = map:{ selectColumnKeyName = selectIndex } } (NullAllowed)
|
protected int |
_validValueCount
The count of valid value.
|
| コンストラクタと説明 |
|---|
TnRelationRowCreationResource() |
protected ResultSet _resultSet
protected Object _row
protected TnRelationPropertyType _relationPropertyType
protected Map<String,String> _selectColumnMap
protected Map<String,Map<String,Integer>> _selectIndexMap
protected TnRelationKey _relationKey
protected Map<String,Map<String,TnPropertyMapping>> _relPropCache
protected TnRelationRowCache _relRowCache
protected TnRelationSelector _relSelector
protected String _baseSuffix
protected String _relationNoSuffix
protected int _limitRelationNestLevel
protected int _currentRelationNestLevel
protected TnPropertyMapping _currentPropertyMapping
protected int _validValueCount
protected boolean _createDeadLink
protected Stack<TnRelationPropertyType> _relationPropertyTypeBackup
TnRelationPropertyType.protected Stack<TnRelationKey> _relationKeyBackup
TnRelationKey.protected Stack<String> _baseSuffixBackup
public boolean hasRowInstance()
public void clearRowInstance()
public TnBeanMetaData getRelationBeanMetaData()
protected boolean hasNextRelationProperty()
protected void backupRelationPropertyType()
protected void restoreRelationPropertyType()
protected Stack<TnRelationPropertyType> getRelationPropertyTypeBackup()
public boolean containsSelectColumn(String columnKeyName)
columnKeyName - The key name of column. e.g. FOO, FOO_0_2 (NotNull)public boolean containsRelationKeyColumn(String columnName)
protected void backupRelationKey()
protected void restoreRelationKey()
protected Stack<TnRelationKey> getRelationKeyBackup()
public void initializePropertyCacheElement()
public boolean hasPropertyCacheElement()
public Map<String,TnPropertyMapping> extractPropertyCacheElement()
public void savePropertyCacheElement()
public TnRelationKey prepareRelationKey() throws SQLException
SQLException - When it fails to handle the SQL.protected TnRelationKey doCreateRelationKey() throws SQLException
SQLExceptionpublic String buildRelationColumnName()
protected void addRelationNoSuffix(String additionalRelationNoSuffix)
protected void backupBaseSuffix()
protected void restoreBaseSuffix()
protected void backupRelationNoSuffix()
protected void restoreRelationNoSuffix()
protected boolean isNextRelationUnderLimit()
protected void incrementCurrentRelationNestLevel()
protected void decrementCurrentRelationNestLevel()
public void incrementValidValueCount()
public void clearValidValueCount()
public boolean hasValidValueCount()
public void prepareNextLevelMapping()
public void closeNextLevelMapping()
public void prepareNextRelationProperty(TnRelationPropertyType nextRpt)
public void closeNextRelationProperty()
public boolean isStopNextRelationMapping()
public boolean isStopCurrentRelationMapping()
protected boolean isNonLimitMapping()
protected boolean isNonSelectedRelation()
protected boolean isNonSelectedNextConnectingRelation()
public boolean canUseRelationCache()
public boolean isNonSpecifiedColumnAccessAllowed()
public boolean isUsingSpecifyColumnInRelation()
public ResultSet getResultSet()
public void setResultSet(ResultSet resultSet)
public Object getRow()
public void setRow(Object row)
public TnRelationPropertyType getRelationPropertyType()
public void setRelationPropertyType(TnRelationPropertyType rpt)
public TnRelationKey getRelationKey()
public void setRelationKey(TnRelationKey relationKey)
public Map<String,Map<String,TnPropertyMapping>> getRelPropCache()
public void setRelPropCache(Map<String,Map<String,TnPropertyMapping>> relPropCache)
public TnRelationRowCache getRelRowCache()
public void setRelRowCache(TnRelationRowCache relRowCache)
public String getBaseSuffix()
public void setBaseSuffix(String baseSuffix)
public String getRelationNoSuffix()
public void setRelationNoSuffix(String relationNoSuffix)
public int getLimitRelationNestLevel()
public void setLimitRelationNestLevel(int limitRelationNestLevel)
public int getCurrentRelationNestLevel()
public void setCurrentRelationNestLevel(int currentRelationNestLevel)
public TnPropertyMapping getCurrentPropertyMapping()
public void setCurrentPropertyType(TnPropertyMapping propertyType)
public boolean isCreateDeadLink()
public void setCreateDeadLink(boolean createDeadLink)
public TnRelationSelector getRelationSelector()
public void setRelationSelector(TnRelationSelector relSelector)
Copyright © 2014–2015 The DBFlute Project. All rights reserved.