From 53d83244c1bf36af86e90ce5fe758a369f73563e Mon Sep 17 00:00:00 2001 From: "serena.spinoso" Date: Sat, 25 Feb 2017 12:00:55 +0100 Subject: Add verigraph code base JIRA: PARSER-111 Change-Id: Ie76e14fabbb6c388ebc89d9a15dd3021b25fa892 Signed-off-by: serena.spinoso --- .../java/it/polito/nffg/neo4j/jaxb/EpType.java | 260 +++++++++++++++++++++ 1 file changed, 260 insertions(+) create mode 100644 verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/EpType.java (limited to 'verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/EpType.java') diff --git a/verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/EpType.java b/verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/EpType.java new file mode 100644 index 0000000..2ae875d --- /dev/null +++ b/verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/EpType.java @@ -0,0 +1,260 @@ +/******************************************************************************* + * Copyright (c) 2017 Politecnico di Torino and others. + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Apache License, Version 2.0 + * which accompanies this distribution, and is available at + * http://www.apache.org/licenses/LICENSE-2.0 + *******************************************************************************/ + +package it.polito.nffg.neo4j.jaxb; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for epType complex type. + *

The following schema fragment specifies the expected content contained within this class. + *

+ * <complexType name="epType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="flowspace">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <group ref="{http://www.example.org/nffg/}L2HeaderParameters"/>
+ *                   <group ref="{http://www.example.org/nffg/}L3HeaderParameters"/>
+ *                   <group ref="{http://www.example.org/nffg/}L4HeaderParameters"/>
+ *                 </sequence>
+ *                 <attribute name="nodeId" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *                 <attribute name="ingPhysPort" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *       </sequence>
+ *       <attribute name="id" use="required" type="{http://www.example.org/nffg/}epIdType" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "epType", propOrder = { + "flowspace" +}) +public class EpType { + + @XmlElement(required = true) + protected EpType.Flowspace flowspace; + @XmlAttribute(name = "id", required = true) + protected String id; + + /** + * Gets the value of the flowspace property. + * @return + * possible object is + * {@link EpType.Flowspace } + */ + public EpType.Flowspace getFlowspace() { + return flowspace; + } + + /** + * Sets the value of the flowspace property. + * @param value + * allowed object is + * {@link EpType.Flowspace } + */ + public void setFlowspace(EpType.Flowspace value) { + this.flowspace = value; + } + + /** + * Gets the value of the id property. + * @return + * possible object is + * {@link String } + */ + public String getId() { + return id; + } + + /** + * Sets the value of the id property. + * @param value + * allowed object is + * {@link String } + */ + public void setId(String value) { + this.id = value; + } + + + /** + *

Java class for anonymous complex type. + *

The following schema fragment specifies the expected content contained within this class. + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <group ref="{http://www.example.org/nffg/}L2HeaderParameters"/>
+     *         <group ref="{http://www.example.org/nffg/}L3HeaderParameters"/>
+     *         <group ref="{http://www.example.org/nffg/}L4HeaderParameters"/>
+     *       </sequence>
+     *       <attribute name="nodeId" type="{http://www.w3.org/2001/XMLSchema}string" />
+     *       <attribute name="ingPhysPort" type="{http://www.w3.org/2001/XMLSchema}string" />
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "mac", + "ip", + "tcp", + "udp" + }) + public static class Flowspace { + + protected it.polito.nffg.neo4j.jaxb.FlowrulesType.Flowspace.Mac mac; + protected it.polito.nffg.neo4j.jaxb.FlowrulesType.Flowspace.Ip ip; + protected it.polito.nffg.neo4j.jaxb.FlowrulesType.Flowspace.Tcp tcp; + protected it.polito.nffg.neo4j.jaxb.FlowrulesType.Flowspace.Udp udp; + @XmlAttribute(name = "nodeId") + protected String nodeId; + @XmlAttribute(name = "ingPhysPort") + protected String ingPhysPort; + + /** + * Gets the value of the mac property. + * @return + * possible object is + * {@link it.polito.nffg.neo4j.jaxb.FlowrulesType.Flowspace.Mac } + */ + public it.polito.nffg.neo4j.jaxb.FlowrulesType.Flowspace.Mac getMac() { + return mac; + } + + /** + * Sets the value of the mac property. + * @param value + * allowed object is + * {@link it.polito.nffg.neo4j.jaxb.FlowrulesType.Flowspace.Mac } + */ + public void setMac(it.polito.nffg.neo4j.jaxb.FlowrulesType.Flowspace.Mac value) { + this.mac = value; + } + + /** + * Gets the value of the ip property. + * @return + * possible object is + * {@link it.polito.nffg.neo4j.jaxb.FlowrulesType.Flowspace.Ip } + */ + public it.polito.nffg.neo4j.jaxb.FlowrulesType.Flowspace.Ip getIp() { + return ip; + } + + /** + * Sets the value of the ip property. + * @param value + * allowed object is + * {@link it.polito.nffg.neo4j.jaxb.FlowrulesType.Flowspace.Ip } + */ + public void setIp(it.polito.nffg.neo4j.jaxb.FlowrulesType.Flowspace.Ip value) { + this.ip = value; + } + + /** + * Gets the value of the tcp property. + * @return + * possible object is + * {@link it.polito.nffg.neo4j.jaxb.FlowrulesType.Flowspace.Tcp } + */ + public it.polito.nffg.neo4j.jaxb.FlowrulesType.Flowspace.Tcp getTcp() { + return tcp; + } + + /** + * Sets the value of the tcp property. + * @param value + * allowed object is + * {@link it.polito.nffg.neo4j.jaxb.FlowrulesType.Flowspace.Tcp } + */ + public void setTcp(it.polito.nffg.neo4j.jaxb.FlowrulesType.Flowspace.Tcp value) { + this.tcp = value; + } + + /** + * Gets the value of the udp property. + * @return + * possible object is + * {@link it.polito.nffg.neo4j.jaxb.FlowrulesType.Flowspace.Udp } + */ + public it.polito.nffg.neo4j.jaxb.FlowrulesType.Flowspace.Udp getUdp() { + return udp; + } + + /** + * Sets the value of the udp property. + * @param value + * allowed object is + * {@link it.polito.nffg.neo4j.jaxb.FlowrulesType.Flowspace.Udp } + */ + public void setUdp(it.polito.nffg.neo4j.jaxb.FlowrulesType.Flowspace.Udp value) { + this.udp = value; + } + + /** + * Gets the value of the nodeId property. + * @return + * possible object is + * {@link String } + */ + public String getNodeId() { + return nodeId; + } + + /** + * Sets the value of the nodeId property. + * @param value + * allowed object is + * {@link String } + */ + public void setNodeId(String value) { + this.nodeId = value; + } + + /** + * Gets the value of the ingPhysPort property. + * @return + * possible object is + * {@link String } + */ + public String getIngPhysPort() { + return ingPhysPort; + } + + /** + * Sets the value of the ingPhysPort property. + * @param value + * allowed object is + * {@link String } + */ + public void setIngPhysPort(String value) { + this.ingPhysPort = value; + } + + } + +} -- cgit 1.2.3-korg