|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectthinkmap.datasource.relational.ColumnModel<T>
thinkmap.datasource.relational.EdgeColumnModel<T>
public class EdgeColumnModel<T>
EdgeColumnModel adds edge-specific information to ColumnModel.
| Field Summary |
|---|
| Fields inherited from class thinkmap.datasource.relational.ColumnModel |
|---|
entityModel |
| Constructor Summary | |
|---|---|
EdgeColumnModel(EntityModel model)
|
|
| Method Summary | |
|---|---|
String |
getBindColumn()
Get the node column that the value in this edge column must bind to. |
String |
getBindTo()
Get the foreign key table mapping for this column. |
String |
getBoundModelName()
|
String |
getColumn()
Deprecated. Replaced by getBindColumn |
boolean |
getIsFrom()
Determine if this EdgeColumnModel represents a "from" link. |
void |
setBindColumn(String bindColumn)
Set the node column that the value in this edge column must bind to. |
void |
setBindTo(String s)
Set the foreign key table mapping for this column. |
void |
setColumn(String s)
Deprecated. Replaced by setBindColumn |
| Methods inherited from class thinkmap.datasource.relational.ColumnModel |
|---|
convert, getAlias, getEntityModel, getName, getType, isKey, isProperty, setAlias, setKey, setName, setProperty, setType |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EdgeColumnModel(EntityModel model)
| Method Detail |
|---|
public String getBindTo()
public void setBindTo(String s)
s - foreign key table mapping (foreign key)public String getColumn()
public void setColumn(String s)
s - foreign key column mapping (foreign key)public String getBindColumn()
public void setBindColumn(String bindColumn)
s - the node column that the value in this edge column must bind topublic boolean getIsFrom()
public String getBoundModelName()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||