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.
15 * @deprecated Pre-Beryllium implementation, scheduled for removal.
18 public interface DocumentedNodeBuilder {
21 * Returns description of resulting schema node
22 * as was defined by description statement.
24 * @return description statement
26 String getDescription();
29 * Set description to this node.
31 * @param description description of this node
33 void setDescription(String description);
36 * Get reference of this node.
38 * @return reference statement
40 String getReference();
43 * Set reference to this node.
45 * @param reference reference to this node
47 void setReference(String reference);
50 * Get status of this node.
52 * @return status statement
57 * Set status to this node.
59 * @param status status of this node
61 void setStatus(Status status);