2 * Copyright (c) 2014 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.Status;
13 * Mixin-style builder interfac for nodes, which may have documentation attached.
16 public interface DocumentedNodeBuilder {
19 * Returns description of resulting schema node
20 * as was defined by description statement.
22 * @return description statement
24 String getDescription();
27 * Set description to this node.
31 void setDescription(String description);
34 * Get reference of this node.
36 * @return reference statement
38 String getReference();
41 * Set reference to this node.
45 void setReference(String reference);
48 * Get status of this node.
50 * @return status statement
55 * Set status to this node.
59 void setStatus(Status status);