com.datastax.insight.core.dag.Edge Maven / Gradle / Ivy
package com.datastax.insight.core.dag;
import org.codehaus.jackson.map.annotate.JsonSerialize;
import java.util.ArrayList;
import java.util.List;
/**
* Anders Hong 6/24/2015.
*/
@JsonSerialize(include= JsonSerialize.Inclusion.NON_NULL)
public class Edge extends Shape{
private Long start;
private Long end;
private String type;
private List parameters=new ArrayList<>();
private Long source;
private Long target;
public Long getStart() {
return start;
}
public void setStart(Long start) {
this.start = start;
}
public Long getEnd() {
return end;
}
public void setEnd(long end) {
this.end = end;
}
public String getShape() {
return type;
}
public void setShape(String shape) {
this.type = shape;
}
public List getParameters() {
return parameters;
}
public void setParameters(List parameters) {
this.parameters = parameters;
}
public Long getSource() {
return source;
}
public void setSource(Long source) {
this.source = source;
}
public Long getTarget() {
return target;
}
public void setTarget(Long target) {
this.target = target;
}
}