Bug 1459-3 #2 - Re-organize mdsal-binding2-generator-api
[mdsal.git] / binding2 / mdsal-binding2-generator-api / src / main / java / org / opendaylight / mdsal / binding / javav2 / model / api / BaseTypeWithRestrictions.java
1 /*
2  * Copyright (c) 2017 Cisco Systems, Inc. and others.  All rights reserved.
3  *
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
7  */
8
9 package org.opendaylight.mdsal.binding.javav2.model.api;
10
11 import com.google.common.annotations.Beta;
12
13 /**
14  * The BaseTypeWithRestrictions is marker interface that encapsulates definition of java
15  * concrete type only with changed restriction values.
16  */
17 @Beta
18 public interface BaseTypeWithRestrictions extends ConcreteType {
19
20     /**
21      * @return changed restriction values
22      */
23     Restrictions getRestrictions();
24 }