001 package org.kuali.maven.plugins.graph.pojo;
002
003 public class Edge {
004
005 int id;
006 boolean hidden;
007 GraphNode parent;
008 GraphNode child;
009 String label = "";
010 String style = "solid";
011 String color = "black";
012 String fontcolor = "black";
013 String weight = "1.0";
014
015 public Edge() {
016 this(null, null);
017 }
018
019 public Edge(GraphNode parent, GraphNode child) {
020 super();
021 this.parent = parent;
022 this.child = child;
023 }
024
025 public GraphNode getParent() {
026 return parent;
027 }
028
029 public void setParent(GraphNode parent) {
030 this.parent = parent;
031 }
032
033 public GraphNode getChild() {
034 return child;
035 }
036
037 public void setChild(GraphNode child) {
038 this.child = child;
039 }
040
041 public String getLabel() {
042 return label;
043 }
044
045 public void setLabel(String label) {
046 this.label = label;
047 }
048
049 public String getStyle() {
050 return style;
051 }
052
053 public void setStyle(String style) {
054 this.style = style;
055 }
056
057 public String getColor() {
058 return color;
059 }
060
061 public void setColor(String color) {
062 this.color = color;
063 }
064
065 public String getFontcolor() {
066 return fontcolor;
067 }
068
069 public void setFontcolor(String fontcolor) {
070 this.fontcolor = fontcolor;
071 }
072
073 public String getWeight() {
074 return weight;
075 }
076
077 public void setWeight(String weight) {
078 this.weight = weight;
079 }
080
081 public int getId() {
082 return id;
083 }
084
085 public void setId(int id) {
086 this.id = id;
087 }
088
089 public boolean isHidden() {
090 return hidden;
091 }
092
093 public void setHidden(boolean hidden) {
094 this.hidden = hidden;
095 }
096
097 }