1 /*******************************************************************************
2 * Copyright (c) 2017 Politecnico di Torino and others.
4 * All rights reserved. This program and the accompanying materials
5 * are made available under the terms of the Apache License, Version 2.0
6 * which accompanies this distribution, and is available at
7 * http://www.apache.org/licenses/LICENSE-2.0
8 *******************************************************************************/
10 package it.polito.nffg.neo4j.jaxb;
12 import java.util.ArrayList;
13 import java.util.List;
14 import javax.xml.bind.annotation.XmlAccessType;
15 import javax.xml.bind.annotation.XmlAccessorType;
16 import javax.xml.bind.annotation.XmlElement;
17 import javax.xml.bind.annotation.XmlRootElement;
18 import javax.xml.bind.annotation.XmlType;
22 * <p>Java class for anonymous complex type.
23 * <p>The following schema fragment specifies the expected content contained within this class.
27 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
29 * <element ref="{http://www.example.org/nffg/}nffg" maxOccurs="unbounded"/>
32 * </complexContent>
36 @XmlAccessorType(XmlAccessType.FIELD)
37 @XmlType(name = "", propOrder = {
40 @XmlRootElement(name = "nffg-set")
41 public class NffgSet {
43 @XmlElement(required = true)
44 protected List<Nffg> nffg;
47 * Gets the value of the nffg property.
49 * This accessor method returns a reference to the live list,
50 * not a snapshot. Therefore any modification you make to the
51 * returned list will be present inside the JAXB object.
52 * This is why there is not a <CODE>set</CODE> method for the nffg property.
54 * For example, to add a new item, do as follows:
56 * getNffg().add(newItem);
59 * Objects of the following type(s) are allowed in the list
62 public List<Nffg> getNffg() {
64 nffg = new ArrayList<Nffg>();