Hi,
I've been looking at the SDO Specification
and Javadocs trying to figure out how to get a dataobject's
path (Relative to it's root).
Something like:
String path = DataGraph.getPath(dataObject);
Which would return something like:
//company/employees[2]/
Thoughts?
Thanks,
- Ole
You'd need to ascend the hierarchy with DataObject.getContainer() until you
reach the root (null return), and assemble the path string.
Regards, Kelvin.
On 17/04/07, Ole Ersoy [EMAIL PROTECTED] wrote:
Hi,
I've been looking at the SDO Specification
and Javadocs trying to figure out how to
P.S. DataObject.getContainmentProperty() would give the path elements.
On 17/04/07, Ole Ersoy [EMAIL PROTECTED] wrote:
Hi,
I've been looking at the SDO Specification
and Javadocs trying to figure out how to get a dataobject's
path (Relative to it's root).
Something like:
String path =
@ws.apache.org
cc
Subject
[XPATH] Getting a DataObject's Path?
Hi,
I've been looking at the SDO Specification
and Javadocs trying to figure out how to get a dataobject's
path (Relative to it's root).
Something like:
String path = DataGraph.getPath(dataObject);
Which would return something
Ersoy [EMAIL PROTECTED]
04/17/2007 02:50 PM
Please respond to
tuscany-dev@ws.apache.org
To
tuscany-dev@ws.apache.org
cc
Subject
[XPATH] Getting a DataObject's Path?
Hi,
I've been looking at the SDO Specification
and Javadocs trying to figure out how to get a dataobject's
path (Relative