All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.anwiba.tools.simple.graphml.generated.Graph Maven / Gradle / Ivy

There is a newer version: 1.2.50
Show newest version
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 
// See http://java.sun.com/xml/jaxb 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2018.09.02 at 10:45:59 PM CEST 
//


package net.anwiba.tools.simple.graphml.generated;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;


/**
 * 

Java class for GraphType complex type. * *

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

 * <complexType name="GraphType">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="node" type="{http://graphml.graphdrawing.org/xmlns}NodeType" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="edge" type="{http://graphml.graphdrawing.org/xmlns}EdgeType" maxOccurs="unbounded" minOccurs="0"/>
 *       </sequence>
 *       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="edgedefault" type="{http://www.w3.org/2001/XMLSchema}string" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "GraphType", propOrder = { "node", "edge" }) public class Graph { protected List node; protected List edge; @XmlAttribute(name = "id") protected String id; @XmlAttribute(name = "edgedefault") protected String edgedefault; /** * Gets the value of the node 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 node property. * *

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

     *    getNode().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Node } * * */ public List getNode() { if (node == null) { node = new ArrayList(); } return this.node; } /** * Gets the value of the edge 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 edge property. * *

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

     *    getEdge().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Edge } * * */ public List getEdge() { if (edge == null) { edge = new ArrayList(); } return this.edge; } /** * Gets the value of the id property. * * @return * possible object is * {@link String } * */ public String getId() { return id; } /** * Sets the value of the id property. * * @param value * allowed object is * {@link String } * */ public void setId(String value) { this.id = value; } /** * Gets the value of the edgedefault property. * * @return * possible object is * {@link String } * */ public String getEdgedefault() { return edgedefault; } /** * Sets the value of the edgedefault property. * * @param value * allowed object is * {@link String } * */ public void setEdgedefault(String value) { this.edgedefault = value; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy