public abstract class RelationFCMapper extends AbstractFieldColumnMapper
构造器和说明 |
---|
RelationFCMapper(java.lang.String fieldName,
java.lang.Class relatedClass) |
限定符和类型 | 方法和说明 |
---|---|
Column |
createTableColumn()
创建列
|
java.lang.Class |
getRelatedClass() |
boolean |
isDirectRelated()
是否是直接关联的
|
boolean |
isForeignKey()
是否是外键
|
boolean |
isPrimaryKey()
是否是主键
|
boolean |
isRelationSet()
是不是一对多,或者多对多时,值是Set的情况
|
void |
setRelatedClass(java.lang.Class relatedClass) |
allowNull, field2Value, getColumnName, getColumnSize, getFieldName, getForeignKeyInfo, getType, setAllowNull, setColumnName, setColumnSize, setFieldName, setType, value2Field
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getIndirectRelatedClass
public RelationFCMapper(java.lang.String fieldName, java.lang.Class relatedClass)
public java.lang.Class getRelatedClass()
public void setRelatedClass(java.lang.Class relatedClass)
public Column createTableColumn()
AbstractFieldColumnMapper
createTableColumn
在接口中 FieldColumnMapper
createTableColumn
在类中 AbstractFieldColumnMapper
public boolean isForeignKey()
FieldColumnMapper
public boolean isPrimaryKey()
FieldColumnMapper
public boolean isRelationSet()
FieldColumnMapper
public boolean isDirectRelated()