1
2
3
4
5
6
7
8
9
10
11 package edu.uci.ics.jung.io.graphml;
12
13
14
15
16
17
18
19
20 public class EdgeMetadata extends AbstractMetadata {
21
22 private String id;
23 private Boolean directed;
24 private String source;
25 private String target;
26 private String sourcePort;
27 private String targetPort;
28 private String description;
29 private Object edge;
30
31 public String getId() {
32 return id;
33 }
34
35
36 public void setId(String id) {
37 this.id = id;
38 }
39
40
41 public Boolean isDirected() {
42 return directed;
43 }
44
45
46 public void setDirected(Boolean directed) {
47 this.directed = directed;
48 }
49
50
51 public String getSource() {
52 return source;
53 }
54
55
56 public void setSource(String source) {
57 this.source = source;
58 }
59
60
61 public String getTarget() {
62 return target;
63 }
64
65
66 public void setTarget(String target) {
67 this.target = target;
68 }
69
70
71 public String getSourcePort() {
72 return sourcePort;
73 }
74
75
76 public void setSourcePort(String sourcePort) {
77 this.sourcePort = sourcePort;
78 }
79
80
81 public String getTargetPort() {
82 return targetPort;
83 }
84
85
86 public void setTargetPort(String targetPort) {
87 this.targetPort = targetPort;
88 }
89
90
91 public String getDescription() {
92 return description;
93 }
94
95
96 public void setDescription(String description) {
97 this.description = description;
98 }
99
100 public Object getEdge() {
101 return edge;
102 }
103
104
105 public void setEdge(Object edge) {
106 this.edge = edge;
107 }
108
109
110 public MetadataType getMetadataType() {
111 return MetadataType.EDGE;
112 }
113
114 }