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 EndpointMetadata extends AbstractMetadata {
21
22 public enum EndpointType {
23 IN,
24 OUT,
25 UNDIR
26 }
27
28 private String id;
29 private String port;
30 private String node;
31 private String description;
32 private EndpointType endpointType = EndpointType.UNDIR;
33
34 public String getId() {
35 return id;
36 }
37 public void setId(String id) {
38 this.id = id;
39 }
40 public String getPort() {
41 return port;
42 }
43 public void setPort(String port) {
44 this.port = port;
45 }
46 public String getNode() {
47 return node;
48 }
49 public void setNode(String node) {
50 this.node = node;
51 }
52 public EndpointType getEndpointType() {
53 return endpointType;
54 }
55 public void setEndpointType(EndpointType endpointType) {
56 this.endpointType = endpointType;
57 }
58 public String getDescription() {
59 return description;
60 }
61 public void setDescription(String description) {
62 this.description = description;
63 }
64 public MetadataType getMetadataType() {
65 return MetadataType.ENDPOINT;
66 }
67
68 }