Update License text
[vnfsdk/compliance.git] / veslibrary / ves_javalibrary / evel_javalib2 / src / evel_javalibrary / att / com / EvelOption.java
1 package evel_javalibrary.att.com;\r
2 /*\r
3  * Unless otherwise specified, all software contained herein is\r
4  * Licensed under the Apache License, Version 2.0 (the "License");\r
5  * you may not use this file except in compliance with the License.\r
6  * You may obtain a copy of the License at\r
7  *        http://www.apache.org/licenses/LICENSE-2.0\r
8  *\r
9  * Unless required by applicable law or agreed to in writing, software\r
10  * distributed under the License is distributed on an "AS IS" BASIS,\r
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
12  * See the License for the specific language governing permissions and\r
13  * limitations under the License.\r
14  * \r
15  * \r
16  * Basic Evel Option root class to handle optional message fields\r
17  */\r
18 public class EvelOption {\r
19         \r
20         boolean is_set;//optional value setting\r
21         \r
22         public EvelOption()//default constructor\r
23         {\r
24                 is_set = false;\r
25         }\r
26         \r
27         public EvelOption(boolean val)\r
28         {\r
29                 is_set = val;\r
30         }\r
31         \r
32         public void set_option(boolean tf)//Setter\r
33         {\r
34                 is_set = tf;\r
35         }\r
36         \r
37         public boolean get_option(boolean tf)//Getter\r
38         {\r
39                 return is_set;\r
40         }\r
41 \r
42 }\r
43 \r
44         \r