Class GraphType

java.lang.Object
org.graphdrawing.graphml.GraphType

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

Java class for graph.type complex type.

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

 <complexType name="graph.type">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{http://graphml.graphdrawing.org/xmlns}desc" minOccurs="0"/>
         <choice>
           <sequence>
             <choice maxOccurs="unbounded" minOccurs="0">
               <element ref="{http://graphml.graphdrawing.org/xmlns}data"/>
               <element ref="{http://graphml.graphdrawing.org/xmlns}node"/>
               <element ref="{http://graphml.graphdrawing.org/xmlns}edge"/>
               <element ref="{http://graphml.graphdrawing.org/xmlns}hyperedge"/>
             </choice>
           </sequence>
           <element ref="{http://graphml.graphdrawing.org/xmlns}locator"/>
         </choice>
       </sequence>
       <attGroup ref="{http://graphml.graphdrawing.org/xmlns}graph.extra.attrib"/>
       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
       <attribute name="edgedefault" use="required" type="{http://graphml.graphdrawing.org/xmlns}graph.edgedefault.type" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • 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
    • getDataOrNodeOrEdge

      public java.util.List<java.lang.Object> getDataOrNodeOrEdge()
      Gets the value of the dataOrNodeOrEdge 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 dataOrNodeOrEdge property.

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

       getDataOrNodeOrEdge().add(newItem);
       

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

    • getLocator

      public LocatorType getLocator()
      Gets the value of the locator property.
      Returns:
      possible object is LocatorType
    • setLocator

      public void setLocator​(LocatorType value)
      Sets the value of the locator property.
      Parameters:
      value - allowed object is LocatorType
    • 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
    • getEdgedefault

      public GraphEdgedefaultType getEdgedefault()
      Gets the value of the edgedefault property.
      Returns:
      possible object is GraphEdgedefaultType
    • setEdgedefault

      public void setEdgedefault​(GraphEdgedefaultType value)
      Sets the value of the edgedefault property.
      Parameters:
      value - allowed object is GraphEdgedefaultType
    • getParseNodeids

      public GraphNodeidsType getParseNodeids()
      Gets the value of the parseNodeids property.
      Returns:
      possible object is GraphNodeidsType
    • setParseNodeids

      public void setParseNodeids​(GraphNodeidsType value)
      Sets the value of the parseNodeids property.
      Parameters:
      value - allowed object is GraphNodeidsType
    • getParseEdgeids

      public GraphEdgeidsType getParseEdgeids()
      Gets the value of the parseEdgeids property.
      Returns:
      possible object is GraphEdgeidsType
    • setParseEdgeids

      public void setParseEdgeids​(GraphEdgeidsType value)
      Sets the value of the parseEdgeids property.
      Parameters:
      value - allowed object is GraphEdgeidsType
    • getParseOrder

      public GraphOrderType getParseOrder()
      Gets the value of the parseOrder property.
      Returns:
      possible object is GraphOrderType
    • setParseOrder

      public void setParseOrder​(GraphOrderType value)
      Sets the value of the parseOrder property.
      Parameters:
      value - allowed object is GraphOrderType
    • getParseNodes

      public java.math.BigInteger getParseNodes()
      Gets the value of the parseNodes property.
      Returns:
      possible object is BigInteger
    • setParseNodes

      public void setParseNodes​(java.math.BigInteger value)
      Sets the value of the parseNodes property.
      Parameters:
      value - allowed object is BigInteger
    • getParseEdges

      public java.math.BigInteger getParseEdges()
      Gets the value of the parseEdges property.
      Returns:
      possible object is BigInteger
    • setParseEdges

      public void setParseEdges​(java.math.BigInteger value)
      Sets the value of the parseEdges property.
      Parameters:
      value - allowed object is BigInteger
    • getParseMaxindegree

      public java.math.BigInteger getParseMaxindegree()
      Gets the value of the parseMaxindegree property.
      Returns:
      possible object is BigInteger
    • setParseMaxindegree

      public void setParseMaxindegree​(java.math.BigInteger value)
      Sets the value of the parseMaxindegree property.
      Parameters:
      value - allowed object is BigInteger
    • getParseMaxoutdegree

      public java.math.BigInteger getParseMaxoutdegree()
      Gets the value of the parseMaxoutdegree property.
      Returns:
      possible object is BigInteger
    • setParseMaxoutdegree

      public void setParseMaxoutdegree​(java.math.BigInteger value)
      Sets the value of the parseMaxoutdegree property.
      Parameters:
      value - allowed object is BigInteger