public interface TnRelationPropertyType extends TnPropertyType
| 修飾子とタイプ | メソッドと説明 |
|---|---|
int |
getKeySize()
Get the size of key, which means how many relation keys exist.
|
TnBeanMetaData |
getMyBeanMetaData()
Get the my bean meta data, which is for base point of the relation (local entity).
|
String |
getMyKey(int index)
Get the my key, which is local column DB name as relation key, by the key index.
|
int |
getRelationNo()
Get the relation No, which indicates number in the base table's relations.
|
String |
getRelationNoSuffixPart()
Get the suffix part of relation No for relation path that indicates unique location.
|
TnPropertyType |
getSimpleUniquePropertyType()
Get the property type of simple unique key.
|
List<TnPropertyType> |
getUniquePropertyTypeList()
Get the list of property type of unique key (basically primary key).
|
TnBeanMetaData |
getYourBeanMetaData()
Get the your bean meta data, which is for the relation (foreign entity).
|
String |
getYourKey(int index)
Get the your key, which is foreign column DB name as relation key, by the key index.
|
boolean |
hasCompoundUniqueKey()
Does it have compound unique key?
|
boolean |
hasSimpleUniqueKey()
Does it have simple unique key?
|
boolean |
isYourKey(String columnName)
Is the column in foreign columns?
|
getPropertyDesc, isPersistent, isPrimaryKey, setPersistent, setPrimaryKeygetColumnDbName, getColumnSqlName, getEntityColumnInfo, getPropertyAccessor, getPropertyName, getValueTypeint getRelationNo()
String getRelationNoSuffixPart()
int getKeySize()
String getMyKey(int index)
index - The index to find the corresponding relation key.String getYourKey(int index)
index - The index to find the corresponding relation key.boolean isYourKey(String columnName)
columnName - The DB name of column. (NotNull)TnBeanMetaData getMyBeanMetaData()
TnBeanMetaData getYourBeanMetaData()
List<TnPropertyType> getUniquePropertyTypeList()
boolean hasSimpleUniqueKey()
boolean hasCompoundUniqueKey()
TnPropertyType getSimpleUniquePropertyType()
Copyright © 2014–2015 The DBFlute Project. All rights reserved.