Hello there,

what is the best way (in Tuscany SDO) to check whether a given XPath expression 
identifies a property defined on an SDO type (only the type, not a concrete 
SDO)?

For simple property names, I can do
  commonj.sdo.Type sdoType = ...;
  boolean hasField = (sdoType.getProperty(propname) != null);

But what if I have an XPath expression like e. g. “price/priceVaT” ? Is there a 
helper 
that will let me check this, or do I have to parse the XPath expression myself?

-- Sebastian

Reply via email to