OLINGO-880: making few methods from package protected to protected so that derived classes can extend/use the API

This commit is contained in:
Ramesh Reddy 2016-03-16 08:22:48 -05:00
parent 389975c8fb
commit 860d418fdf
1 changed files with 4 additions and 4 deletions

View File

@ -53,7 +53,7 @@ public class SchemaBasedEdmProvider implements CsdlEdmProvider {
private final Map<String, SchemaBasedEdmProvider> coreVocabularySchemas =
new ConcurrentHashMap<String, SchemaBasedEdmProvider>();
void addSchema(CsdlSchema schema) {
protected void addSchema(CsdlSchema schema) {
this.edmSchemas.add(schema);
}
@ -61,15 +61,15 @@ public class SchemaBasedEdmProvider implements CsdlEdmProvider {
return new ArrayList<EdmxReference>(references.values());
}
void addReferenceSchema(String ns, SchemaBasedEdmProvider provider) {
protected void addReferenceSchema(String ns, SchemaBasedEdmProvider provider) {
this.referenceSchemas.put(ns, provider);
}
void addVocabularySchema(String ns, SchemaBasedEdmProvider provider) {
protected void addVocabularySchema(String ns, SchemaBasedEdmProvider provider) {
this.coreVocabularySchemas.put(ns, provider);
}
void addReference(EdmxReference reference) {
protected void addReference(EdmxReference reference) {
for (EdmxReferenceInclude include : reference.getIncludes()) {
this.references.put(include.getNamespace(), reference);
}