X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=opendaylight%2Fsal%2Fyang-prototype%2Fyang%2Fyang-model-api%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fyang%2Fmodel%2Fapi%2Ftype%2FLengthConstraint.java;fp=opendaylight%2Fsal%2Fyang-prototype%2Fyang%2Fyang-model-api%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fmodel%2Fapi%2Ftype%2FLengthConstraint.java;h=2db9e8a1582b33e4743382f396f03d567fc1c6b1;hb=4ce0f6630bc576b97c8c9a08848aafb6e90a75b0;hp=97f4448f57cde5c347616aa90afd88342bd32139;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/LengthConstraint.java b/opendaylight/sal/yang-prototype/yang/yang-model-api/src/main/java/org/opendaylight/controller/yang/model/api/type/LengthConstraint.java
similarity index 94%
rename from opendaylight/sal/yang-prototype/yang/yang-model-api/src/main/java/org/opendaylight/controller/model/api/type/LengthConstraint.java
rename to opendaylight/sal/yang-prototype/yang/yang-model-api/src/main/java/org/opendaylight/controller/yang/model/api/type/LengthConstraint.java
index 97f4448f57..2db9e8a158 100644
--- a/opendaylight/sal/yang-prototype/yang/yang-model-api/src/main/java/org/opendaylight/controller/model/api/type/LengthConstraint.java
+++ b/opendaylight/sal/yang-prototype/yang/yang-model-api/src/main/java/org/opendaylight/controller/yang/model/api/type/LengthConstraint.java
@@ -1,50 +1,50 @@
-/*
- * 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 Lenght Constraint value consists of an explicit value, or a lower bound
- * returned by {@link #getMin()} and an upper bound returned by
- * {@link #getMax()}.
- *
- * Length-restricting values MUST NOT be negative. A length value is a
- * non-negative integer, or one of the special values min
or
- * max
. The defined min
and max
mean the
- * minimum and maximum length accepted for the type being restricted,
- * respectively.
- * An implementation is not required to support a length value larger than
- * {@link Long#MAX_VALUE}
- *
- * The interface extends definitions from {@link ConstraintMetaDefinition}
- *
- * This interface was modeled according to definition in [RFC-6020] The
- * length Statement.
- *
- * @see ConstraintMetaDefinition
- */
-public interface LengthConstraint extends ConstraintMetaDefinition {
-
- /**
- * Returns the length-restricting lower bound value.
- * The value MUST NOT be negative.
- *
- * @return the length-restricting lower bound value.
- */
- Long getMin();
-
- /**
- * Returns the length-restricting upper bound value.
- * The value MUST NOT be negative.
- *
- * @return length-restricting upper bound value.
- */
- Long getMax();
-}
+/*
+ * 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.yang.model.api.type;
+
+import org.opendaylight.controller.yang.model.api.ConstraintMetaDefinition;
+
+/**
+ * The Lenght Constraint value consists of an explicit value, or a lower bound
+ * returned by {@link #getMin()} and an upper bound returned by
+ * {@link #getMax()}.
+ *
+ * Length-restricting values MUST NOT be negative. A length value is a
+ * non-negative integer, or one of the special values min
or
+ * max
. The defined min
and max
mean the
+ * minimum and maximum length accepted for the type being restricted,
+ * respectively.
+ * An implementation is not required to support a length value larger than
+ * {@link Long#MAX_VALUE}
+ *
+ * The interface extends definitions from {@link ConstraintMetaDefinition}
+ *
+ * This interface was modeled according to definition in [RFC-6020] The
+ * length Statement.
+ *
+ * @see ConstraintMetaDefinition
+ */
+public interface LengthConstraint extends ConstraintMetaDefinition {
+
+ /**
+ * Returns the length-restricting lower bound value.
+ * The value MUST NOT be negative.
+ *
+ * @return the length-restricting lower bound value.
+ */
+ Long getMin();
+
+ /**
+ * Returns the length-restricting upper bound value.
+ * The value MUST NOT be negative.
+ *
+ * @return length-restricting upper bound value.
+ */
+ Long getMax();
+}