[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: [sdo] [SDO-12]: Handling of Unstructured Text
Ron Barack: The methods in Sequence dealing with unstructured text are also problematic. Sequence.add(int,String) and Sequence.add(int,Object) are "overloaded" but the functions they perform have nothing to do with each other. Sequence.add(int,String) is defined as "Adds a new entry with the SDO text Property", presumably, this throws an exception if the "text" property is not defined on the object, and Sequence.add(int,Object) "Adds a new entry with the specified property index and value to the end of the entries." Whenever the user wants to call Sequence.add(int,Object) with an object that happens to be declared as a String, he will probably get the wrong method. Steve Brodsky: The TextType is a special Type with property "text" for holding the mixed text - its not just any property but a special one. Resolution: add an example program to read the Java text to the example that uses this property. Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it.
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]