blob: 437fe0fdffaf56341c2bbbcb092cde9251f20068 [file] [log] [blame]
Vidyashree Ramaa2f73982016-04-12 23:33:33 +05301/*
2 * Copyright 2016 Open Networking Laboratory
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16package org.onosproject.yangutils.utils.builtindatatype;
17
18import org.onosproject.yangutils.datamodel.YangDataTypes;
19
20/**
21 * Represents the list of utility functions to be supported by YANG built in
22 * data type implementations.
23 *
24 * @param <T> The target data type
25 */
26public interface YangBuiltInDataTypeInfo<T> extends Comparable<T> {
27
28 /**
29 * Returns the YANG built in type.
30 *
31 * @return the YANG built in type
32 */
33 YangDataTypes getYangType();
34}