76fe19f79413e180aa1b25d6bd1d0c71eb13fd61
[controller.git] / opendaylight / sal / yang-prototype / code-generator / yang-model-parser-impl / src / main / java / org / opendaylight / controller / yang / parser / builder / api / AugmentationSchemaBuilder.java
1 /*
2  * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8 package org.opendaylight.controller.yang.parser.builder.api;
9
10 import org.opendaylight.controller.yang.model.api.AugmentationSchema;
11 import org.opendaylight.controller.yang.model.api.SchemaPath;
12 import org.opendaylight.controller.yang.model.api.Status;
13
14 /**
15  * Interface for builders of 'augment' statement.
16  */
17 public interface AugmentationSchemaBuilder extends DataNodeContainerBuilder {
18
19     Builder getParent();
20
21     String getWhenCondition();
22
23     void addWhenCondition(String whenCondition);
24
25     void setDescription(String description);
26
27     void setReference(String reference);
28
29     void setStatus(Status status);
30
31     String getTargetPathAsString();
32
33     SchemaPath getTargetPath();
34
35     void setTargetPath(SchemaPath path);
36
37     AugmentationSchema build();
38
39     boolean isResolved();
40
41     void setResolved(boolean resolved);
42
43 }