karishma-tirthani / odata4j

Automatically exported from code.google.com/p/odata4j
0 stars 0 forks source link

org.odata4j.edm.EdmItem.BuilderContext should be public #115

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. I'm trying to add service operations (functionImports) to an existing 
EdmEntityContainer.
2. The public method EdmEntityContainer.newBuilder(container, builderContext) 
seems like the intended way to do that.
3. But BuilderContext is package scoped in EdmItem, thereby making 
EdmEntityContainer visible but uncallable.

What is the expected output? What do you see instead?
I'm unable to add functionImports to an EdmEntityContainer.

What version of the product are you using? On what operating system?
0.5

Please provide any additional information below.

Original issue reported on code.google.com by zenani...@gmail.com on 10 Jan 2012 at 6:18

GoogleCodeExporter commented 8 years ago
If you have an existing EdmDataServices.Builder, you can locate the container 
builder from there.

The builder overloads with contexts are not meant to be visible.  I'll make 
them package-private to cause less confusion.

Original comment by john.spurlock on 15 Jan 2012 at 11:09

GoogleCodeExporter commented 8 years ago
This issue was closed by revision 1ee2154f765e.

Original comment by john.spurlock on 15 Jan 2012 at 11:12