Vidyashree Rama | a2f7398 | 2016-04-12 23:33:33 +0530 | [diff] [blame] | 1 | /* |
| 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 | */ |
Gaurav Agrawal | 95b416c | 2016-06-07 14:00:26 +0530 | [diff] [blame] | 16 | package org.onosproject.yangutils.datamodel.utils.builtindatatype; |
Vidyashree Rama | a2f7398 | 2016-04-12 23:33:33 +0530 | [diff] [blame] | 17 | |
Vidyashree Rama | a2f7398 | 2016-04-12 23:33:33 +0530 | [diff] [blame] | 18 | /** |
| 19 | * Represents the list of utility functions to be supported by YANG built in |
| 20 | * data type implementations. |
| 21 | * |
| 22 | * @param <T> The target data type |
| 23 | */ |
| 24 | public interface YangBuiltInDataTypeInfo<T> extends Comparable<T> { |
| 25 | |
| 26 | /** |
| 27 | * Returns the YANG built in type. |
| 28 | * |
| 29 | * @return the YANG built in type |
| 30 | */ |
| 31 | YangDataTypes getYangType(); |
| 32 | } |