java.lang.Object
net.anwiba.tools.simple.graphml.generated.Node

public class Node extends Object

Java class for NodeType complex type.

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


 <complexType name="NodeType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="data" type="{http://www.anwiba.net/tools/simple/graphml}DataType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="graph" type="{http://www.anwiba.net/tools/simple/graphml}GraphType" minOccurs="0"/>
       </sequence>
       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • Node

      public Node()
  • Method Details

    • getData

      public List<Data> 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 Jakarta XML Binding 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 Data

      Returns:
      The value of the data property.
    • getGraph

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

      public void setGraph(Graph value)
      Sets the value of the graph property.
      Parameters:
      value - allowed object is Graph
    • 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