Stop installing librairies during tests
[parser.git] / verigraph / src / main / java / it / polito / nffg / neo4j / jaxb / Paths.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.XmlAttribute;
17 import javax.xml.bind.annotation.XmlElement;
18 import javax.xml.bind.annotation.XmlRootElement;
19 import javax.xml.bind.annotation.XmlType;
20
21
22 /**
23  * <p>Java class for anonymous complex type.
24  * <p>The following schema fragment specifies the expected content contained within this class.
25  * <pre>
26  * &lt;complexType>
27  *   &lt;complexContent>
28  *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
29  *       &lt;choice>
30  *         &lt;element name="message" type="{http://www.w3.org/2001/XMLSchema}string"/>
31  *         &lt;element name="path" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/>
32  *       &lt;/choice>
33  *       &lt;attribute name="source" type="{http://www.w3.org/2001/XMLSchema}string" />
34  *       &lt;attribute name="destination" type="{http://www.w3.org/2001/XMLSchema}string" />
35  *       &lt;attribute name="direction" type="{http://www.w3.org/2001/XMLSchema}string" />
36  *     &lt;/restriction>
37  *   &lt;/complexContent>
38  * &lt;/complexType>
39  * </pre>
40  */
41 @XmlAccessorType(XmlAccessType.FIELD)
42 @XmlType(name = "", propOrder = {
43     "message",
44     "path"
45 })
46 @XmlRootElement(name = "paths", namespace = "http://www.example.org/response/")
47 public class Paths {
48
49     @XmlElement(namespace = "http://www.example.org/response/")
50     protected String message;
51     @XmlElement(namespace = "http://www.example.org/response/")
52     protected List<String> path;
53     @XmlAttribute(name = "source")
54     protected String source;
55     @XmlAttribute(name = "destination")
56     protected String destination;
57     @XmlAttribute(name = "direction")
58     protected String direction;
59
60     /**
61      * Gets the value of the message property.
62      * @return
63      *     possible object is
64      *     {@link String }
65      */
66     public String getMessage() {
67         return message;
68     }
69
70     /**
71      * Sets the value of the message property.
72      * @param value
73      *     allowed object is
74      *     {@link String }
75      */
76     public void setMessage(String value) {
77         this.message = value;
78     }
79
80     /**
81      * Gets the value of the path property.
82      * <p>
83      * This accessor method returns a reference to the live list,
84      * not a snapshot. Therefore any modification you make to the
85      * returned list will be present inside the JAXB object.
86      * This is why there is not a <CODE>set</CODE> method for the path property.
87      * <p>
88      * For example, to add a new item, do as follows:
89      * <pre>
90      *    getPath().add(newItem);
91      * </pre>
92      * <p>
93      * Objects of the following type(s) are allowed in the list
94      * {@link String }
95      */
96     public List<String> getPath() {
97         if (path == null) {
98             path = new ArrayList<String>();
99         }
100         return this.path;
101     }
102
103     /**
104      * Gets the value of the source property.
105      * @return
106      *     possible object is
107      *     {@link String }
108      */
109     public String getSource() {
110         return source;
111     }
112
113     /**
114      * Sets the value of the source property.
115      * @param value
116      *     allowed object is
117      *     {@link String }
118      */
119     public void setSource(String value) {
120         this.source = value;
121     }
122
123     /**
124      * Gets the value of the destination property.
125      * @return
126      *     possible object is
127      *     {@link String }
128      */
129     public String getDestination() {
130         return destination;
131     }
132
133     /**
134      * Sets the value of the destination property.
135      * @param value
136      *     allowed object is
137      *     {@link String }
138      */
139     public void setDestination(String value) {
140         this.destination = value;
141     }
142
143     /**
144      * Gets the value of the direction property.
145      * @return
146      *     possible object is
147      *     {@link String }
148      */
149     public String getDirection() {
150         return direction;
151     }
152
153     /**
154      * Sets the value of the direction property.
155      * @param value
156      *     allowed object is
157      *     {@link String }
158      */
159     public void setDirection(String value) {
160         this.direction = value;
161     }
162
163 }