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 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;
21 * <p>Java class for anonymous complex type.
22 * <p>The following schema fragment specifies the expected content contained within this class.
26 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
28 * <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
29 * <element name="response" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
31 * <attribute name="source" type="{http://www.w3.org/2001/XMLSchema}string" />
32 * <attribute name="destination" type="{http://www.w3.org/2001/XMLSchema}string" />
33 * <attribute name="direction" type="{http://www.w3.org/2001/XMLSchema}string" />
35 * </complexContent>
39 @XmlAccessorType(XmlAccessType.FIELD)
40 @XmlType(name = "", propOrder = {
44 @XmlRootElement(name = "property", namespace = "http://www.example.org/response/")
45 public class Property {
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;
59 * Gets the value of the name property.
64 public String getName() {
69 * Sets the value of the name property.
74 public void setName(String value) {
79 * Gets the value of the response property.
81 public boolean isResponse() {
86 * Sets the value of the response property.
88 public void setResponse(boolean value) {
89 this.response = value;
93 * Gets the value of the source property.
98 public String getSource() {
103 * Sets the value of the source property.
108 public void setSource(String value) {
113 * Gets the value of the destination property.
118 public String getDestination() {
123 * Sets the value of the destination property.
128 public void setDestination(String value) {
129 this.destination = value;
133 * Gets the value of the direction property.
138 public String getDirection() {
143 * Sets the value of the direction property.
148 public void setDirection(String value) {
149 this.direction = value;