Class EdgeType

java.lang.Object
org.graphdrawing.graphml.EdgeType

public class EdgeType
extends java.lang.Object
Complex type for the element.

Java class for edge.type complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="edge.type">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{http://graphml.graphdrawing.org/xmlns}desc" minOccurs="0"/>
         <element ref="{http://graphml.graphdrawing.org/xmlns}data" maxOccurs="unbounded" minOccurs="0"/>
         <element ref="{http://graphml.graphdrawing.org/xmlns}graph" minOccurs="0"/>
       </sequence>
       <attGroup ref="{http://graphml.graphdrawing.org/xmlns}edge.extra.attrib"/>
       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
       <attribute name="directed" type="{http://www.w3.org/2001/XMLSchema}boolean" />
       <attribute name="source" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
       <attribute name="target" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
       <attribute name="sourceport" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
       <attribute name="targetport" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Summary

    Fields 
    Modifier and Type Field Description
    protected java.util.List<DataType> data  
    protected java.lang.String desc  
    protected java.lang.Boolean directed  
    protected GraphType graph  
    protected java.lang.String id  
    protected java.lang.String source  
    protected java.lang.String sourceport  
    protected java.lang.String target  
    protected java.lang.String targetport  
  • Constructor Summary

    Constructors 
    Constructor Description
    EdgeType()  
  • Method Summary

    Modifier and Type Method Description
    java.util.List<DataType> getData()
    Gets the value of the data property.
    java.lang.String getDesc()
    Gets the value of the desc property.
    GraphType getGraph()
    Gets the value of the graph property.
    java.lang.String getId()
    Gets the value of the id property.
    java.lang.String getSource()
    Gets the value of the source property.
    java.lang.String getSourceport()
    Gets the value of the sourceport property.
    java.lang.String getTarget()
    Gets the value of the target property.
    java.lang.String getTargetport()
    Gets the value of the targetport property.
    java.lang.Boolean isDirected()
    Gets the value of the directed property.
    void setDesc​(java.lang.String value)
    Sets the value of the desc property.
    void setDirected​(java.lang.Boolean value)
    Sets the value of the directed property.
    void setGraph​(GraphType value)
    Sets the value of the graph property.
    void setId​(java.lang.String value)
    Sets the value of the id property.
    void setSource​(java.lang.String value)
    Sets the value of the source property.
    void setSourceport​(java.lang.String value)
    Sets the value of the sourceport property.
    void setTarget​(java.lang.String value)
    Sets the value of the target property.
    void setTargetport​(java.lang.String value)
    Sets the value of the targetport property.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • desc

      protected java.lang.String desc
    • data

      protected java.util.List<DataType> data
    • graph

      protected GraphType graph
    • id

      protected java.lang.String id
    • directed

      protected java.lang.Boolean directed
    • source

      protected java.lang.String source
    • target

      protected java.lang.String target
    • sourceport

      protected java.lang.String sourceport
    • targetport

      protected java.lang.String targetport
  • Constructor Details

  • Method Details

    • getDesc

      public java.lang.String getDesc()
      Gets the value of the desc property.
      Returns:
      possible object is String
    • setDesc

      public void setDesc​(java.lang.String value)
      Sets the value of the desc property.
      Parameters:
      value - allowed object is String
    • getData

      public java.util.List<DataType> getData()
      Gets the value of the data property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the data property.

      For example, to add a new item, do as follows:

       getData().add(newItem);
       

      Objects of the following type(s) are allowed in the list DataType

    • getGraph

      public GraphType getGraph()
      Gets the value of the graph property.
      Returns:
      possible object is GraphType
    • setGraph

      public void setGraph​(GraphType value)
      Sets the value of the graph property.
      Parameters:
      value - allowed object is GraphType
    • getId

      public java.lang.String getId()
      Gets the value of the id property.
      Returns:
      possible object is String
    • setId

      public void setId​(java.lang.String value)
      Sets the value of the id property.
      Parameters:
      value - allowed object is String
    • isDirected

      public java.lang.Boolean isDirected()
      Gets the value of the directed property.
      Returns:
      possible object is Boolean
    • setDirected

      public void setDirected​(java.lang.Boolean value)
      Sets the value of the directed property.
      Parameters:
      value - allowed object is Boolean
    • getSource

      public java.lang.String getSource()
      Gets the value of the source property.
      Returns:
      possible object is String
    • setSource

      public void setSource​(java.lang.String value)
      Sets the value of the source property.
      Parameters:
      value - allowed object is String
    • getTarget

      public java.lang.String getTarget()
      Gets the value of the target property.
      Returns:
      possible object is String
    • setTarget

      public void setTarget​(java.lang.String value)
      Sets the value of the target property.
      Parameters:
      value - allowed object is String
    • getSourceport

      public java.lang.String getSourceport()
      Gets the value of the sourceport property.
      Returns:
      possible object is String
    • setSourceport

      public void setSourceport​(java.lang.String value)
      Sets the value of the sourceport property.
      Parameters:
      value - allowed object is String
    • getTargetport

      public java.lang.String getTargetport()
      Gets the value of the targetport property.
      Returns:
      possible object is String
    • setTargetport

      public void setTargetport​(java.lang.String value)
      Sets the value of the targetport property.
      Parameters:
      value - allowed object is String