Quick question on setAttributeValue()

Hi all
I have a small question
on the http://jianmingli.com/wp/?p=2425 page, I saw that setAttributeValue() has no input parameters, but it is said in the document A Standard & Data Access Facility for J2EE data binding:
"setAttributeValue(), which accepts an AttributeContext and an object. To change an attribute value, for a scalar attribute or a collection of scalar attributes
the DBF must pass the appropriate AttributeContext, more the scalar value or Collection new or modified, in the setAttributeValue() method. ', Sorry if my integral is not the best one, but this method requires two parameters AttributeContext and object or the AttributeContext and the collection object as parameters. So why dose this method like setAttributeValue() and does not look setAttributeValue (AttributeContext ctx, object ob)?
?

It is either a mistake in the documents or they simply use setAttributeValue() as a shortcut and not the signature of the current method. If you look at the [url http://download.oracle.com/docs/cd/E16162_01/apirefs.1112/e17483/oracle/binding/UpdateableDataControl.html] javadoc for the UpdatableDataControl, it is clear that it takes 2 parameters, and yet, he has No feel semantics for a Set accessor that takes no parameters.

John

Tags: Java

Similar Questions

Maybe you are looking for

  • Rental movies keep disappearing! Frustrating!

    I rent a movie to watch later! (example 1): I'm going tonight and it's there, but I want to watch it later and he says I "29" left! and the next day he disappeared. (example 2): in "my movies", it shows a rental, but there is nothing in there! (examp

  • Lenovo G505s does not connect to WiFi. Help required

    I got a Lenovo G505s laptop for my Christmas and the WiFi worked perfectly at first at home, then I went to my aunt for Christmas together and my phone worked perfectly with its WiFi too. My brother advised me to remove a bunch of the start up progra

  • WMP visualizations do not work even after reinstalling WMP11

    I had to replace the disc my laptop Acer Aspire 6920 a TOUGH couple of years and the technician at Staples [where I bought original] was not able to get the Vista Acer's OEM software and since the hidden partition has been lost on the original HARD d

  • Vista seems to be corrupt JPEG files which XP was ok with

    JPEG files which I have kept for many years and transferred on CD have been very well until I changed from XP to Vista a few years previously. My work with videos and still images has been very well with Vista t but glancing back older jpegs, I find

  • BOOTMGR is missing at startup

    When I start my pc it says bootmgr is missing, press ctrl + alt + delete. The next thing I did was use my vista repair disc, when clicked Next it brings me to the recovery options to select my drive and click on next, but my drive does not appear. Wh