blob: 8df33452d7b40fcdc9b303ba7358e3400a639204 [file] [log] [blame]
Bharat saraswal9fab16b2016-09-23 23:27:24 +05301/*
2 * Copyright 2016-present Open Networking Laboratory
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
17package org.onosproject.yangutils.translator.tojava.utils;
18
19/**
20 * Represents method body types.
21 */
22enum MethodBodyTypes {
23
24 //Getter method body.
25 GETTER,
26
27 //Setter method body.
28 SETTER,
29
30 //Build method body.
31 BUILD,
32
33 //Constructor method body.
34 CONSTRUCTOR,
35
36 //Default constructor method body.
37 DEFAULT_CONSTRUCTOR,
38
39 //Hash code method body.
40 HASH_CODE,
41
42 //To string method body.
43 TO_STRING,
44
45 //Equals method body.
46 EQUALS,
47
48 //add to list method body.
49 ADD_TO_LIST,
50
51 //Augment map getter for full map.
52 AUGMENTED_MAP_GETTER,
53
54 //Augment map getter for value.
55 AUGMENTED_MAP_GET_VALUE,
56
57 //Augment map add
58 AUGMENTED_MAP_ADD,
59
60 //Manager methods
61 MANAGER_METHODS,
62
63 //Of method.
64 OF_METHOD,
65
66 //Hash code method
67 HASH_CODE_METHOD,
68
69 //Equals method.
70 EQUALS_METHOD,
71
72 //To string method
73 TO_STRING_METHOD,
74
75 //Enum method int value.
76 ENUM_METHOD_INT_VALUE,
77
78 //Enum method string value.
79 ENUM_METHOD_STRING_VALUE
80
81}