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.model.api;
11 * Contains methods which retrieve values for description, error message, error
12 * app tag and reference (to other document).
15 public interface ConstraintMetaDefinition {
18 * Returns the value of the argument of YANG <code>description</code>
21 * @return string with the description
23 String getDescription();
26 * Returns the value of the argument of YANG <code>error-app-tag</code>
29 * @return string with the application tag
31 String getErrorAppTag();
34 * Returns the value of the argument of YANG <code>error-message</code>
37 * @return string with the error message
39 String getErrorMessage();
42 * Returns the value of the argument of YANG <code>reference</code> keyword.
44 * @return string with reference to some other document
46 String getReference();