blob: 484aec19d34b8620037b0125d6082e0c8bb3075b [file] [log] [blame]
rama-huawei6c728a92016-07-11 14:48:12 +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.datamodel;
18
19/**
20 * Represents data model node to maintain YANG app error message information.
21 */
22public interface YangAppErrorHolder {
23
24 /**
25 * Sets the application's error information.
26 *
27 * @param yangAppErrorInfo the application's error information
28 */
29 void setAppErrorInfo(YangAppErrorInfo yangAppErrorInfo);
30
31 /**
32 * Returns application's error information.
33 *
34 * @return application's error information
35 */
36 YangAppErrorInfo getAppErrorInfo();
37
38}