Package edu.uci.ics.jung.io.graphml
Class PortMetadata
- java.lang.Object
-
- edu.uci.ics.jung.io.graphml.AbstractMetadata
-
- edu.uci.ics.jung.io.graphml.PortMetadata
-
- All Implemented Interfaces:
Metadata
public class PortMetadata extends AbstractMetadata
Metadata structure for the 'port' GraphML element.- See Also:
- "http://graphml.graphdrawing.org/specification.html"
-
-
Nested Class Summary
-
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 java.lang.String
name
-
Constructor Summary
Constructors Constructor Description PortMetadata()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDescription()
Metadata.MetadataType
getMetadataType()
Gets the metadata type of this object.java.lang.String
getName()
void
setDescription(java.lang.String desc)
void
setName(java.lang.String name)
-
Methods inherited from class edu.uci.ics.jung.io.graphml.AbstractMetadata
addData, getProperties, getProperty, setProperty
-
-
-
-
Method Detail
-
getName
public java.lang.String getName()
-
setName
public void setName(java.lang.String name)
-
getDescription
public java.lang.String getDescription()
-
setDescription
public void setDescription(java.lang.String desc)
-
getMetadataType
public Metadata.MetadataType getMetadataType()
Description copied from interface:Metadata
Gets the metadata type of this object.- Returns:
- the metadata type
-
-