edu.uci.ics.jung.io.graphml
Class NodeMetadata

java.lang.Object
  extended by edu.uci.ics.jung.io.graphml.AbstractMetadata
      extended by 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
NodeMetadata()
           
 
Method Summary
 void addPort(PortMetadata port)
           
 String getDescription()
           
 String getId()
           
 Metadata.MetadataType getMetadataType()
          Gets the metadata type of this object.
 List<PortMetadata> getPorts()
           
 Object getVertex()
           
 void setDescription(String desc)
           
 void setId(String id)
           
 void setVertex(Object vertex)
           
 
Methods inherited from class edu.uci.ics.jung.io.graphml.AbstractMetadata
addData, getProperties, getProperty, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeMetadata

public NodeMetadata()
Method Detail

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.