BUG-865: Deprecate ExtendedType 36/27836/2
authorRobert Varga <rovarga@cisco.com>
Fri, 2 Oct 2015 11:33:25 +0000 (13:33 +0200)
committerRobert Varga <rovarga@cisco.com>
Fri, 2 Oct 2015 17:21:09 +0000 (19:21 +0200)
This thing has been replaced with the more semantically correct (and
less confusing) DerivedType.

Change-Id: I4491a9c47f43b18a7d4d8a7edc08e201856ec7cc
Signed-off-by: Robert Varga <rovarga@cisco.com>
yang/yang-model-util/src/main/java/org/opendaylight/yangtools/yang/model/util/ExtendedType.java

index 875f463a8f0826f5e29f93cb43b6175fb22b43d3..2099eb2e13ae9f3ef46079e9bd2d2a895694587c 100644 (file)
@@ -19,6 +19,7 @@ import org.opendaylight.yangtools.yang.model.api.UnknownSchemaNode;
 import org.opendaylight.yangtools.yang.model.api.type.LengthConstraint;
 import org.opendaylight.yangtools.yang.model.api.type.PatternConstraint;
 import org.opendaylight.yangtools.yang.model.api.type.RangeConstraint;
+
 /**
  * Extended Type represents YANG type derived from other type.
  *
@@ -27,7 +28,9 @@ import org.opendaylight.yangtools.yang.model.api.type.RangeConstraint;
  * may define additional constraints, modify description or reference
  * of parent type or provide new type capture for specific use-cases.
  *
+ * @deprecated Use of this class is deprecated, use {@link DerivedType} instead.
  */
+@Deprecated
 public class ExtendedType implements TypeDefinition<TypeDefinition<?>> {
 
     private final QName typeName;