Package edu.uci.ics.jung.io.graphml
Class EndpointMetadata
- java.lang.Object
-
- edu.uci.ics.jung.io.graphml.AbstractMetadata
-
- edu.uci.ics.jung.io.graphml.EndpointMetadata
-
- All Implemented Interfaces:
Metadata
public class EndpointMetadata extends AbstractMetadata
Metadata structure for the 'endpoint' GraphML element.- See Also:
- "http://graphml.graphdrawing.org/specification.html"
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
EndpointMetadata.EndpointType
-
Nested classes/interfaces inherited from interface edu.uci.ics.jung.io.graphml.Metadata
Metadata.MetadataType
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
description
private EndpointMetadata.EndpointType
endpointType
private java.lang.String
id
private java.lang.String
node
private java.lang.String
port
-
Constructor Summary
Constructors Constructor Description EndpointMetadata()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDescription()
EndpointMetadata.EndpointType
getEndpointType()
java.lang.String
getId()
Metadata.MetadataType
getMetadataType()
Gets the metadata type of this object.java.lang.String
getNode()
java.lang.String
getPort()
void
setDescription(java.lang.String description)
void
setEndpointType(EndpointMetadata.EndpointType endpointType)
void
setId(java.lang.String id)
void
setNode(java.lang.String node)
void
setPort(java.lang.String port)
-
Methods inherited from class edu.uci.ics.jung.io.graphml.AbstractMetadata
addData, getProperties, getProperty, setProperty
-
-
-
-
Field Detail
-
id
private java.lang.String id
-
port
private java.lang.String port
-
node
private java.lang.String node
-
description
private java.lang.String description
-
endpointType
private EndpointMetadata.EndpointType endpointType
-
-
Method Detail
-
getId
public java.lang.String getId()
-
setId
public void setId(java.lang.String id)
-
getPort
public java.lang.String getPort()
-
setPort
public void setPort(java.lang.String port)
-
getNode
public java.lang.String getNode()
-
setNode
public void setNode(java.lang.String node)
-
getEndpointType
public EndpointMetadata.EndpointType getEndpointType()
-
setEndpointType
public void setEndpointType(EndpointMetadata.EndpointType endpointType)
-
getDescription
public java.lang.String getDescription()
-
setDescription
public void setDescription(java.lang.String description)
-
getMetadataType
public Metadata.MetadataType getMetadataType()
Description copied from interface:Metadata
Gets the metadata type of this object.- Returns:
- the metadata type
-
-