Merge "Add verigraph code base"
[parser.git] / verigraph / src / main / java / it / polito / nffg / neo4j / jaxb / CpointsType.java
1 /*******************************************************************************
2  * Copyright (c) 2017 Politecnico di Torino and others.
3  *
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  *******************************************************************************/
9
10 package it.polito.nffg.neo4j.jaxb;
11
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.XmlType;
18
19
20 /**
21  * <p>Java class for cpointsType complex type.
22  * <p>The following schema fragment specifies the expected content contained within this class.
23  * <pre>
24  * &lt;complexType name="cpointsType">
25  *   &lt;complexContent>
26  *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
27  *       &lt;sequence>
28  *         &lt;element name="connection_point" type="{http://www.example.org/nffg/}cpType" maxOccurs="unbounded"/>
29  *       &lt;/sequence>
30  *     &lt;/restriction>
31  *   &lt;/complexContent>
32  * &lt;/complexType>
33  * </pre>
34  */
35 @XmlAccessorType(XmlAccessType.FIELD)
36 @XmlType(name = "cpointsType", propOrder = {
37     "connectionPoint"
38 })
39 public class CpointsType {
40
41     @XmlElement(name = "connection_point", required = true)
42     protected List<CpType> connectionPoint;
43
44     /**
45      * Gets the value of the connectionPoint property.
46      * <p>
47      * This accessor method returns a reference to the live list,
48      * not a snapshot. Therefore any modification you make to the
49      * returned list will be present inside the JAXB object.
50      * This is why there is not a <CODE>set</CODE> method for the connectionPoint property.
51      * <p>
52      * For example, to add a new item, do as follows:
53      * <pre>
54      *    getConnectionPoint().add(newItem);
55      * </pre>
56      * <p>
57      * Objects of the following type(s) are allowed in the list
58      * {@link CpType }
59      */
60     public List<CpType> getConnectionPoint() {
61         if (connectionPoint == null) {
62             connectionPoint = new ArrayList<CpType>();
63         }
64         return this.connectionPoint;
65     }
66
67 }