Disable syslog in heat-translator for functest integration
[parser.git] / verigraph / src / main / java / it / polito / nffg / neo4j / jaxb / FlowrulesType.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.XmlSchemaType;
17 import javax.xml.bind.annotation.XmlType;
18
19
20 /**
21  * <p>Java class for flowrulesType complex type.
22  * <p>The following schema fragment specifies the expected content contained within this class.
23  * <pre>
24  * &lt;complexType name="flowrulesType">
25  *   &lt;complexContent>
26  *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
27  *       &lt;sequence>
28  *         &lt;element name="flowspace">
29  *           &lt;complexType>
30  *             &lt;complexContent>
31  *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
32  *                 &lt;sequence>
33  *                   &lt;group ref="{http://www.example.org/nffg/}L2HeaderParameters"/>
34  *                   &lt;group ref="{http://www.example.org/nffg/}L3HeaderParameters"/>
35  *                   &lt;group ref="{http://www.example.org/nffg/}L4HeaderParameters"/>
36  *                 &lt;/sequence>
37  *                 &lt;attribute name="ingPort" type="{http://www.w3.org/2001/XMLSchema}string" />
38  *               &lt;/restriction>
39  *             &lt;/complexContent>
40  *           &lt;/complexType>
41  *         &lt;/element>
42  *         &lt;element name="actions" type="{http://www.example.org/nffg/}actionsType"/>
43  *       &lt;/sequence>
44  *     &lt;/restriction>
45  *   &lt;/complexContent>
46  * &lt;/complexType>
47  * </pre>
48  */
49 @XmlAccessorType(XmlAccessType.FIELD)
50 @XmlType(name = "flowrulesType", propOrder = {
51     "flowspace",
52     "actions"
53 })
54 public class FlowrulesType {
55
56     @XmlElement(required = true)
57     protected FlowrulesType.Flowspace flowspace;
58     @XmlElement(required = true)
59     protected ActionsType actions;
60
61     /**
62      * Gets the value of the flowspace property.
63      * @return
64      *     possible object is
65      *     {@link FlowrulesType.Flowspace }
66      */
67     public FlowrulesType.Flowspace getFlowspace() {
68         return flowspace;
69     }
70
71     /**
72      * Sets the value of the flowspace property.
73      * @param value
74      *     allowed object is
75      *     {@link FlowrulesType.Flowspace }
76      */
77     public void setFlowspace(FlowrulesType.Flowspace value) {
78         this.flowspace = value;
79     }
80
81     /**
82      * Gets the value of the actions property.
83      * @return
84      *     possible object is
85      *     {@link ActionsType }
86      */
87     public ActionsType getActions() {
88         return actions;
89     }
90
91     /**
92      * Sets the value of the actions property.
93      * @param value
94      *     allowed object is
95      *     {@link ActionsType }
96      */
97     public void setActions(ActionsType value) {
98         this.actions = value;
99     }
100
101
102     /**
103      * <p>Java class for anonymous complex type.
104      * <p>The following schema fragment specifies the expected content contained within this class.
105      * <pre>
106      * &lt;complexType>
107      *   &lt;complexContent>
108      *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
109      *       &lt;sequence>
110      *         &lt;group ref="{http://www.example.org/nffg/}L2HeaderParameters"/>
111      *         &lt;group ref="{http://www.example.org/nffg/}L3HeaderParameters"/>
112      *         &lt;group ref="{http://www.example.org/nffg/}L4HeaderParameters"/>
113      *       &lt;/sequence>
114      *       &lt;attribute name="ingPort" type="{http://www.w3.org/2001/XMLSchema}string" />
115      *     &lt;/restriction>
116      *   &lt;/complexContent>
117      * &lt;/complexType>
118      * </pre>
119      */
120     @XmlAccessorType(XmlAccessType.FIELD)
121     @XmlType(name = "", propOrder = {
122         "mac",
123         "ip",
124         "tcp",
125         "udp"
126     })
127     public static class Flowspace {
128
129         protected FlowrulesType.Flowspace.Mac mac;
130         protected FlowrulesType.Flowspace.Ip ip;
131         protected FlowrulesType.Flowspace.Tcp tcp;
132         protected FlowrulesType.Flowspace.Udp udp;
133         @XmlAttribute(name = "ingPort")
134         protected String ingPort;
135
136         /**
137          * Gets the value of the mac property.
138          * @return
139          *     possible object is
140          *     {@link FlowrulesType.Flowspace.Mac }
141          */
142         public FlowrulesType.Flowspace.Mac getMac() {
143             return mac;
144         }
145
146         /**
147          * Sets the value of the mac property.
148          * @param value
149          *     allowed object is
150          *     {@link FlowrulesType.Flowspace.Mac }
151          */
152         public void setMac(FlowrulesType.Flowspace.Mac value) {
153             this.mac = value;
154         }
155
156         /**
157          * Gets the value of the ip property.
158          * @return
159          *     possible object is
160          *     {@link FlowrulesType.Flowspace.Ip }
161          */
162         public FlowrulesType.Flowspace.Ip getIp() {
163             return ip;
164         }
165
166         /**
167          * Sets the value of the ip property.
168          * @param value
169          *     allowed object is
170          *     {@link FlowrulesType.Flowspace.Ip }
171          */
172         public void setIp(FlowrulesType.Flowspace.Ip value) {
173             this.ip = value;
174         }
175
176         /**
177          * Gets the value of the tcp property.
178          * @return
179          *     possible object is
180          *     {@link FlowrulesType.Flowspace.Tcp }
181          */
182         public FlowrulesType.Flowspace.Tcp getTcp() {
183             return tcp;
184         }
185
186         /**
187          * Sets the value of the tcp property.
188          * @param value
189          *     allowed object is
190          *     {@link FlowrulesType.Flowspace.Tcp }
191          */
192         public void setTcp(FlowrulesType.Flowspace.Tcp value) {
193             this.tcp = value;
194         }
195
196         /**
197          * Gets the value of the udp property.
198          * @return
199          *     possible object is
200          *     {@link FlowrulesType.Flowspace.Udp }
201          */
202         public FlowrulesType.Flowspace.Udp getUdp() {
203             return udp;
204         }
205
206         /**
207          * Sets the value of the udp property.
208          * @param value
209          *     allowed object is
210          *     {@link FlowrulesType.Flowspace.Udp }
211          */
212         public void setUdp(FlowrulesType.Flowspace.Udp value) {
213             this.udp = value;
214         }
215
216         /**
217          * Gets the value of the ingPort property.
218          * @return
219          *     possible object is
220          *     {@link String }
221          */
222         public String getIngPort() {
223             return ingPort;
224         }
225
226         /**
227          * Sets the value of the ingPort property.
228          * @param value
229          *     allowed object is
230          *     {@link String }
231          */
232         public void setIngPort(String value) {
233             this.ingPort = value;
234         }
235
236
237         /**
238          * <p>Java class for anonymous complex type.
239          * <p>The following schema fragment specifies the expected content contained within this class.
240          * <pre>
241          * &lt;complexType>
242          *   &lt;complexContent>
243          *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
244          *       &lt;attribute name="src" type="{http://www.example.org/net/}ipAddressType" />
245          *       &lt;attribute name="dst" type="{http://www.example.org/net/}ipAddressType" />
246          *       &lt;attribute name="ipProtocol" type="{http://www.w3.org/2001/XMLSchema}unsignedByte" />
247          *       &lt;attribute name="tos" type="{http://www.w3.org/2001/XMLSchema}unsignedByte" />
248          *     &lt;/restriction>
249          *   &lt;/complexContent>
250          * &lt;/complexType>
251          * </pre>
252          */
253         @XmlAccessorType(XmlAccessType.FIELD)
254         @XmlType(name = "")
255         public static class Ip {
256
257             @XmlAttribute(name = "src")
258             protected String src;
259             @XmlAttribute(name = "dst")
260             protected String dst;
261             @XmlAttribute(name = "ipProtocol")
262             @XmlSchemaType(name = "unsignedByte")
263             protected Short ipProtocol;
264             @XmlAttribute(name = "tos")
265             @XmlSchemaType(name = "unsignedByte")
266             protected Short tos;
267
268             /**
269              * Gets the value of the src property.
270              * @return
271              *     possible object is
272              *     {@link String }
273              */
274             public String getSrc() {
275                 return src;
276             }
277
278             /**
279              * Sets the value of the src property.
280              * @param value
281              *     allowed object is
282              *     {@link String }
283              */
284             public void setSrc(String value) {
285                 this.src = value;
286             }
287
288             /**
289              * Gets the value of the dst property.
290              * @return
291              *     possible object is
292              *     {@link String }
293              */
294             public String getDst() {
295                 return dst;
296             }
297
298             /**
299              * Sets the value of the dst property.
300              * @param value
301              *     allowed object is
302              *     {@link String }
303              */
304             public void setDst(String value) {
305                 this.dst = value;
306             }
307
308             /**
309              * Gets the value of the ipProtocol property.
310              * @return
311              *     possible object is
312              *     {@link Short }
313              */
314             public Short getIpProtocol() {
315                 return ipProtocol;
316             }
317
318             /**
319              * Sets the value of the ipProtocol property.
320              * @param value
321              *     allowed object is
322              *     {@link Short }
323              */
324             public void setIpProtocol(Short value) {
325                 this.ipProtocol = value;
326             }
327
328             /**
329              * Gets the value of the tos property.
330              * @return
331              *     possible object is
332              *     {@link Short }
333              */
334             public Short getTos() {
335                 return tos;
336             }
337
338             /**
339              * Sets the value of the tos property.
340              * @param value
341              *     allowed object is
342              *     {@link Short }
343              */
344             public void setTos(Short value) {
345                 this.tos = value;
346             }
347
348         }
349
350
351         /**
352          * <p>Java class for anonymous complex type.
353          * <p>The following schema fragment specifies the expected content contained within this class.
354          * <pre>
355          * &lt;complexType>
356          *   &lt;complexContent>
357          *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
358          *       &lt;attribute name="src" type="{http://www.example.org/net/}macAddressType" />
359          *       &lt;attribute name="dst" type="{http://www.example.org/net/}macAddressType" />
360          *       &lt;attribute name="ethertype" type="{http://www.example.org/net/}ethertypeType" />
361          *       &lt;attribute name="vlanId" type="{http://www.example.org/net/}vlanIdType" />
362          *       &lt;attribute name="vlanPcp" type="{http://www.example.org/net/}vlanPcpType" />
363          *     &lt;/restriction>
364          *   &lt;/complexContent>
365          * &lt;/complexType>
366          * </pre>
367          */
368         @XmlAccessorType(XmlAccessType.FIELD)
369         @XmlType(name = "")
370         public static class Mac {
371
372             @XmlAttribute(name = "src")
373             protected String src;
374             @XmlAttribute(name = "dst")
375             protected String dst;
376             @XmlAttribute(name = "ethertype")
377             protected Integer ethertype;
378             @XmlAttribute(name = "vlanId")
379             protected Integer vlanId;
380             @XmlAttribute(name = "vlanPcp")
381             protected Integer vlanPcp;
382
383             /**
384              * Gets the value of the src property.
385              * @return
386              *     possible object is
387              *     {@link String }
388              */
389             public String getSrc() {
390                 return src;
391             }
392
393             /**
394              * Sets the value of the src property.
395              * @param value
396              *     allowed object is
397              *     {@link String }
398              */
399             public void setSrc(String value) {
400                 this.src = value;
401             }
402
403             /**
404              * Gets the value of the dst property.
405              * @return
406              *     possible object is
407              *     {@link String }
408              */
409             public String getDst() {
410                 return dst;
411             }
412
413             /**
414              * Sets the value of the dst property.
415              * @param value
416              *     allowed object is
417              *     {@link String }
418              */
419             public void setDst(String value) {
420                 this.dst = value;
421             }
422
423             /**
424              * Gets the value of the ethertype property.
425              * @return
426              *     possible object is
427              *     {@link Integer }
428              */
429             public Integer getEthertype() {
430                 return ethertype;
431             }
432
433             /**
434              * Sets the value of the ethertype property.
435              * @param value
436              *     allowed object is
437              *     {@link Integer }
438              */
439             public void setEthertype(Integer value) {
440                 this.ethertype = value;
441             }
442
443             /**
444              * Gets the value of the vlanId property.
445              * @return
446              *     possible object is
447              *     {@link Integer }
448              */
449             public Integer getVlanId() {
450                 return vlanId;
451             }
452
453             /**
454              * Sets the value of the vlanId property.
455              * @param value
456              *     allowed object is
457              *     {@link Integer }
458              */
459             public void setVlanId(Integer value) {
460                 this.vlanId = value;
461             }
462
463             /**
464              * Gets the value of the vlanPcp property.
465              * @return
466              *     possible object is
467              *     {@link Integer }
468              */
469             public Integer getVlanPcp() {
470                 return vlanPcp;
471             }
472
473             /**
474              * Sets the value of the vlanPcp property.
475              * @param value
476              *     allowed object is
477              *     {@link Integer }
478              */
479             public void setVlanPcp(Integer value) {
480                 this.vlanPcp = value;
481             }
482
483         }
484
485
486         /**
487          * <p>Java class for anonymous complex type.
488          * <p>The following schema fragment specifies the expected content contained within this class.
489          * <pre>
490          * &lt;complexType>
491          *   &lt;complexContent>
492          *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
493          *       &lt;attribute name="src" type="{http://www.example.org/net/}portNumberType" />
494          *       &lt;attribute name="dst" type="{http://www.example.org/net/}portNumberType" />
495          *     &lt;/restriction>
496          *   &lt;/complexContent>
497          * &lt;/complexType>
498          * </pre>
499          */
500         @XmlAccessorType(XmlAccessType.FIELD)
501         @XmlType(name = "")
502         public static class Tcp {
503
504             @XmlAttribute(name = "src")
505             protected Integer src;
506             @XmlAttribute(name = "dst")
507             protected Integer dst;
508
509             /**
510              * Gets the value of the src property.
511              * @return
512              *     possible object is
513              *     {@link Integer }
514              */
515             public Integer getSrc() {
516                 return src;
517             }
518
519             /**
520              * Sets the value of the src property.
521              * @param value
522              *     allowed object is
523              *     {@link Integer }
524              */
525             public void setSrc(Integer value) {
526                 this.src = value;
527             }
528
529             /**
530              * Gets the value of the dst property.
531              * @return
532              *     possible object is
533              *     {@link Integer }
534              */
535             public Integer getDst() {
536                 return dst;
537             }
538
539             /**
540              * Sets the value of the dst property.
541              * @param value
542              *     allowed object is
543              *     {@link Integer }
544              */
545             public void setDst(Integer value) {
546                 this.dst = value;
547             }
548
549         }
550
551
552         /**
553          * <p>Java class for anonymous complex type.
554          * <p>The following schema fragment specifies the expected content contained within this class.
555          * <pre>
556          * &lt;complexType>
557          *   &lt;complexContent>
558          *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
559          *       &lt;attribute name="src" type="{http://www.example.org/net/}portNumberType" />
560          *       &lt;attribute name="dst" type="{http://www.example.org/net/}portNumberType" />
561          *     &lt;/restriction>
562          *   &lt;/complexContent>
563          * &lt;/complexType>
564          * </pre>
565          */
566         @XmlAccessorType(XmlAccessType.FIELD)
567         @XmlType(name = "")
568         public static class Udp {
569
570             @XmlAttribute(name = "src")
571             protected Integer src;
572             @XmlAttribute(name = "dst")
573             protected Integer dst;
574
575             /**
576              * Gets the value of the src property.
577              * @return
578              *     possible object is
579              *     {@link Integer }
580              */
581             public Integer getSrc() {
582                 return src;
583             }
584
585             /**
586              * Sets the value of the src property.
587              * @param value
588              *     allowed object is
589              *     {@link Integer }
590              */
591             public void setSrc(Integer value) {
592                 this.src = value;
593             }
594
595             /**
596              * Gets the value of the dst property.
597              * @return
598              *     possible object is
599              *     {@link Integer }
600              */
601             public Integer getDst() {
602                 return dst;
603             }
604
605             /**
606              * Sets the value of the dst property.
607              * @param value
608              *     allowed object is
609              *     {@link Integer }
610              */
611             public void setDst(Integer value) {
612                 this.dst = value;
613             }
614
615         }
616
617     }
618
619 }