|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectthinkmap.datasource.relational.EntityModel
thinkmap.datasource.relational.EdgeEntityModel
public class EdgeEntityModel
Adds edge-specific attributes to EntityModel.
| Field Summary |
|---|
| Fields inherited from class thinkmap.datasource.relational.EntityModel |
|---|
cacheFlag, models |
| Constructor Summary | |
|---|---|
EdgeEntityModel()
|
|
| Method Summary | ||
|---|---|---|
|
createColumn()
|
|
String |
getFrom()
Get the NodeEntityModel representing this edge's source. |
|
String |
getTo()
Get the NodeEntityModel representing this edge's sink. |
|
boolean |
isBidirectional()
Determine if this edge is bidirectional |
|
void |
setBidirectional(boolean bidirectional)
Set whether or not this edge is bidirectional |
|
void |
setFrom(String model)
Set the NodeEntityModel representing this edge's source. |
|
void |
setTo(String model)
Set the NodeEntityModel representing this edge's sink. |
|
| Methods inherited from class thinkmap.datasource.relational.EntityModel |
|---|
addColumn, getColumnModel, getColumnModels, getColumns, getMaxResults, getName, getParent, getTable, indexOf, outputMetadata, parseEntityId, setMaxResults, setName, setParent, setTable |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EdgeEntityModel()
| Method Detail |
|---|
public String getFrom()
public String getTo()
public void setFrom(String model)
model - NodeEntityModel for sourcepublic void setTo(String model)
model - NodeEntityModel for sinkpublic void setBidirectional(boolean bidirectional)
bidirectional - true if the edge should be bidirectionalpublic boolean isBidirectional()
public <T> ColumnModel<T> createColumn()
createColumn in class EntityModel
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||