Class NodeType

java.lang.Object
org.graphdrawing.graphml.NodeType

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

Java class for node.type complex type.

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

 <complexType name="node.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}port"/>
             </choice>
             <element ref="{http://graphml.graphdrawing.org/xmlns}graph" minOccurs="0"/>
           </sequence>
           <element ref="{http://graphml.graphdrawing.org/xmlns}locator"/>
         </choice>
       </sequence>
       <attGroup ref="{http://graphml.graphdrawing.org/xmlns}node.extra.attrib"/>
       <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Summary

    Fields 
    Modifier and Type Field Description
    protected java.util.List<java.lang.Object> dataOrPort  
    protected java.lang.String desc  
    protected GraphType graph  
    protected java.lang.String id  
    protected LocatorType locator  
    protected java.math.BigInteger parseIndegree  
    protected java.math.BigInteger parseOutdegree  
  • Constructor Summary

    Constructors 
    Constructor Description
    NodeType()  
  • Method Summary

    Modifier and Type Method Description
    java.util.List<java.lang.Object> getDataOrPort()
    Gets the value of the dataOrPort 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.
    LocatorType getLocator()
    Gets the value of the locator property.
    java.math.BigInteger getParseIndegree()
    Gets the value of the parseIndegree property.
    java.math.BigInteger getParseOutdegree()
    Gets the value of the parseOutdegree property.
    void setDesc​(java.lang.String value)
    Sets the value of the desc 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 setLocator​(LocatorType value)
    Sets the value of the locator property.
    void setParseIndegree​(java.math.BigInteger value)
    Sets the value of the parseIndegree property.
    void setParseOutdegree​(java.math.BigInteger value)
    Sets the value of the parseOutdegree property.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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
    • getDataOrPort

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

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

       getDataOrPort().add(newItem);
       

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

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

      public java.math.BigInteger getParseIndegree()
      Gets the value of the parseIndegree property.
      Returns:
      possible object is BigInteger
    • setParseIndegree

      public void setParseIndegree​(java.math.BigInteger value)
      Sets the value of the parseIndegree property.
      Parameters:
      value - allowed object is BigInteger
    • getParseOutdegree

      public java.math.BigInteger getParseOutdegree()
      Gets the value of the parseOutdegree property.
      Returns:
      possible object is BigInteger
    • setParseOutdegree

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