Package edu.uci.ics.jung.io.graphml
Class NodeMetadata
- java.lang.Object
-
- edu.uci.ics.jung.io.graphml.AbstractMetadata
-
- edu.uci.ics.jung.io.graphml.NodeMetadata
-
- All Implemented Interfaces:
Metadata
public class NodeMetadata extends AbstractMetadata
Metadata structure for the 'node' GraphML element.- Author:
- Nathan Mittler - nathan.mittler@gmail.com
- 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
-
-
Constructor Summary
Constructors Constructor Description NodeMetadata()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addPort(PortMetadata port)
java.lang.String
getDescription()
java.lang.String
getId()
Metadata.MetadataType
getMetadataType()
Gets the metadata type of this object.java.util.List<PortMetadata>
getPorts()
java.lang.Object
getVertex()
void
setDescription(java.lang.String desc)
void
setId(java.lang.String id)
void
setVertex(java.lang.Object vertex)
-
Methods inherited from class edu.uci.ics.jung.io.graphml.AbstractMetadata
addData, getProperties, getProperty, setProperty
-
-
-
-
Method Detail
-
getId
public java.lang.String getId()
-
setId
public void setId(java.lang.String id)
-
getDescription
public java.lang.String getDescription()
-
setDescription
public void setDescription(java.lang.String desc)
-
addPort
public void addPort(PortMetadata port)
-
getPorts
public java.util.List<PortMetadata> getPorts()
-
getVertex
public java.lang.Object getVertex()
-
setVertex
public void setVertex(java.lang.Object vertex)
-
getMetadataType
public Metadata.MetadataType getMetadataType()
Description copied from interface:Metadata
Gets the metadata type of this object.- Returns:
- the metadata type
-
-