Seal more Binding contracts
[mdsal.git] / binding / yang-binding / src / main / java / org / opendaylight / yangtools / yang / binding / ScalarTypeObject.java
index 8347e7af70ab3341799221231ee630ac49c1335e..971c887317fe8297962b99e8902f185c338ac133 100644 (file)
@@ -8,18 +8,12 @@
 package org.opendaylight.yangtools.yang.binding;
 
 import com.google.common.annotations.Beta;
-import org.eclipse.jdt.annotation.NonNull;
 
 /**
  * A {@link TypeObject} that encapsulates an immutable native type. These are generated as YANG Binding type captures,
  * such as those implied by {@code typedef} and parameterized {@code type} statements.
  */
 @Beta
-public interface ScalarTypeObject<T> extends TypeObject {
-    /**
-     * Return encapsulated value.
-     *
-     * @return Encapsulated value.
-     */
-    @NonNull T getValue();
+public non-sealed interface ScalarTypeObject<T> extends TypeObject, ValueAware<T> {
+
 }