tuscany-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ramya r <ramya...@yahoo.com>
Subject SDO 2.0 - Property Interface
Date Thu, 10 Aug 2006 12:47:58 GMT
  I have  ben trying to use SDO 2.0 implementation to transform an XML file into a DataGraph.
  But on examinig the files, i find that the DataObjectUtil Class 
  public static Property getProperty(DataObject dataObject, int propertyIndex)
    List typeProperties = dataObject.getType().getProperties();
    Property property = propertyIndex < typeProperties.size() ?
        (Property)typeProperties.get(propertyIndex) :
    //FB maybe should catch bad index exception and throw IllegalArgumentException?
    return property;
  the follwing method calls the getInstanceProperties() of the Property in the commonj.sdo
  But the Property Class found in this package has no such method.
  Its only the Property Model Class interface that has such a method.
  Any help?
  Thanks in advance

Get your email and more, right on the  new Yahoo.com 
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message