2 * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
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
8 package org.opendaylight.yangtools.yang.parser.builder.api;
10 import org.opendaylight.yangtools.yang.model.api.AugmentationSchema;
11 import org.opendaylight.yangtools.yang.model.api.SchemaPath;
12 import org.opendaylight.yangtools.yang.model.api.Status;
15 * Interface for builders of 'augment' statement.
17 public interface AugmentationSchemaBuilder extends DataNodeContainerBuilder {
19 String getWhenCondition();
21 void addWhenCondition(String whenCondition);
23 void setDescription(String description);
25 void setReference(String reference);
27 void setStatus(Status status);
29 String getTargetPathAsString();
31 SchemaPath getTargetPath();
33 void setTargetPath(SchemaPath path);
35 AugmentationSchema build();
39 void setResolved(boolean resolved);