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.
See Also:
  • "http://graphml.graphdrawing.org/specification.html"
  • Field Details

  • Constructor Details

    • NodeMetadata

      public NodeMetadata()
  • Method Details

    • 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