Promote SchemaSourceRepresentation
[yangtools.git] / yang / yang-repo-api / src / main / java / org / opendaylight / yangtools / yang / model / repo / api / SchemaRepository.java
index bb76e885e9f0ae0515cc5f59a78a6c77a0e463b3..9250a4344023fd4b011ba8e5bfa29a29b151668a 100644 (file)
@@ -11,6 +11,8 @@ import com.google.common.annotations.Beta;
 import com.google.common.util.concurrent.ListenableFuture;
 import org.eclipse.jdt.annotation.NonNull;
 import org.opendaylight.yangtools.yang.model.api.EffectiveModelContext;
+import org.opendaylight.yangtools.yang.model.api.source.SourceIdentifier;
+import org.opendaylight.yangtools.yang.model.api.source.SourceRepresentation;
 
 /**
  * Interface exposed by repository implementations. A schema repository is a logically centralized place for model
@@ -36,6 +38,6 @@ public interface SchemaRepository {
         return createEffectiveModelContextFactory(SchemaContextFactoryConfiguration.getDefault());
     }
 
-    <T extends SchemaSourceRepresentation> @NonNull ListenableFuture<T> getSchemaSource(@NonNull SourceIdentifier id,
+    <T extends SourceRepresentation> @NonNull ListenableFuture<T> getSchemaSource(@NonNull SourceIdentifier id,
             @NonNull Class<T> represetation);
 }