Vinod Kumar S | 5a39e01 | 2016-02-16 01:37:16 +0530 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2016 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 | package org.onosproject.yangutils.datamodel; |
| 17 | |
| 18 | import java.util.LinkedList; |
| 19 | import java.util.List; |
| 20 | |
| 21 | import org.onosproject.yangutils.datamodel.exceptions.DataModelException; |
| 22 | import org.onosproject.yangutils.parser.Parsable; |
Gaurav Agrawal | db828bd | 2016-02-27 03:57:50 +0530 | [diff] [blame] | 23 | import org.onosproject.yangutils.utils.YangConstructType; |
Bharat saraswal | 5e3c45c | 2016-02-22 22:15:21 +0530 | [diff] [blame] | 24 | import org.onosproject.yangutils.translator.CachedFileHandle; |
Vinod Kumar S | 5a39e01 | 2016-02-16 01:37:16 +0530 | [diff] [blame] | 25 | |
| 26 | /*- |
| 27 | * Reference RFC 6020. |
| 28 | * |
| 29 | * The "augment" statement allows a module or submodule to add to the |
| 30 | * schema tree defined in an external module, or the current module and |
| 31 | * its submodules, and to add to the nodes from a grouping in a "uses" |
| 32 | * statement. The argument is a string that identifies a node in the |
| 33 | * schema tree. This node is called the augment's target node. The |
| 34 | * target node MUST be either a container, list, choice, case, input, |
| 35 | * output, or notification node. It is augmented with the nodes defined |
| 36 | * in the sub-statements that follow the "augment" statement. |
| 37 | * |
| 38 | * The argument string is a schema node identifier. |
| 39 | * If the "augment" statement is on the top level in a module or |
| 40 | * submodule, the absolute form of a schema node identifier |
| 41 | * MUST be used. If the "augment" statement is a sub-statement to the |
| 42 | * "uses" statement, the descendant form MUST be used. |
| 43 | * |
| 44 | * If the target node is a container, list, case, input, output, or |
| 45 | * notification node, the "container", "leaf", "list", "leaf-list", |
| 46 | * "uses", and "choice" statements can be used within the "augment" |
| 47 | * statement. |
| 48 | * |
| 49 | * If the target node is a choice node, the "case" statement, or a case |
| 50 | * shorthand statement can be used within the "augment" statement. |
| 51 | * |
| 52 | * If the target node is in another module, then nodes added by the |
| 53 | * augmentation MUST NOT be mandatory nodes. |
| 54 | * |
| 55 | * The "augment" statement MUST NOT add multiple nodes with the same |
| 56 | * name from the same module to the target node. |
| 57 | * The augment's sub-statements |
| 58 | * |
| 59 | * +--------------+---------+-------------+------------------+ |
| 60 | * | substatement | section | cardinality |data model mapping| |
| 61 | * +--------------+---------+-------------+------------------+ |
| 62 | * | anyxml | 7.10 | 0..n |-not supported | |
| 63 | * | case | 7.9.2 | 0..n |-child nodes | |
| 64 | * | choice | 7.9 | 0..n |-child nodes | |
| 65 | * | container | 7.5 | 0..n |-child nodes | |
| 66 | * | description | 7.19.3 | 0..1 |-string | |
| 67 | * | if-feature | 7.18.2 | 0..n |-TODO | |
| 68 | * | leaf | 7.6 | 0..n |-YangLeaf | |
| 69 | * | leaf-list | 7.7 | 0..n |-YangLeafList | |
| 70 | * | list | 7.8 | 0..n |-child nodes | |
| 71 | * | reference | 7.19.4 | 0..1 |-String | |
| 72 | * | status | 7.19.2 | 0..1 |-YangStatus | |
| 73 | * | uses | 7.12 | 0..n |-child nodes | |
| 74 | * | when | 7.19.5 | 0..1 |-TODO | |
| 75 | * +--------------+---------+-------------+------------------+ |
| 76 | */ |
| 77 | /** |
| 78 | * Data model node to maintain information defined in YANG augment. |
| 79 | */ |
Bharat saraswal | 9745996 | 2016-02-20 21:57:16 +0530 | [diff] [blame] | 80 | public class YangAugment extends YangNode implements YangLeavesHolder, YangCommonInfo, Parsable { |
Vinod Kumar S | 5a39e01 | 2016-02-16 01:37:16 +0530 | [diff] [blame] | 81 | |
| 82 | /** |
| 83 | * Augment target node. |
| 84 | */ |
| 85 | private String targetNode; |
| 86 | |
| 87 | /** |
Gaurav Agrawal | db828bd | 2016-02-27 03:57:50 +0530 | [diff] [blame] | 88 | * Description of augment. |
Vinod Kumar S | 5a39e01 | 2016-02-16 01:37:16 +0530 | [diff] [blame] | 89 | */ |
| 90 | private String description; |
| 91 | |
| 92 | /** |
| 93 | * List of leaves. |
| 94 | */ |
Vinod Kumar S | c26bf19 | 2016-02-23 22:36:57 +0530 | [diff] [blame] | 95 | private List<YangLeaf> listOfLeaf; |
Vinod Kumar S | 5a39e01 | 2016-02-16 01:37:16 +0530 | [diff] [blame] | 96 | |
| 97 | /** |
| 98 | * List of leaf-lists. |
| 99 | */ |
Vinod Kumar S | c26bf19 | 2016-02-23 22:36:57 +0530 | [diff] [blame] | 100 | private List<YangLeafList> listOfLeafList; |
Vinod Kumar S | 5a39e01 | 2016-02-16 01:37:16 +0530 | [diff] [blame] | 101 | |
| 102 | /** |
Gaurav Agrawal | db828bd | 2016-02-27 03:57:50 +0530 | [diff] [blame] | 103 | * Reference of the YANG augment. |
Vinod Kumar S | 5a39e01 | 2016-02-16 01:37:16 +0530 | [diff] [blame] | 104 | */ |
| 105 | private String reference; |
| 106 | |
| 107 | /** |
| 108 | * Status of the node. |
| 109 | */ |
| 110 | private YangStatusType status; |
| 111 | |
| 112 | /** |
Gaurav Agrawal | db828bd | 2016-02-27 03:57:50 +0530 | [diff] [blame] | 113 | * Package of the generated java code. |
Vinod Kumar S | c26bf19 | 2016-02-23 22:36:57 +0530 | [diff] [blame] | 114 | */ |
| 115 | private String pkg; |
| 116 | |
| 117 | /** |
Vinod Kumar S | 5a39e01 | 2016-02-16 01:37:16 +0530 | [diff] [blame] | 118 | * Create a YANG augment node. |
| 119 | */ |
| 120 | public YangAugment() { |
| 121 | super(YangNodeType.AUGMENT_NODE); |
| 122 | } |
| 123 | |
| 124 | /** |
| 125 | * Get the augmented node. |
| 126 | * |
Gaurav Agrawal | db828bd | 2016-02-27 03:57:50 +0530 | [diff] [blame] | 127 | * @return the augmented node |
Vinod Kumar S | 5a39e01 | 2016-02-16 01:37:16 +0530 | [diff] [blame] | 128 | */ |
| 129 | public String getTargetNode() { |
| 130 | return targetNode; |
| 131 | } |
| 132 | |
| 133 | /** |
| 134 | * Set the augmented node. |
| 135 | * |
Gaurav Agrawal | db828bd | 2016-02-27 03:57:50 +0530 | [diff] [blame] | 136 | * @param targetNode the augmented node |
Vinod Kumar S | 5a39e01 | 2016-02-16 01:37:16 +0530 | [diff] [blame] | 137 | */ |
| 138 | public void setTargetNode(String targetNode) { |
| 139 | this.targetNode = targetNode; |
| 140 | } |
| 141 | |
| 142 | /** |
| 143 | * Get the description. |
| 144 | * |
Gaurav Agrawal | db828bd | 2016-02-27 03:57:50 +0530 | [diff] [blame] | 145 | * @return the description |
Vinod Kumar S | 5a39e01 | 2016-02-16 01:37:16 +0530 | [diff] [blame] | 146 | */ |
Bharat saraswal | 9745996 | 2016-02-20 21:57:16 +0530 | [diff] [blame] | 147 | @Override |
Vinod Kumar S | 5a39e01 | 2016-02-16 01:37:16 +0530 | [diff] [blame] | 148 | public String getDescription() { |
| 149 | return description; |
| 150 | } |
| 151 | |
| 152 | /** |
| 153 | * Set the description. |
| 154 | * |
Gaurav Agrawal | db828bd | 2016-02-27 03:57:50 +0530 | [diff] [blame] | 155 | * @param description set the description |
Vinod Kumar S | 5a39e01 | 2016-02-16 01:37:16 +0530 | [diff] [blame] | 156 | */ |
Bharat saraswal | 9745996 | 2016-02-20 21:57:16 +0530 | [diff] [blame] | 157 | @Override |
Vinod Kumar S | 5a39e01 | 2016-02-16 01:37:16 +0530 | [diff] [blame] | 158 | public void setDescription(String description) { |
| 159 | this.description = description; |
| 160 | } |
| 161 | |
| 162 | /** |
| 163 | * Get the list of leaves. |
| 164 | * |
Gaurav Agrawal | db828bd | 2016-02-27 03:57:50 +0530 | [diff] [blame] | 165 | * @return the list of leaves |
Vinod Kumar S | 5a39e01 | 2016-02-16 01:37:16 +0530 | [diff] [blame] | 166 | */ |
Bharat saraswal | 9745996 | 2016-02-20 21:57:16 +0530 | [diff] [blame] | 167 | @Override |
Vinod Kumar S | c26bf19 | 2016-02-23 22:36:57 +0530 | [diff] [blame] | 168 | public List<YangLeaf> getListOfLeaf() { |
Vinod Kumar S | 5a39e01 | 2016-02-16 01:37:16 +0530 | [diff] [blame] | 169 | return listOfLeaf; |
| 170 | } |
| 171 | |
| 172 | /** |
| 173 | * Set the list of leaves. |
| 174 | * |
Gaurav Agrawal | db828bd | 2016-02-27 03:57:50 +0530 | [diff] [blame] | 175 | * @param leafsList the list of leaf to set |
Vinod Kumar S | 5a39e01 | 2016-02-16 01:37:16 +0530 | [diff] [blame] | 176 | */ |
Vinod Kumar S | c26bf19 | 2016-02-23 22:36:57 +0530 | [diff] [blame] | 177 | private void setListOfLeaf(List<YangLeaf> leafsList) { |
Vinod Kumar S | 5a39e01 | 2016-02-16 01:37:16 +0530 | [diff] [blame] | 178 | listOfLeaf = leafsList; |
| 179 | } |
| 180 | |
| 181 | /** |
| 182 | * Add a leaf. |
| 183 | * |
Gaurav Agrawal | db828bd | 2016-02-27 03:57:50 +0530 | [diff] [blame] | 184 | * @param leaf the leaf to be added |
Vinod Kumar S | 5a39e01 | 2016-02-16 01:37:16 +0530 | [diff] [blame] | 185 | */ |
Bharat saraswal | 9745996 | 2016-02-20 21:57:16 +0530 | [diff] [blame] | 186 | @Override |
Vinod Kumar S | c26bf19 | 2016-02-23 22:36:57 +0530 | [diff] [blame] | 187 | public void addLeaf(YangLeaf leaf) { |
Vinod Kumar S | 5a39e01 | 2016-02-16 01:37:16 +0530 | [diff] [blame] | 188 | if (getListOfLeaf() == null) { |
Vinod Kumar S | c26bf19 | 2016-02-23 22:36:57 +0530 | [diff] [blame] | 189 | setListOfLeaf(new LinkedList<YangLeaf>()); |
Vinod Kumar S | 5a39e01 | 2016-02-16 01:37:16 +0530 | [diff] [blame] | 190 | } |
| 191 | |
| 192 | getListOfLeaf().add(leaf); |
| 193 | } |
| 194 | |
| 195 | /** |
| 196 | * Get the list of leaf-list. |
| 197 | * |
Gaurav Agrawal | db828bd | 2016-02-27 03:57:50 +0530 | [diff] [blame] | 198 | * @return the list of leaf-list |
Vinod Kumar S | 5a39e01 | 2016-02-16 01:37:16 +0530 | [diff] [blame] | 199 | */ |
Bharat saraswal | 9745996 | 2016-02-20 21:57:16 +0530 | [diff] [blame] | 200 | @Override |
Vinod Kumar S | c26bf19 | 2016-02-23 22:36:57 +0530 | [diff] [blame] | 201 | public List<YangLeafList> getListOfLeafList() { |
Vinod Kumar S | 5a39e01 | 2016-02-16 01:37:16 +0530 | [diff] [blame] | 202 | return listOfLeafList; |
| 203 | } |
| 204 | |
| 205 | /** |
| 206 | * Set the list of leaf-list. |
| 207 | * |
Gaurav Agrawal | db828bd | 2016-02-27 03:57:50 +0530 | [diff] [blame] | 208 | * @param listOfLeafList the list of leaf-list to set |
Vinod Kumar S | 5a39e01 | 2016-02-16 01:37:16 +0530 | [diff] [blame] | 209 | */ |
Vinod Kumar S | c26bf19 | 2016-02-23 22:36:57 +0530 | [diff] [blame] | 210 | private void setListOfLeafList(List<YangLeafList> listOfLeafList) { |
Vinod Kumar S | 5a39e01 | 2016-02-16 01:37:16 +0530 | [diff] [blame] | 211 | this.listOfLeafList = listOfLeafList; |
| 212 | } |
| 213 | |
| 214 | /** |
| 215 | * Add a leaf-list. |
| 216 | * |
Gaurav Agrawal | db828bd | 2016-02-27 03:57:50 +0530 | [diff] [blame] | 217 | * @param leafList the leaf-list to be added |
Vinod Kumar S | 5a39e01 | 2016-02-16 01:37:16 +0530 | [diff] [blame] | 218 | */ |
Bharat saraswal | 9745996 | 2016-02-20 21:57:16 +0530 | [diff] [blame] | 219 | @Override |
Vinod Kumar S | c26bf19 | 2016-02-23 22:36:57 +0530 | [diff] [blame] | 220 | public void addLeafList(YangLeafList leafList) { |
Vinod Kumar S | 5a39e01 | 2016-02-16 01:37:16 +0530 | [diff] [blame] | 221 | if (getListOfLeafList() == null) { |
Vinod Kumar S | c26bf19 | 2016-02-23 22:36:57 +0530 | [diff] [blame] | 222 | setListOfLeafList(new LinkedList<YangLeafList>()); |
Vinod Kumar S | 5a39e01 | 2016-02-16 01:37:16 +0530 | [diff] [blame] | 223 | } |
| 224 | |
| 225 | getListOfLeafList().add(leafList); |
| 226 | } |
| 227 | |
| 228 | /** |
| 229 | * Get the textual reference. |
| 230 | * |
Gaurav Agrawal | db828bd | 2016-02-27 03:57:50 +0530 | [diff] [blame] | 231 | * @return the reference |
Vinod Kumar S | 5a39e01 | 2016-02-16 01:37:16 +0530 | [diff] [blame] | 232 | */ |
Bharat saraswal | 9745996 | 2016-02-20 21:57:16 +0530 | [diff] [blame] | 233 | @Override |
Vinod Kumar S | 5a39e01 | 2016-02-16 01:37:16 +0530 | [diff] [blame] | 234 | public String getReference() { |
| 235 | return reference; |
| 236 | } |
| 237 | |
| 238 | /** |
| 239 | * Set the textual reference. |
| 240 | * |
Gaurav Agrawal | db828bd | 2016-02-27 03:57:50 +0530 | [diff] [blame] | 241 | * @param reference the reference to set |
Vinod Kumar S | 5a39e01 | 2016-02-16 01:37:16 +0530 | [diff] [blame] | 242 | */ |
Bharat saraswal | 9745996 | 2016-02-20 21:57:16 +0530 | [diff] [blame] | 243 | @Override |
Vinod Kumar S | 5a39e01 | 2016-02-16 01:37:16 +0530 | [diff] [blame] | 244 | public void setReference(String reference) { |
| 245 | this.reference = reference; |
| 246 | } |
| 247 | |
| 248 | /** |
| 249 | * Get the status. |
| 250 | * |
Gaurav Agrawal | db828bd | 2016-02-27 03:57:50 +0530 | [diff] [blame] | 251 | * @return the status |
Vinod Kumar S | 5a39e01 | 2016-02-16 01:37:16 +0530 | [diff] [blame] | 252 | */ |
Bharat saraswal | 9745996 | 2016-02-20 21:57:16 +0530 | [diff] [blame] | 253 | @Override |
Vinod Kumar S | 5a39e01 | 2016-02-16 01:37:16 +0530 | [diff] [blame] | 254 | public YangStatusType getStatus() { |
| 255 | return status; |
| 256 | } |
| 257 | |
| 258 | /** |
| 259 | * Set the status. |
| 260 | * |
Gaurav Agrawal | db828bd | 2016-02-27 03:57:50 +0530 | [diff] [blame] | 261 | * @param status the status to set |
Vinod Kumar S | 5a39e01 | 2016-02-16 01:37:16 +0530 | [diff] [blame] | 262 | */ |
Bharat saraswal | 9745996 | 2016-02-20 21:57:16 +0530 | [diff] [blame] | 263 | @Override |
Vinod Kumar S | 5a39e01 | 2016-02-16 01:37:16 +0530 | [diff] [blame] | 264 | public void setStatus(YangStatusType status) { |
| 265 | this.status = status; |
| 266 | } |
| 267 | |
| 268 | /** |
| 269 | * Returns the type of the data as belongs-to. |
| 270 | * |
Gaurav Agrawal | db828bd | 2016-02-27 03:57:50 +0530 | [diff] [blame] | 271 | * @return returns AUGMENT_DATA |
Vinod Kumar S | 5a39e01 | 2016-02-16 01:37:16 +0530 | [diff] [blame] | 272 | */ |
Bharat saraswal | 9745996 | 2016-02-20 21:57:16 +0530 | [diff] [blame] | 273 | @Override |
Gaurav Agrawal | db828bd | 2016-02-27 03:57:50 +0530 | [diff] [blame] | 274 | public YangConstructType getYangConstructType() { |
| 275 | return YangConstructType.AUGMENT_DATA; |
Vinod Kumar S | 5a39e01 | 2016-02-16 01:37:16 +0530 | [diff] [blame] | 276 | } |
| 277 | |
| 278 | /** |
| 279 | * Validate the data on entering the corresponding parse tree node. |
| 280 | * |
Gaurav Agrawal | db828bd | 2016-02-27 03:57:50 +0530 | [diff] [blame] | 281 | * @throws DataModelException a violation of data model rules |
Vinod Kumar S | 5a39e01 | 2016-02-16 01:37:16 +0530 | [diff] [blame] | 282 | */ |
Bharat saraswal | 9745996 | 2016-02-20 21:57:16 +0530 | [diff] [blame] | 283 | @Override |
Vinod Kumar S | 5a39e01 | 2016-02-16 01:37:16 +0530 | [diff] [blame] | 284 | public void validateDataOnEntry() throws DataModelException { |
| 285 | // TODO auto-generated method stub, to be implemented by parser |
| 286 | } |
| 287 | |
| 288 | /** |
| 289 | * Validate the data on exiting the corresponding parse tree node. |
| 290 | * |
Gaurav Agrawal | db828bd | 2016-02-27 03:57:50 +0530 | [diff] [blame] | 291 | * @throws DataModelException a violation of data model rules |
Vinod Kumar S | 5a39e01 | 2016-02-16 01:37:16 +0530 | [diff] [blame] | 292 | */ |
Bharat saraswal | 9745996 | 2016-02-20 21:57:16 +0530 | [diff] [blame] | 293 | @Override |
Vinod Kumar S | 5a39e01 | 2016-02-16 01:37:16 +0530 | [diff] [blame] | 294 | public void validateDataOnExit() throws DataModelException { |
| 295 | // TODO auto-generated method stub, to be implemented by parser |
| 296 | } |
| 297 | |
Vinod Kumar S | c26bf19 | 2016-02-23 22:36:57 +0530 | [diff] [blame] | 298 | /** |
| 299 | * Get the target nodes name where the augmentation is being done. |
| 300 | * |
Gaurav Agrawal | db828bd | 2016-02-27 03:57:50 +0530 | [diff] [blame] | 301 | * @return target nodes name where the augmentation is being done |
Vinod Kumar S | 5a39e01 | 2016-02-16 01:37:16 +0530 | [diff] [blame] | 302 | */ |
| 303 | @Override |
| 304 | public String getName() { |
Vinod Kumar S | c26bf19 | 2016-02-23 22:36:57 +0530 | [diff] [blame] | 305 | return targetNode; |
Vinod Kumar S | 5a39e01 | 2016-02-16 01:37:16 +0530 | [diff] [blame] | 306 | } |
| 307 | |
Vinod Kumar S | c26bf19 | 2016-02-23 22:36:57 +0530 | [diff] [blame] | 308 | /** |
| 309 | * Set the target nodes name where the augmentation is being done. |
| 310 | * |
Gaurav Agrawal | db828bd | 2016-02-27 03:57:50 +0530 | [diff] [blame] | 311 | * @param name target nodes name where the augmentation is being done |
Vinod Kumar S | 5a39e01 | 2016-02-16 01:37:16 +0530 | [diff] [blame] | 312 | */ |
| 313 | @Override |
| 314 | public void setName(String name) { |
Vinod Kumar S | c26bf19 | 2016-02-23 22:36:57 +0530 | [diff] [blame] | 315 | targetNode = name; |
Vinod Kumar S | 5a39e01 | 2016-02-16 01:37:16 +0530 | [diff] [blame] | 316 | |
| 317 | } |
| 318 | |
Vinod Kumar S | c26bf19 | 2016-02-23 22:36:57 +0530 | [diff] [blame] | 319 | /** |
| 320 | * Get the mapped java package. |
| 321 | * |
| 322 | * @return the java package |
Vinod Kumar S | 5a39e01 | 2016-02-16 01:37:16 +0530 | [diff] [blame] | 323 | */ |
| 324 | @Override |
| 325 | public String getPackage() { |
Vinod Kumar S | c26bf19 | 2016-02-23 22:36:57 +0530 | [diff] [blame] | 326 | return pkg; |
Vinod Kumar S | 5a39e01 | 2016-02-16 01:37:16 +0530 | [diff] [blame] | 327 | } |
| 328 | |
Vinod Kumar S | c26bf19 | 2016-02-23 22:36:57 +0530 | [diff] [blame] | 329 | /** |
| 330 | * Set the mapped java package. |
| 331 | * |
| 332 | * @param pakg the package to set |
Vinod Kumar S | 5a39e01 | 2016-02-16 01:37:16 +0530 | [diff] [blame] | 333 | */ |
| 334 | @Override |
Vinod Kumar S | c26bf19 | 2016-02-23 22:36:57 +0530 | [diff] [blame] | 335 | public void setPackage(String pakg) { |
| 336 | pkg = pakg; |
Vinod Kumar S | 5a39e01 | 2016-02-16 01:37:16 +0530 | [diff] [blame] | 337 | |
| 338 | } |
| 339 | |
Vinod Kumar S | c26bf19 | 2016-02-23 22:36:57 +0530 | [diff] [blame] | 340 | /** |
| 341 | * Prepare the information for java code generation corresponding to YANG |
| 342 | * grouping info. |
Vinod Kumar S | 5a39e01 | 2016-02-16 01:37:16 +0530 | [diff] [blame] | 343 | */ |
Bharat saraswal | 9745996 | 2016-02-20 21:57:16 +0530 | [diff] [blame] | 344 | @Override |
Vinod Kumar S | 5a39e01 | 2016-02-16 01:37:16 +0530 | [diff] [blame] | 345 | public void generateJavaCodeEntry() { |
| 346 | // TODO Auto-generated method stub |
| 347 | |
| 348 | } |
| 349 | |
Vinod Kumar S | c26bf19 | 2016-02-23 22:36:57 +0530 | [diff] [blame] | 350 | /** |
| 351 | * Create a java file using the YANG grouping info. |
Vinod Kumar S | 5a39e01 | 2016-02-16 01:37:16 +0530 | [diff] [blame] | 352 | */ |
Bharat saraswal | 9745996 | 2016-02-20 21:57:16 +0530 | [diff] [blame] | 353 | @Override |
Vinod Kumar S | 5a39e01 | 2016-02-16 01:37:16 +0530 | [diff] [blame] | 354 | public void generateJavaCodeExit() { |
| 355 | // TODO Auto-generated method stub |
| 356 | |
| 357 | } |
Bharat saraswal | 5e3c45c | 2016-02-22 22:15:21 +0530 | [diff] [blame] | 358 | |
| 359 | @Override |
| 360 | public CachedFileHandle getFileHandle() { |
| 361 | // TODO Auto-generated method stub |
| 362 | return null; |
| 363 | } |
| 364 | |
| 365 | @Override |
| 366 | public void setFileHandle(CachedFileHandle fileHandle) { |
| 367 | // TODO Auto-generated method stub |
| 368 | |
| 369 | } |
Vinod Kumar S | 5a39e01 | 2016-02-16 01:37:16 +0530 | [diff] [blame] | 370 | } |