blob: 2ffd282fb540f3013530ca4ad5fe40b69ff5b07f [file] [log] [blame]
Vinod Kumar S38046502016-03-23 15:30:27 +05301/*
Brian O'Connor5ab426f2016-04-09 01:19:45 -07002 * Copyright 2016-present Open Networking Laboratory
Vinod Kumar S38046502016-03-23 15:30:27 +05303 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17package org.onosproject.yangutils.translator.tojava;
18
19/**
Bharat saraswald9822e92016-04-05 15:13:44 +053020 * Represents type of temporary files generated.
Vinod Kumar S38046502016-03-23 15:30:27 +053021 */
22public final class GeneratedTempFileType {
23
24 /**
Gaurav Agrawal338735b2016-04-18 18:53:11 +053025 * Attributes definition temporary file.
Vinod Kumar S38046502016-03-23 15:30:27 +053026 */
27 public static final int ATTRIBUTES_MASK = 1;
28
29 /**
Gaurav Agrawal338735b2016-04-18 18:53:11 +053030 * Getter methods for interface.
Vinod Kumar S38046502016-03-23 15:30:27 +053031 */
32 public static final int GETTER_FOR_INTERFACE_MASK = 2;
33
34 /**
Gaurav Agrawal338735b2016-04-18 18:53:11 +053035 * Getter methods for class.
Vinod Kumar S38046502016-03-23 15:30:27 +053036 */
37 public static final int GETTER_FOR_CLASS_MASK = 4;
38
39 /**
Gaurav Agrawal338735b2016-04-18 18:53:11 +053040 * Setter methods for interface.
Vinod Kumar S38046502016-03-23 15:30:27 +053041 */
42 public static final int SETTER_FOR_INTERFACE_MASK = 8;
43
44 /**
Gaurav Agrawal338735b2016-04-18 18:53:11 +053045 * Setter methods for class.
Vinod Kumar S38046502016-03-23 15:30:27 +053046 */
47 public static final int SETTER_FOR_CLASS_MASK = 16;
48
49 /**
Gaurav Agrawal338735b2016-04-18 18:53:11 +053050 * Constructor method of class.
Vinod Kumar S38046502016-03-23 15:30:27 +053051 */
52 public static final int CONSTRUCTOR_IMPL_MASK = 32;
53
54 /**
Gaurav Agrawal338735b2016-04-18 18:53:11 +053055 * Hash code implementation of class.
Vinod Kumar S38046502016-03-23 15:30:27 +053056 */
57 public static final int HASH_CODE_IMPL_MASK = 64;
58
59 /**
Gaurav Agrawal338735b2016-04-18 18:53:11 +053060 * Equals implementation of class.
Vinod Kumar S38046502016-03-23 15:30:27 +053061 */
62 public static final int EQUALS_IMPL_MASK = 128;
63
64 /**
Gaurav Agrawal338735b2016-04-18 18:53:11 +053065 * To string implementation of class.
Vinod Kumar S38046502016-03-23 15:30:27 +053066 */
67 public static final int TO_STRING_IMPL_MASK = 256;
Gaurav Agrawal338735b2016-04-18 18:53:11 +053068
69 /**
70 * Of string implementation of class.
71 */
72 public static final int OF_STRING_IMPL_MASK = 512;
73
74 /**
75 * Constructor for type class like typedef, union.
76 */
77 public static final int CONSTRUCTOR_FOR_TYPE_MASK = 1024;
78
79 /**
80 * From string implementation of class.
81 */
Gaurav Agrawal56527662016-04-20 15:49:17 +053082 public static final int FROM_STRING_IMPL_MASK = 2048;
Gaurav Agrawal338735b2016-04-18 18:53:11 +053083
84 /**
Bharat saraswald72411a2016-04-19 01:00:16 +053085 * Enum implementation of class.
86 */
87 public static final int ENUM_IMPL_MASK = 4096;
88
89 /**
VinodKumarS-Huaweicb3a1f52016-05-10 17:58:57 +053090 * Rpc interface of module / sub module.
Gaurav Agrawal56527662016-04-20 15:49:17 +053091 */
VinodKumarS-Huaweicb3a1f52016-05-10 17:58:57 +053092 public static final int RPC_INTERFACE_MASK = 8192;
93
94 /**
95 * Rpc implementation of module / sub module.
96 */
97 public static final int RPC_IMPL_MASK = 16384;
Gaurav Agrawal56527662016-04-20 15:49:17 +053098
99 /**
Bharat saraswal33dfa012016-05-17 19:59:16 +0530100 * Event enum implementation of class.
101 */
102 public static final int EVENT_ENUM_MASK = 32768;
103
104 /**
105 * Event method implementation of class.
106 */
107 public static final int EVENT_METHOD_MASK = 65536;
108
109 /**
110 * Event subject attribute implementation of class.
111 */
112 public static final int EVENT_SUBJECT_ATTRIBUTE_MASK = 131072;
113
114 /**
115 * Event subject getter implementation of class.
116 */
117 public static final int EVENT_SUBJECT_GETTER_MASK = 262144;
118
119 /**
120 * Event subject setter implementation of class.
121 */
122 public static final int EVENT_SUBJECT_SETTER_MASK = 524288;
123
124 /**
Gaurav Agrawal338735b2016-04-18 18:53:11 +0530125 * Creates an instance of generated temp file type.
126 */
127 private GeneratedTempFileType() {
128 }
Vinod Kumar S38046502016-03-23 15:30:27 +0530129}