edu.uci.ics.jung.io.graphml.EndpointMetadata Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jung-io Show documentation
Show all versions of jung-io Show documentation
IO support classes for JUNG
The newest version!
/*
* Copyright (c) 2008, The JUNG Authors
*
* All rights reserved.
*
* This software is open-source under the BSD license; see either
* "license.txt" or
* https://github.com/jrtom/jung/blob/master/LICENSE for a description.
*/
package edu.uci.ics.jung.io.graphml;
/**
* Metadata structure for the 'endpoint' GraphML element.
*
* @author Nathan Mittler - [email protected]
*
* @see "http://graphml.graphdrawing.org/specification.html"
*/
public class EndpointMetadata extends AbstractMetadata {
public enum EndpointType {
IN,
OUT,
UNDIR
}
private String id;
private String port;
private String node;
private String description;
private EndpointType endpointType = EndpointType.UNDIR;
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getPort() {
return port;
}
public void setPort(String port) {
this.port = port;
}
public String getNode() {
return node;
}
public void setNode(String node) {
this.node = node;
}
public EndpointType getEndpointType() {
return endpointType;
}
public void setEndpointType(EndpointType endpointType) {
this.endpointType = endpointType;
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public MetadataType getMetadataType() {
return MetadataType.ENDPOINT;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy