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"
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NodeMetadata
public NodeMetadata()
getId
public String getId()
setId
public void setId(String id)
getDescription
public String getDescription()
setDescription
public void setDescription(String desc)
addPort
public void addPort(PortMetadata port)
getPorts
public List<PortMetadata> getPorts()
getVertex
public Object getVertex()
setVertex
public void setVertex(Object vertex)
getMetadataType
public Metadata.MetadataType getMetadataType()
- Description copied from interface:
Metadata
- Gets the metadata type of this object.
- Returns:
- the metadata type
Copyright © 2009. All Rights Reserved.