public class Relation extends Object
| 构造器和说明 |
|---|
Relation() |
Relation(IModel model,
Class<?> clazz,
RelationType type,
String localKey,
String foreignKey) |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
foreignKey() |
Class<?> |
getClazz() |
RelationType |
getType() |
String |
localKey() |
void |
setClazz(Class<?> clazz) |
void |
setForeignKey(String foreignKey) |
void |
setLocalKey(String localKey) |
void |
setType(RelationType type) |
String |
toString() |
public Relation()
public Relation(IModel model, Class<?> clazz, RelationType type, String localKey, String foreignKey)
public RelationType getType()
public void setType(RelationType type)
public String localKey()
public void setLocalKey(String localKey)
public String foreignKey()
public void setForeignKey(String foreignKey)
public Class<?> getClazz()
public void setClazz(Class<?> clazz)
Copyright © 2024. All rights reserved.