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