blob: 5451ea3ba16b6511e9c614207f48ecb022a34777 [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 */
VinodKumarS-Huawei9a91b482016-08-19 23:22:59 +053027 public static final int ATTRIBUTES_MASK = 1; //0x1
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 */
VinodKumarS-Huawei9a91b482016-08-19 23:22:59 +053032 public static final int GETTER_FOR_INTERFACE_MASK = 2; //0x2
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 */
VinodKumarS-Huawei9a91b482016-08-19 23:22:59 +053037 public static final int GETTER_FOR_CLASS_MASK = 4; //0x4
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 */
VinodKumarS-Huawei9a91b482016-08-19 23:22:59 +053042 public static final int SETTER_FOR_INTERFACE_MASK = 8; //0x8
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 */
VinodKumarS-Huawei9a91b482016-08-19 23:22:59 +053047 public static final int SETTER_FOR_CLASS_MASK = 16; //0x10
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 */
VinodKumarS-Huawei9a91b482016-08-19 23:22:59 +053052 public static final int CONSTRUCTOR_IMPL_MASK = 32; //0x20
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 */
VinodKumarS-Huawei9a91b482016-08-19 23:22:59 +053057 public static final int HASH_CODE_IMPL_MASK = 64; //0X40
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 */
VinodKumarS-Huawei9a91b482016-08-19 23:22:59 +053062 public static final int EQUALS_IMPL_MASK = 128; //0x80
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 */
VinodKumarS-Huawei9a91b482016-08-19 23:22:59 +053067 public static final int TO_STRING_IMPL_MASK = 256; //0x100
Gaurav Agrawal97a5e1c2016-04-18 18:53:11 +053068
69 /**
70 * Of string implementation of class.
71 */
VinodKumarS-Huawei9a91b482016-08-19 23:22:59 +053072 public static final int OF_STRING_IMPL_MASK = 512; //0x200
Gaurav Agrawal97a5e1c2016-04-18 18:53:11 +053073
74 /**
75 * Constructor for type class like typedef, union.
76 */
VinodKumarS-Huawei9a91b482016-08-19 23:22:59 +053077 public static final int CONSTRUCTOR_FOR_TYPE_MASK = 1024; //0x400
Gaurav Agrawal97a5e1c2016-04-18 18:53:11 +053078
79 /**
80 * From string implementation of class.
81 */
VinodKumarS-Huawei9a91b482016-08-19 23:22:59 +053082 public static final int FROM_STRING_IMPL_MASK = 2048; //0x800
Gaurav Agrawal97a5e1c2016-04-18 18:53:11 +053083
84 /**
Bharat saraswal68fa0d12016-04-19 01:00:16 +053085 * Enum implementation of class.
86 */
VinodKumarS-Huawei9a91b482016-08-19 23:22:59 +053087 public static final int ENUM_IMPL_MASK = 4096; //0x1000
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 */
VinodKumarS-Huawei9a91b482016-08-19 23:22:59 +053092 public static final int RPC_INTERFACE_MASK = 8192; //0x2000
VinodKumarS-Huawei6266db32016-05-10 17:58:57 +053093
94 /**
95 * Rpc implementation of module / sub module.
96 */
VinodKumarS-Huawei9a91b482016-08-19 23:22:59 +053097 public static final int RPC_IMPL_MASK = 16384; //0x4000
Gaurav Agrawal02a60de2016-04-20 15:49:17 +053098
99 /**
Bharat saraswal715d3fc2016-05-17 19:59:16 +0530100 * Event enum implementation of class.
101 */
VinodKumarS-Huawei9a91b482016-08-19 23:22:59 +0530102 public static final int EVENT_ENUM_MASK = 32768; //0X8000
Bharat saraswal715d3fc2016-05-17 19:59:16 +0530103
104 /**
105 * Event method implementation of class.
106 */
VinodKumarS-Huawei9a91b482016-08-19 23:22:59 +0530107 public static final int EVENT_METHOD_MASK = 65536; //0x10000
Bharat saraswal715d3fc2016-05-17 19:59:16 +0530108
109 /**
110 * Event subject attribute implementation of class.
111 */
VinodKumarS-Huawei9a91b482016-08-19 23:22:59 +0530112 public static final int EVENT_SUBJECT_ATTRIBUTE_MASK = 131072; //0X20000
Bharat saraswal715d3fc2016-05-17 19:59:16 +0530113
114 /**
115 * Event subject getter implementation of class.
116 */
VinodKumarS-Huawei9a91b482016-08-19 23:22:59 +0530117 public static final int EVENT_SUBJECT_GETTER_MASK = 262144; //0x40000
Bharat saraswal715d3fc2016-05-17 19:59:16 +0530118
119 /**
120 * Event subject setter implementation of class.
121 */
VinodKumarS-Huawei9a91b482016-08-19 23:22:59 +0530122 public static final int EVENT_SUBJECT_SETTER_MASK = 524288; //80000
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 */
VinodKumarS-Huawei9a91b482016-08-19 23:22:59 +0530127 public static final int ADD_TO_LIST_INTERFACE_MASK = 1048576; //0X100000
Bharat saraswal8beac342016-08-04 02:00:03 +0530128
129 /**
130 * Add to list method implementation for class.
131 */
VinodKumarS-Huawei9a91b482016-08-19 23:22:59 +0530132 public static final int ADD_TO_LIST_IMPL_MASK = 2097152; //0X200000
Bharat saraswal8beac342016-08-04 02:00:03 +0530133
134 /**
135 * Leaf identifier enum attributes for class.
136 */
VinodKumarS-Huawei9a91b482016-08-19 23:22:59 +0530137 public static final int LEAF_IDENTIFIER_ENUM_ATTRIBUTES_MASK = 4194304; //0X400000
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 */
VinodKumarS-Huawei9a91b482016-08-19 23:22:59 +0530142 public static final int FILTER_CONTENT_MATCH_FOR_LEAF_MASK = 8388608; //0X800000
Bharat saraswale50edca2016-08-05 01:58:25 +0530143
144 /**
145 * Is filter content match for leaf lists class.
146 */
VinodKumarS-Huawei9a91b482016-08-19 23:22:59 +0530147 public static final int FILTER_CONTENT_MATCH_FOR_LEAF_LIST_MASK = 16777216; //0X1000000
Bharat saraswale50edca2016-08-05 01:58:25 +0530148
149 /**
150 * Is filter content match for nodes class.
151 */
VinodKumarS-Huawei9a91b482016-08-19 23:22:59 +0530152 public static final int FILTER_CONTENT_MATCH_FOR_NODES_MASK = 33554432; //0X2000000
Bharat saraswale50edca2016-08-05 01:58:25 +0530153
154 /**
155 * Edit config class content for class.
156 */
VinodKumarS-Huawei9a91b482016-08-19 23:22:59 +0530157 public static final int EDIT_CONTENT_MASK = 67108864; //0X4000000
Bharat saraswale50edca2016-08-05 01:58:25 +0530158
159 /**
Gaurav Agrawal97a5e1c2016-04-18 18:53:11 +0530160 * Creates an instance of generated temp file type.
161 */
162 private GeneratedTempFileType() {
163 }
Vinod Kumar S9f26ae52016-03-23 15:30:27 +0530164}