Add verigraph code base
[parser.git] / verigraph / src / main / java / it / polito / nffg / neo4j / jaxb / Property.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 javax.xml.bind.annotation.XmlAccessType;
13 import javax.xml.bind.annotation.XmlAccessorType;
14 import javax.xml.bind.annotation.XmlAttribute;
15 import javax.xml.bind.annotation.XmlElement;
16 import javax.xml.bind.annotation.XmlRootElement;
17 import javax.xml.bind.annotation.XmlType;
18
19
20 /**
21  * <p>Java class for anonymous complex type.
22  * <p>The following schema fragment specifies the expected content contained within this class.
23  * <pre>
24  * &lt;complexType>
25  *   &lt;complexContent>
26  *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
27  *       &lt;sequence>
28  *         &lt;element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
29  *         &lt;element name="response" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
30  *       &lt;/sequence>
31  *       &lt;attribute name="source" type="{http://www.w3.org/2001/XMLSchema}string" />
32  *       &lt;attribute name="destination" type="{http://www.w3.org/2001/XMLSchema}string" />
33  *       &lt;attribute name="direction" type="{http://www.w3.org/2001/XMLSchema}string" />
34  *     &lt;/restriction>
35  *   &lt;/complexContent>
36  * &lt;/complexType>
37  * </pre>
38  */
39 @XmlAccessorType(XmlAccessType.FIELD)
40 @XmlType(name = "", propOrder = {
41     "name",
42     "response"
43 })
44 @XmlRootElement(name = "property", namespace = "http://www.example.org/response/")
45 public class Property {
46
47     @XmlElement(namespace = "http://www.example.org/response/", required = true)
48     protected String name;
49     @XmlElement(namespace = "http://www.example.org/response/")
50     protected boolean response;
51     @XmlAttribute(name = "source")
52     protected String source;
53     @XmlAttribute(name = "destination")
54     protected String destination;
55     @XmlAttribute(name = "direction")
56     protected String direction;
57
58     /**
59      * Gets the value of the name property.
60      * @return
61      *     possible object is
62      *     {@link String }
63      */
64     public String getName() {
65         return name;
66     }
67
68     /**
69      * Sets the value of the name property.
70      * @param value
71      *     allowed object is
72      *     {@link String }
73      */
74     public void setName(String value) {
75         this.name = value;
76     }
77
78     /**
79      * Gets the value of the response property.
80      */
81     public boolean isResponse() {
82         return response;
83     }
84
85     /**
86      * Sets the value of the response property.
87      */
88     public void setResponse(boolean value) {
89         this.response = value;
90     }
91
92     /**
93      * Gets the value of the source property.
94      * @return
95      *     possible object is
96      *     {@link String }
97      */
98     public String getSource() {
99         return source;
100     }
101
102     /**
103      * Sets the value of the source property.
104      * @param value
105      *     allowed object is
106      *     {@link String }
107      */
108     public void setSource(String value) {
109         this.source = value;
110     }
111
112     /**
113      * Gets the value of the destination property.
114      * @return
115      *     possible object is
116      *     {@link String }
117      */
118     public String getDestination() {
119         return destination;
120     }
121
122     /**
123      * Sets the value of the destination property.
124      * @param value
125      *     allowed object is
126      *     {@link String }
127      */
128     public void setDestination(String value) {
129         this.destination = value;
130     }
131
132     /**
133      * Gets the value of the direction property.
134      * @return
135      *     possible object is
136      *     {@link String }
137      */
138     public String getDirection() {
139         return direction;
140     }
141
142     /**
143      * Sets the value of the direction property.
144      * @param value
145      *     allowed object is
146      *     {@link String }
147      */
148     public void setDirection(String value) {
149         this.direction = value;
150     }
151
152 }