Class EdgeType

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

public class EdgeType extends 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 Details

  • Constructor Details

    • EdgeType

      public EdgeType()
  • Method Details

    • getDesc

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

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

      public 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 String getId()
      Gets the value of the id property.
      Returns:
      possible object is String
    • setId

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

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

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

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

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

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

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

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

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

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

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