X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fsal%2Fyang-prototype%2Fyang%2Fyang-model-api%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fmodel%2Fapi%2Ftype%2FRangeConstraint.java;fp=opendaylight%2Fsal%2Fyang-prototype%2Fyang%2Fyang-model-api%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fmodel%2Fapi%2Ftype%2FRangeConstraint.java;h=0000000000000000000000000000000000000000;hb=4ce0f6630bc576b97c8c9a08848aafb6e90a75b0;hp=12fbb1bcd5728e3ee96b53fdaaa7a6c0384eac98;hpb=c8b79431119d6952b60a092e89727aa648a89bdd;p=controller.git
diff --git a/opendaylight/sal/yang-prototype/yang/yang-model-api/src/main/java/org/opendaylight/controller/model/api/type/RangeConstraint.java b/opendaylight/sal/yang-prototype/yang/yang-model-api/src/main/java/org/opendaylight/controller/model/api/type/RangeConstraint.java
deleted file mode 100644
index 12fbb1bcd5..0000000000
--- a/opendaylight/sal/yang-prototype/yang/yang-model-api/src/main/java/org/opendaylight/controller/model/api/type/RangeConstraint.java
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
- * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-package org.opendaylight.controller.model.api.type;
-
-import org.opendaylight.controller.yang.model.api.ConstraintMetaDefinition;
-
-/**
- * The Range Constraint interface is used to restrict integer and decimal
- * built-in types, or types derived from those.
- *
- * A range consists of an explicit value consists of an explicit value, or a lower bound
- * returned by {@link #getMin()} and an upper bound returned by
- * {@link #getMax()}.
- *
- * Each explicit value and range boundary value given in
- * the range expression MUST match the type being restricted, or be one of the
- * special values "min" or "max". "min" and "max" mean the minimum and maximum
- * value accepted for the type being restricted, respectively
- *
- *
- * This interface was modeled according to definition in [RFC-6020] The
- * range Statement.
- */
-public interface RangeConstraint extends ConstraintMetaDefinition {
-
- /**
- * Returns the length-restricting lower bound value.
- *
- * @return the length-restricting lower bound value.
- */
- Number getMin();
-
- /**
- * Returns the length-restricting upper bound value.
- *
- * @return the length-restricting upper bound value.
- */
- Number getMax();
-}