This method requires implementation to provide YANG text, which is not
always available. SchemaRepository provides the right abstractions for
acquiring the source in the required representation.
Change-Id: Ib769948e3fefc4f1a086f3620a7326fb076f7f95
Signed-off-by: Robert Varga <robert.varga@pantheon.sk>
import java.util.List;
import java.util.Set;
import java.util.List;
import java.util.Set;
+import javax.annotation.Nullable;
import javax.annotation.concurrent.Immutable;
/**
import javax.annotation.concurrent.Immutable;
/**
List<UnknownSchemaNode> getUnknownSchemaNodes();
/**
List<UnknownSchemaNode> getUnknownSchemaNodes();
/**
+ * Get YANG source.
+ *
+ * @return YANG text of this module, or null if the source is not available.
+ * @deprecated Use {@link org.opendaylight.yangtools.yang.model.repo.api.SchemaRepository#getSchemaSource(org.opendaylight.yangtools.yang.model.repo.api.SourceIdentifier, Class)}
+ * instead.
+ @Deprecated
+ @Nullable String getSource();