blob: 6f61e1039ec8da308c972704ccfff286b1f56edf [file] [log] [blame]
Vinod Kumar S9f26ae52016-03-23 15:30:27 +05301/*
Brian O'Connor0f7908b2016-04-09 01:19:45 -07002 * Copyright 2016-present Open Networking Laboratory
Vinod Kumar S9f26ae52016-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 saraswal63f26fb2016-04-05 15:13:44 +053020 * Represents type of temporary files generated.
Vinod Kumar S9f26ae52016-03-23 15:30:27 +053021 */
22public final class GeneratedTempFileType {
23
24 /**
Gaurav Agrawal97a5e1c2016-04-18 18:53:11 +053025 * Attributes definition temporary file.
Vinod Kumar S9f26ae52016-03-23 15:30:27 +053026 */
Gaurav Agrawal3b57f362016-09-07 13:16:35 +053027 public static final int ATTRIBUTES_MASK = 1; // 1 << 0
Vinod Kumar S9f26ae52016-03-23 15:30:27 +053028
29 /**
Gaurav Agrawal97a5e1c2016-04-18 18:53:11 +053030 * Getter methods for interface.
Vinod Kumar S9f26ae52016-03-23 15:30:27 +053031 */
Gaurav Agrawal3b57f362016-09-07 13:16:35 +053032 public static final int GETTER_FOR_INTERFACE_MASK = 1 << 1;
Vinod Kumar S9f26ae52016-03-23 15:30:27 +053033
34 /**
Gaurav Agrawal97a5e1c2016-04-18 18:53:11 +053035 * Getter methods for class.
Vinod Kumar S9f26ae52016-03-23 15:30:27 +053036 */
Gaurav Agrawal3b57f362016-09-07 13:16:35 +053037 public static final int GETTER_FOR_CLASS_MASK = 1 << 2;
Vinod Kumar S9f26ae52016-03-23 15:30:27 +053038
39 /**
Gaurav Agrawal97a5e1c2016-04-18 18:53:11 +053040 * Setter methods for interface.
Vinod Kumar S9f26ae52016-03-23 15:30:27 +053041 */
Gaurav Agrawal3b57f362016-09-07 13:16:35 +053042 public static final int SETTER_FOR_INTERFACE_MASK = 1 << 3;
Vinod Kumar S9f26ae52016-03-23 15:30:27 +053043
44 /**
Gaurav Agrawal97a5e1c2016-04-18 18:53:11 +053045 * Setter methods for class.
Vinod Kumar S9f26ae52016-03-23 15:30:27 +053046 */
Gaurav Agrawal3b57f362016-09-07 13:16:35 +053047 public static final int SETTER_FOR_CLASS_MASK = 1 << 4;
Vinod Kumar S9f26ae52016-03-23 15:30:27 +053048
49 /**
Gaurav Agrawal97a5e1c2016-04-18 18:53:11 +053050 * Constructor method of class.
Vinod Kumar S9f26ae52016-03-23 15:30:27 +053051 */
Gaurav Agrawal3b57f362016-09-07 13:16:35 +053052 public static final int CONSTRUCTOR_IMPL_MASK = 1 << 5;
Vinod Kumar S9f26ae52016-03-23 15:30:27 +053053
54 /**
Gaurav Agrawal97a5e1c2016-04-18 18:53:11 +053055 * Hash code implementation of class.
Vinod Kumar S9f26ae52016-03-23 15:30:27 +053056 */
Gaurav Agrawal3b57f362016-09-07 13:16:35 +053057 public static final int HASH_CODE_IMPL_MASK = 1 << 6;
Vinod Kumar S9f26ae52016-03-23 15:30:27 +053058
59 /**
Gaurav Agrawal97a5e1c2016-04-18 18:53:11 +053060 * Equals implementation of class.
Vinod Kumar S9f26ae52016-03-23 15:30:27 +053061 */
Gaurav Agrawal3b57f362016-09-07 13:16:35 +053062 public static final int EQUALS_IMPL_MASK = 1 << 7;
Vinod Kumar S9f26ae52016-03-23 15:30:27 +053063
64 /**
Gaurav Agrawal97a5e1c2016-04-18 18:53:11 +053065 * To string implementation of class.
Vinod Kumar S9f26ae52016-03-23 15:30:27 +053066 */
Gaurav Agrawal3b57f362016-09-07 13:16:35 +053067 public static final int TO_STRING_IMPL_MASK = 1 << 8;
Gaurav Agrawal97a5e1c2016-04-18 18:53:11 +053068
69 /**
70 * Of string implementation of class.
71 */
Gaurav Agrawal3b57f362016-09-07 13:16:35 +053072 public static final int OF_STRING_IMPL_MASK = 1 << 9;
Gaurav Agrawal97a5e1c2016-04-18 18:53:11 +053073
74 /**
75 * Constructor for type class like typedef, union.
76 */
Gaurav Agrawal3b57f362016-09-07 13:16:35 +053077 public static final int CONSTRUCTOR_FOR_TYPE_MASK = 1 << 10;
Gaurav Agrawal97a5e1c2016-04-18 18:53:11 +053078
79 /**
80 * From string implementation of class.
81 */
Gaurav Agrawal3b57f362016-09-07 13:16:35 +053082 public static final int FROM_STRING_IMPL_MASK = 1 << 11;
Gaurav Agrawal97a5e1c2016-04-18 18:53:11 +053083
84 /**
Bharat saraswal68fa0d12016-04-19 01:00:16 +053085 * Enum implementation of class.
86 */
Gaurav Agrawal3b57f362016-09-07 13:16:35 +053087 public static final int ENUM_IMPL_MASK = 1 << 12;
Bharat saraswal68fa0d12016-04-19 01:00:16 +053088
89 /**
VinodKumarS-Huawei6266db32016-05-10 17:58:57 +053090 * Rpc interface of module / sub module.
Gaurav Agrawal02a60de2016-04-20 15:49:17 +053091 */
Gaurav Agrawal3b57f362016-09-07 13:16:35 +053092 public static final int RPC_INTERFACE_MASK = 1 << 13;
VinodKumarS-Huawei6266db32016-05-10 17:58:57 +053093
94 /**
95 * Rpc implementation of module / sub module.
96 */
Gaurav Agrawal3b57f362016-09-07 13:16:35 +053097 public static final int RPC_IMPL_MASK = 1 << 14;
Gaurav Agrawal02a60de2016-04-20 15:49:17 +053098
99 /**
Bharat saraswal715d3fc2016-05-17 19:59:16 +0530100 * Event enum implementation of class.
101 */
Gaurav Agrawal3b57f362016-09-07 13:16:35 +0530102 public static final int EVENT_ENUM_MASK = 1 << 15;
Bharat saraswal715d3fc2016-05-17 19:59:16 +0530103
104 /**
105 * Event method implementation of class.
106 */
Gaurav Agrawal3b57f362016-09-07 13:16:35 +0530107 public static final int EVENT_METHOD_MASK = 1 << 16;
Bharat saraswal715d3fc2016-05-17 19:59:16 +0530108
109 /**
110 * Event subject attribute implementation of class.
111 */
Gaurav Agrawal3b57f362016-09-07 13:16:35 +0530112 public static final int EVENT_SUBJECT_ATTRIBUTE_MASK = 1 << 17;
Bharat saraswal715d3fc2016-05-17 19:59:16 +0530113
114 /**
115 * Event subject getter implementation of class.
116 */
Gaurav Agrawal3b57f362016-09-07 13:16:35 +0530117 public static final int EVENT_SUBJECT_GETTER_MASK = 1 << 18;
Bharat saraswal715d3fc2016-05-17 19:59:16 +0530118
119 /**
120 * Event subject setter implementation of class.
121 */
Gaurav Agrawal3b57f362016-09-07 13:16:35 +0530122 public static final int EVENT_SUBJECT_SETTER_MASK = 1 << 19;
Bharat saraswal715d3fc2016-05-17 19:59:16 +0530123
124 /**
Bharat saraswal8beac342016-08-04 02:00:03 +0530125 * Add to list method interface for class.
126 */
Gaurav Agrawal3b57f362016-09-07 13:16:35 +0530127 public static final int ADD_TO_LIST_INTERFACE_MASK = 1 << 20;
Bharat saraswal8beac342016-08-04 02:00:03 +0530128
129 /**
130 * Add to list method implementation for class.
131 */
Gaurav Agrawal3b57f362016-09-07 13:16:35 +0530132 public static final int ADD_TO_LIST_IMPL_MASK = 1 << 21;
Bharat saraswal8beac342016-08-04 02:00:03 +0530133
134 /**
135 * Leaf identifier enum attributes for class.
136 */
Gaurav Agrawal3b57f362016-09-07 13:16:35 +0530137 public static final int LEAF_IDENTIFIER_ENUM_ATTRIBUTES_MASK = 1 << 22;
Bharat saraswal8beac342016-08-04 02:00:03 +0530138
139 /**
Bharat saraswale50edca2016-08-05 01:58:25 +0530140 * Is filter content match for leaves class.
141 */
Gaurav Agrawal3b57f362016-09-07 13:16:35 +0530142 public static final int FILTER_CONTENT_MATCH_FOR_LEAF_MASK = 1 << 23;
Bharat saraswale50edca2016-08-05 01:58:25 +0530143
144 /**
145 * Is filter content match for leaf lists class.
146 */
Gaurav Agrawal3b57f362016-09-07 13:16:35 +0530147 public static final int FILTER_CONTENT_MATCH_FOR_LEAF_LIST_MASK = 1 << 24;
Bharat saraswale50edca2016-08-05 01:58:25 +0530148
149 /**
150 * Is filter content match for nodes class.
151 */
Gaurav Agrawal3b57f362016-09-07 13:16:35 +0530152 public static final int FILTER_CONTENT_MATCH_FOR_NODES_MASK = 1 << 25;
Bharat saraswale50edca2016-08-05 01:58:25 +0530153
154 /**
155 * Edit config class content for class.
156 */
Gaurav Agrawal3b57f362016-09-07 13:16:35 +0530157 public static final int EDIT_CONTENT_MASK = 1 << 26;
Bharat saraswale50edca2016-08-05 01:58:25 +0530158
Gaurav Agrawal3b57f362016-09-07 13:16:35 +0530159 // No instantiation.
Gaurav Agrawal97a5e1c2016-04-18 18:53:11 +0530160 private GeneratedTempFileType() {
161 }
Vinod Kumar S9f26ae52016-03-23 15:30:27 +0530162}