Vinod Kumar S | 9f26ae5 | 2016-03-23 15:30:27 +0530 | [diff] [blame] | 1 | /* |
Brian O'Connor | 0f7908b | 2016-04-09 01:19:45 -0700 | [diff] [blame] | 2 | * Copyright 2016-present Open Networking Laboratory |
Vinod Kumar S | 9f26ae5 | 2016-03-23 15:30:27 +0530 | [diff] [blame] | 3 | * |
| 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 | |
| 17 | package org.onosproject.yangutils.translator.tojava; |
| 18 | |
| 19 | /** |
Bharat saraswal | 63f26fb | 2016-04-05 15:13:44 +0530 | [diff] [blame] | 20 | * Represents type of temporary files generated. |
Vinod Kumar S | 9f26ae5 | 2016-03-23 15:30:27 +0530 | [diff] [blame] | 21 | */ |
| 22 | public final class GeneratedTempFileType { |
| 23 | |
| 24 | /** |
Gaurav Agrawal | 97a5e1c | 2016-04-18 18:53:11 +0530 | [diff] [blame] | 25 | * Attributes definition temporary file. |
Vinod Kumar S | 9f26ae5 | 2016-03-23 15:30:27 +0530 | [diff] [blame] | 26 | */ |
| 27 | public static final int ATTRIBUTES_MASK = 1; |
| 28 | |
| 29 | /** |
Gaurav Agrawal | 97a5e1c | 2016-04-18 18:53:11 +0530 | [diff] [blame] | 30 | * Getter methods for interface. |
Vinod Kumar S | 9f26ae5 | 2016-03-23 15:30:27 +0530 | [diff] [blame] | 31 | */ |
| 32 | public static final int GETTER_FOR_INTERFACE_MASK = 2; |
| 33 | |
| 34 | /** |
Gaurav Agrawal | 97a5e1c | 2016-04-18 18:53:11 +0530 | [diff] [blame] | 35 | * Getter methods for class. |
Vinod Kumar S | 9f26ae5 | 2016-03-23 15:30:27 +0530 | [diff] [blame] | 36 | */ |
| 37 | public static final int GETTER_FOR_CLASS_MASK = 4; |
| 38 | |
| 39 | /** |
Gaurav Agrawal | 97a5e1c | 2016-04-18 18:53:11 +0530 | [diff] [blame] | 40 | * Setter methods for interface. |
Vinod Kumar S | 9f26ae5 | 2016-03-23 15:30:27 +0530 | [diff] [blame] | 41 | */ |
| 42 | public static final int SETTER_FOR_INTERFACE_MASK = 8; |
| 43 | |
| 44 | /** |
Gaurav Agrawal | 97a5e1c | 2016-04-18 18:53:11 +0530 | [diff] [blame] | 45 | * Setter methods for class. |
Vinod Kumar S | 9f26ae5 | 2016-03-23 15:30:27 +0530 | [diff] [blame] | 46 | */ |
| 47 | public static final int SETTER_FOR_CLASS_MASK = 16; |
| 48 | |
| 49 | /** |
Gaurav Agrawal | 97a5e1c | 2016-04-18 18:53:11 +0530 | [diff] [blame] | 50 | * Constructor method of class. |
Vinod Kumar S | 9f26ae5 | 2016-03-23 15:30:27 +0530 | [diff] [blame] | 51 | */ |
| 52 | public static final int CONSTRUCTOR_IMPL_MASK = 32; |
| 53 | |
| 54 | /** |
Gaurav Agrawal | 97a5e1c | 2016-04-18 18:53:11 +0530 | [diff] [blame] | 55 | * Hash code implementation of class. |
Vinod Kumar S | 9f26ae5 | 2016-03-23 15:30:27 +0530 | [diff] [blame] | 56 | */ |
| 57 | public static final int HASH_CODE_IMPL_MASK = 64; |
| 58 | |
| 59 | /** |
Gaurav Agrawal | 97a5e1c | 2016-04-18 18:53:11 +0530 | [diff] [blame] | 60 | * Equals implementation of class. |
Vinod Kumar S | 9f26ae5 | 2016-03-23 15:30:27 +0530 | [diff] [blame] | 61 | */ |
| 62 | public static final int EQUALS_IMPL_MASK = 128; |
| 63 | |
| 64 | /** |
Gaurav Agrawal | 97a5e1c | 2016-04-18 18:53:11 +0530 | [diff] [blame] | 65 | * To string implementation of class. |
Vinod Kumar S | 9f26ae5 | 2016-03-23 15:30:27 +0530 | [diff] [blame] | 66 | */ |
| 67 | public static final int TO_STRING_IMPL_MASK = 256; |
Gaurav Agrawal | 97a5e1c | 2016-04-18 18:53:11 +0530 | [diff] [blame] | 68 | |
| 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 | */ |
| 82 | public static final int UNION_FROM_STRING_IMPL_MASK = 2048; |
| 83 | |
| 84 | /** |
| 85 | * Creates an instance of generated temp file type. |
| 86 | */ |
| 87 | private GeneratedTempFileType() { |
| 88 | } |
Vinod Kumar S | 9f26ae5 | 2016-03-23 15:30:27 +0530 | [diff] [blame] | 89 | } |