OLINGO-880: making few methods from package protected to protected so that derived classes can extend/use the API
This commit is contained in:
parent
389975c8fb
commit
860d418fdf
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue