On 07/04/2014 09:24, Francesco Chicchiriccò wrote:
Hi all,
as part of OLINGO-234 I am now considering some scenarios where action
and / or functions are overloaded.
I have just noticed that the EdmEntityContainer container has the
following two methods:
EdmActionImport getActionImport(String name);
EdmFunctionImport getFunctionImport(String name);
I would have expected, though, something like as
List<EdmActionImport> getActionImport(String name);
List<EdmFunctionImport> getFunctionImport(String name);
Am I wrong?
I have also just noticed that both EdmActionImport and EdmFunctionImport
have methods like as getUnboundFunction() / getUnboundAction() -
getBoundFunction() / getBoundAction() (they actually used to have plain
getAction() / getFunction()): this suggests that from a single
ActionImport / FunctionImport one can get to all actions / functions
with given name.
Isn't there a way to bound an ActionImport / FunctionImport to a single
Action / Function?
--
Francesco Chicchiriccò
Tirasa - Open Source Excellence
http://www.tirasa.net/
Involved at The Apache Software Foundation:
member, Syncope PMC chair, Cocoon PMC, Olingo PMC
http://people.apache.org/~ilgrosso/