3b7bc68a2e4a50f99ed70a03e853f59598eb70f2
[openflowjava.git] / openflowjava-tools / src / main / java / org / opendaylight / openflowjava / tools / ConfigurationType.java
1
2 package org.opendaylight.openflowjava.tools;
3
4 import java.math.BigInteger;
5 import javax.xml.bind.annotation.XmlAccessType;
6 import javax.xml.bind.annotation.XmlAccessorType;
7 import javax.xml.bind.annotation.XmlAttribute;
8 import javax.xml.bind.annotation.XmlElement;
9 import javax.xml.bind.annotation.XmlSchemaType;
10 import javax.xml.bind.annotation.XmlType;
11
12
13 /**
14  * <p>Java class for configurationType complex type.
15  *
16  */
17 @XmlAccessorType(XmlAccessType.FIELD)
18 @XmlType(name = "configurationType", propOrder = {
19     "controllerIp",
20     "devicesCount",
21     "ssl",
22     "threads",
23     "port",
24     "timeout",
25     "freeze",
26     "sleep"
27 })
28 public class ConfigurationType {
29
30     @XmlElement(name = "controller-ip", required = true, defaultValue = "127.0.0.1")
31     String controllerIp;
32     @XmlElement(name = "devices-count", required = true, defaultValue = "1")
33     @XmlSchemaType(name = "positiveInteger")
34     BigInteger devicesCount;
35     @XmlElement(defaultValue = "false")
36     Boolean ssl;
37     @XmlElement(defaultValue = "1")
38     @XmlSchemaType(name = "positiveInteger")
39     BigInteger threads;
40     @XmlElement(required = true, defaultValue = "6653")
41     @XmlSchemaType(name = "positiveInteger")
42     BigInteger port;
43     @XmlElement(defaultValue = "1000")
44     @XmlSchemaType(name = "positiveInteger")
45     BigInteger timeout;
46     @XmlElement(defaultValue = "3")
47     @XmlSchemaType(name = "positiveInteger")
48     BigInteger freeze;
49     @XmlElement(defaultValue = "100")
50     Long sleep;
51     @XmlAttribute(name = "name", required = true)
52     String name;
53
54     /**
55      * Gets the value of the controllerIp property.
56      * 
57      * @return
58      *     possible object is
59      *     {@link String }
60      *     
61      */
62     public String getControllerIp() {
63         return controllerIp;
64     }
65
66     /**
67      * Gets the value of the devicesCount property.
68      * 
69      * @return
70      *     possible object is
71      *     {@link BigInteger }
72      *     
73      */
74     public BigInteger getDevicesCount() {
75         return devicesCount;
76     }
77
78     /**
79      * Gets the value of the ssl property.
80      * 
81      * @return
82      *     possible object is
83      *     {@link Boolean }
84      *     
85      */
86     public Boolean isSsl() {
87         return ssl;
88     }
89
90     /**
91      * Gets the value of the threads property.
92      * 
93      * @return
94      *     possible object is
95      *     {@link BigInteger }
96      *     
97      */
98     public BigInteger getThreads() {
99         return threads;
100     }
101
102     /**
103      * Gets the value of the port property.
104      * 
105      * @return
106      *     possible object is
107      *     {@link BigInteger }
108      *     
109      */
110     public BigInteger getPort() {
111         return port;
112     }
113
114     /**
115      * Gets the value of the timeout property.
116      * 
117      * @return
118      *     possible object is
119      *     {@link BigInteger }
120      *     
121      */
122     public BigInteger getTimeout() {
123         return timeout;
124     }
125
126     /**
127      * Gets the value of the freeze property.
128      * 
129      * @return
130      *     possible object is
131      *     {@link BigInteger }
132      *     
133      */
134     public BigInteger getFreeze() {
135         return freeze;
136     }
137
138     /**
139      * Gets the value of the sleep property.
140      * 
141      * @return
142      *     possible object is
143      *     {@link Long }
144      *     
145      */
146     public Long getSleep() {
147         return sleep;
148     }
149
150     /**
151      * Gets the value of the name property.
152      * 
153      * @return
154      *     possible object is
155      *     {@link String }
156      *     
157      */
158     public String getName() {
159         return name;
160     }
161
162 }