public class OccurrenceEdge extends AbstractEdge
Modifier and Type | Field and Description |
---|---|
private double |
baseLength |
private Topic |
carrier |
private TopicMapModel |
model |
private Tuples.T2<java.lang.String,java.lang.String> |
nodeLabels |
private Tuples.T2<Node,Node> |
nodes |
private java.lang.String |
occurrence |
private Topic |
scope |
private Topic |
type |
defaultEdgeLength, defaultEdgeStiffness, defaultEdgeWidth
Constructor and Description |
---|
OccurrenceEdge(Topic carrier,
Topic type,
Topic scope,
java.lang.String occurrence,
TopicMapModel model) |
Modifier and Type | Method and Description |
---|---|
Topic |
getCarrier() |
java.lang.String |
getLabel() |
double |
getLength() |
Tuples.T2<java.lang.String,java.lang.String> |
getNodeLabels() |
Tuples.T2<Node,Node> |
getNodes() |
Topic |
getScope() |
Topic |
getType() |
void |
setBaseLength(double l) |
getEdgeWidth, getStiffness
private TopicMapModel model
private Tuples.T2<java.lang.String,java.lang.String> nodeLabels
private Topic carrier
private Topic type
private Topic scope
private java.lang.String occurrence
private double baseLength
public OccurrenceEdge(Topic carrier, Topic type, Topic scope, java.lang.String occurrence, TopicMapModel model)
public Topic getType()
public Topic getScope()
public Topic getCarrier()
public java.lang.String getLabel()
getLabel
in interface Edge
getLabel
in class AbstractEdge
public Tuples.T2<java.lang.String,java.lang.String> getNodeLabels()
getNodeLabels
in interface Edge
getNodeLabels
in class AbstractEdge
public void setBaseLength(double l)
public double getLength()
getLength
in interface Edge
getLength
in class AbstractEdge
Copyright 2004-2015 Wandora Team